-
Notifications
You must be signed in to change notification settings - Fork 874
Closed as not planned
Labels
enhancementNew feature or requestNew feature or requestpkg:OpenTelemetryIssues related to OpenTelemetry NuGet packageIssues related to OpenTelemetry NuGet package
Description
Feature Request
Is your feature request related to a problem?
Exporting telemetry is likely to be an I/O based operation, such as writing it to a file or a socket.
The built-in types for exporting logs and traces, such as BaseProcessor, BatchExportProcessor and BaseExporter are synchronous. This means that any asynchronous calls need to be synchronously waited, using something like .GetAwaiter().GetResult(), as seen in the ZipkinExporter.
MetricExporter is already asynchronous.
Describe the solution you'd like:
It would be nice if these methods were asynchronous e.g. Task<ExportResult> BaseExporter.ExportAsync(in Batch<T> batch, CancellationToken cancellationToken).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpkg:OpenTelemetryIssues related to OpenTelemetry NuGet packageIssues related to OpenTelemetry NuGet package