Classes
- OTel
-
The main entry point to using OpenTelemetry.
- OTel.BatchSpanProcessor
-
A processor which hands off ended spans to a given exporter in batches.
- OtlpGRPCSpanExporter
-
A span exporter which sends spans to an OTel collector via gRPC in the OpenTelemetry protocol (OTLP).
Structures
- OTel.NoOpSpanExporter
-
A no-op span exporter that simply ignores the given spans and always succeeds.
- OTel.NoOpSpanProcessor
-
A no-op span processor that simply ignores the given spans.
- OTel.SimpleSpanProcessor
-
A span processor that simply forwards all sampled spans to a given exporter.
- OTel.MultiplexPropagator
-
A pseudo-
OTelPropagator
that may be used to instrument using multiple otherOTelPropagator
s across a commonOTel.SpanContext
. - OTel.W3CPropagator
-
A propagator which operates on HTTP headers using the W3C TraceContext.
- OTel.W3CPropagator.TraceParentParsingError
-
An error that might occur during the parsing of the traceparent header.
- OTel.W3CPropagator.TraceStateParsingError
-
An error that might occur during the parsing of the traceparent header.
- OTel.RandomIDGenerator
-
Generates random trace and span ids using a
RandomNumberGenerator
. - OTel.RecordedSpan
-
Holds the read-only data collected during the lifetime of a span, typically created right after a span was ended.
- OTel.Resource
-
A resource represents the entity being traced.
- OTel.ConstantSampler
-
A sampler that always returns either
OTel.SamplingDecision.recordAndSampled
orOTel.SamplingDecision.drop
based on configuration. - OTel.ParentBasedSampler
-
A sampler composed of multiple configurable samplers which are called based on whether the parent span is remote and/or sampled, or doesn't exist.
- OTel.SamplingResult
-
The result of asking a sampler whether a given span should be sampled.
- OTel.SpanContext
-
A
SpanContext
represents the portion of aSpan
which must be serialized and propagated across asynchronous boundaries. - OTel.SpanID
-
Uniquely identifies a single span using an 8-byte array.
- OTel.TraceFlags
-
A set of flags denoting e.g. whether a span is sampled.
- OTel.TraceID
-
Uniquely identifies a single trace using a 16-byte array.
- OTel.TraceState
-
Provides additional vendor-specific trace identification information across different distributed tracing systems.
- OtlpGRPCSpanExporter.Config
-
Configures an
OtlpGRPCSpanExporter
through arguments and environment variables.
Enumerations
- OTel.Hex
-
A collection of utilities when working with hex strings.
- OTel.W3CPropagator.TraceParentParsingError.Reason
-
A reason explaining why trace parent parsing failed.
- OTel.W3CPropagator.TraceStateParsingError.Reason
-
A reason explaining why trace state parsing failed.
- OTel.ResourceDetection
-
Configures how resource attributes may be detected.
- OTel.SamplingDecision
-
A decision on whether a span should be recorded/sampled.
Protocols
- OTelSpanExporter
-
An exporter receives processed, sampled spans to export them, e.g. over the network.
- OTelIDGenerator
-
Responsible for generating trace and span ids.
- OTelSpanProcessor
-
A processor receives ended spans from the tracer and potentially hands them over to an exporter.
- OTelPropagator
-
A propagator carries span context over asynchronous boundaries such as HTTP calls.
- OTelResourceDetector
-
A resource detector asynchronously detects attributes describing an
OTel.Resource
. - OTelSampler
-
Decides whether a given span should be sampled i.e. passed along to the span exporter.
Extensions
- Baggage
- Logger.MetadataProvider
- OTel.W3CPropagator.TraceParentParsingError
- OTel.W3CPropagator.TraceStateParsingError