OpenTelemetry Only Emit traces when service restarted #6594
-
Below is my Otel implementation to instantiate the OpenTelemetry SDKs for Metrics & Traces. I found that Any suggestions what I'm missing here?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
that does sound strange. the default trace export interval is 5 seconds (or sooner if the batch limit is hit). can you provide a small working repro showing the behavior? |
Beta Was this translation helpful? Give feedback.
-
Hey Gentleman, We have our home-grown instrumentation framework where I was registering We have handled the situation and it is working fine now.
|
Beta Was this translation helpful? Give feedback.
Hey Gentleman,
We have our home-grown instrumentation framework where I was registering
tracer
instance to static context. This framework works well with running spring-boot based services but in this case where we load classes on-demand thetracer
instance were needed to be passed for each request.We have handled the situation and it is working fine now.