© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Missing an Effect.withSpan in the telemetry trace when nested in RequestResolver and a Layer - Effect Community
EC
Effect Community
•
2y ago
•
4 replies
ferossgp
Missing an Effect.withSpan in the telemetry trace when nested in RequestResolver and a Layer
I
'm currently learning how to use telemetry with effect
, and I noticed that one of my
Layer
Layer
that uses
RequestResolver
RequestResolver
does not show spans inside the request resolver as a part of the same trace
.
I
'm assuming I misconfigured some context
/scope but could not figure out based on the documentation what I
'm missing
.
I
've created this one file example that replicates this behavior
https://gist.github.com/Ferossgp/168cd9bbe0db6bfafc94b198c9c38021
The span that is missing
ThisSpanIsMissingInTrace
ThisSpanIsMissingInTrace
I would appreciate if someone could point me to what I
'm missing
.
Thank you
!
Gist
debug.ts
GitHub Gist
: instantly share code
, notes
, and snippets
.
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
What is Layer.withSpan?
EC
Effect Community / help-forum
15mo ago
TS4020 errors when using Effect.Service and nested imports
EC
Effect Community / help-forum
14mo ago
Attaching Effect OpenTelemetry to the existing NextJS telemetry
EC
Effect Community / help-forum
15mo ago
Nested Effect resolution
EC
Effect Community / help-forum
3y ago