1.9 KiB
1.9 KiB
Jaeger Exporter for OpenTelemetry .NET
The Jaeger exporter communicates to a Jaeger Agent through the compact thrift protocol on the Compact Thrift API port.
Supported .NET Versions
This package supports all the officially supported versions of .NET Core.
For .NET Framework, versions 4.6 and above are supported.
Prerequisite
Installation
dotnet add package OpenTelemetry.Exporter.Jaeger
Configuration
You can configure the JaegerExporter through JaegerExporterOptions
properties:
AgentHost: Usuallylocalhostsince an agent should usually be running on the same machine as your application or service.AgentPort: The compact thrift protocol port of the Jaeger Agent (default6831).MaxPayloadSizeInBytes: The maximum size of each UDP packet that gets sent to the agent. (default4096).ProcessTags: Which tags should be sent with telemetry.ExportProcessorType: Whether the exporter should use Batch or Simple exporting processor .BatchExportProcessorOptions: Configuration options for the batch exporter. Only used if ExportProcessorType is set to Batch.
See the
TestJaegerExporter.cs
for an example of how to use the exporter.