<PackageReference Include="OpenTelemetry" Version="1.19.0" />

OpenTelemetry.Trace

Namespace with 14 public types

Classes

 ActivityExportProcessorOptions Options for configuring either a or .
 AlwaysOffSampler Sampler implementation which always returns SamplingDecision.Drop.
 AlwaysOnSampler Sampler implementation which always returns SamplingDecision.RecordAndSample.
 AlwaysRecordSampler Sampler implementation which wraps another and replaces any decision made by that sampler with , leaving every other decision unchanged. This ensures that all spans are recorded, without changing the sampling rate.
 BatchExportActivityProcessorOptions Batch span processor options. OTEL_BSP_MAX_QUEUE_SIZE, OTEL_BSP_MAX_EXPORT_BATCH_SIZE, OTEL_BSP_EXPORT_TIMEOUT, OTEL_BSP_SCHEDULE_DELAY environment variables are parsed during object construction.
 ParentBasedSampler Sampler implementation which by default will take a sample if parent Activity is sampled. Otherwise, samples root traces according to the specified root sampler.
 TraceIdRatioBasedSampler Samples traces according to the specified probability.
 TracerProviderBuilderBase Contains methods for building instances.

Structures

 SamplingParameters Sampling parameters passed to a for it to make a sampling decision.
 SamplingResult Sampling result.

Enumerations

 SamplingDecision Enumeration to define sampling decision.

Static Classes

 TracerProviderBuilderExtensions Contains extension methods for the class.
 TracerProviderExtensions Contains extension methods for the class.

Abstract Classes

 Sampler Controls the number of samples of traces collected and sent to the backend.