Skip to main content

Config

This class represents the configuration for telemetry exporters and samplers. It allows specifying the type of exporter (e.g., noop, file, Jaeger, OTLP gRPC, OTLP HTTP) and provides nested configurations for each specific exporter type, as well as for the tracer's sampler.

Attributes

AttributeTypeDescription
ExporterTypeSets the type of exporter to configure [noop/file/jaeger/otlpgrpc/otlphttp].
FileConfigConfiguration for exporting telemetry traces to a file.
JaegerConfigConfiguration for exporting telemetry traces to a jaeger.
OtlpGrpcConfigConfiguration for exporting telemetry traces to an OTLP gRPC collector.
OtlpHttpConfigConfiguration for exporting telemetry traces to an OTLP HTTP collector.
SamplerConfigConfiguration for the sampler to use for the tracer.