Effect Trace ID Inquiry
so in t3.chat, I presume effect is being used and some sort of external OTEL is used for fetching logs with a trace ID.
I am attempting something similar in a NestJS app, just that I want to return a response to the user with the traceId so when the user get's the feedback, I can also use the traceId to find the detailed logs.
here's a sample UserService. I would appreciate any help
Solution:Jump to solution
solved with this implementation, thank you!
```ts
import { Injectable } from '@nestjs/common';
import { Tracer } from '@effect/opentelemetry';...
4 Replies
@Dom @Ben Davis @markr I would appreciate if you could help me out here, sorry for the ping
Effect Documentation
Tracing in Effect
Explore tracing in distributed systems to track request lifecycles across services using spans and traces for debugging and performance optimization.
@markr I have this configured, problem is accessing the traceId when throwing the exception
Solution
solved with this implementation, thank you!