H
Hono•3w ago
mael

Tracing and opentelemetry

Hi! The Hono doc with Pino integration suggests setting a requestId or reqId field on the logger to do tracing. Is that the same as the HyperDx / opentelemetry "trace_id" field? Or is that different? should both be using the same value / field? how do you recommend setting hono+pino+otel observation?
3 Replies
Flipvh
Flipvh•3w ago
Hi @mael great to see you here! You worked it out yourself? I am interested to hear what you came up with, cause we also need to work on this more
mael
maelOP•3w ago
Hey Flip! I think actually that trace_id and requestId are supposed to be different, since the trace could also span more microservices, etc, which outlast the request, so I keep those in two different fields for now
Flipvh
Flipvh•3w ago
makes sense @mael, let me know if you have some of this open sourced 😄

Did you find this page helpful?