Skip to content

SamplingParameters doesn't have request information #4307

Answered by utpilla
arabzade asked this question in Q&A
Discussion options

You must be logged in to vote

The parameters required for ShouldSample are defined in the specification: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#sampler.

Is this an ASP .NET Core application? In that case, you could use the Filter option of AspNetCoreInstrumentation: https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/src/OpenTelemetry.Instrumentation.AspNetCore#filter

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@arabzade
Comment options

@utpilla
Comment options

@arabzade
Comment options

@utpilla
Comment options

@arabzade
Comment options

Answer selected by utpilla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants