Replies: 1 comment 5 replies
-
when you make this call: |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
TL;DR: Using auto-instrumented (Java Agent) Spring I want to schedule a job from (
BusinessLogicService
) which is afterwards processed at an undefined point of time in an asynchronous manner in (CustomJobScheduler
).The two spans involved can be correlated using
correlationId
.My approach:
But I don't see any baggage data in my Jaeger Frontend. What am I missing here?
I've had a deep dive through the documentation - that's how I found the
OpenTelemetry.get()
approach.Long Version:
Project is using java agent instrumentation. In addition to that I added
opentelemetry-sdk
,opentelemetry-sdk-trace
,opentelemetry-exporter-otlp
,opentelemetry-sdk-logs
,opentelemetry-api-logs
,opentelemetry-sdk-metrics
,opentelemetry-sdk-trace
,opentelemetry-sdk-extension-autoconfigure
to my pom.xml.A configuration class was added with the following bean definitions:
Finally the code below is applied to
BusinessLogicService
andCustomJobScheduler
.My approach:
One more question: Is there any way to configure the automatic span configuration to add more intermediate spans?
Thanks for your time! I appreciate any hints/tips which help me as a first-time OTEL user.
Beta Was this translation helpful? Give feedback.
All reactions