Replies: 2 comments 2 replies
-
Can you share the exact code you tried so we can check what was missing? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Would https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.activity.traceidgenerator |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm looking for a way to customize generation of open telemetry trace id. This is part of how I'm initializing the tracer in the Startup.cs.
services.AddOpenTelemetryTracing(tracingBuilder =>
tracingBuilder
.AddSource(TracingConstants.ServiceName)
.AddAspNetCoreInstrumentation());
I tried using something like .SetIdGenerator(customIDGenerator); but couldn't do it.
these are the nuget versions im using:
"OpenTelemetry" Version="[1.2.0-rc3]"
"OpenTelemetry.Api" Version="[1.2.0-rc3]"
Beta Was this translation helpful? Give feedback.
All reactions