Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.2 KB

File metadata and controls

37 lines (26 loc) · 1.2 KB

Zipkin Exporter for OpenTelemetry .NET

NuGet NuGet

Prerequisite

Installation

dotnet add package OpenTelemetry.Exporter.Zipkin

Configuration

You can configure the ZipkinExporter with the following options in ZipkinExporterOptions:

  • ServiceName: Name of the service reporting telemetry. If the Resource associated with the telemetry has "service.name" defined, then it'll be preferred over this option.
  • Endpoint: URI address to receive telemetry.
  • UseShortTraceIds: Whether the trace's ID should be shortened before sending to Zipkin (default false).
  • MaxPayloadSizeInBytes: Maximum payload size - for .NET versions other than 4.5.2 (default 4096).

See TestZipkinExporter.cs for example use.

References