Class OtlpTraceExporter
- Namespace
- OpenTelemetry.Exporter
- Assembly
- OpenTelemetry.Exporter.OpenTelemetryProtocol.dll
Exporter consuming Activity and exporting the data using the OpenTelemetry protocol (OTLP).
public class OtlpTraceExporter : BaseExporter<Activity>
- Inheritance
-
OtlpTraceExporter
Constructors
OtlpTraceExporter(OtlpExporterOptions)
Initializes a new instance of the OtlpTraceExporter class.
public OtlpTraceExporter(OtlpExporterOptions options)
Parameters
options
OtlpExporterOptionsConfiguration options for the export.
Methods
Export(in Batch<Activity>)
public override ExportResult Export(in Batch<Activity> activityBatch)
Parameters
activityBatch
Batch<Activity>
Returns
- ExportResult
OnShutdown(int)
protected override bool OnShutdown(int timeoutMilliseconds)
Parameters
timeoutMilliseconds
int