Agent365ExporterAsync Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Minimal OTLP/HTTP JSON exporter for traces. Sends POST {Endpoint}/v1/traces with application/json.
public sealed class Agent365ExporterAsync : Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.BaseExporterAsync<System.Diagnostics.Activity>
type Agent365ExporterAsync = class
inherit BaseExporterAsync<Activity>
Public NotInheritable Class Agent365ExporterAsync
Inherits BaseExporterAsync(Of Activity)
- Inheritance
Constructors
| Name | Description |
|---|---|
| Agent365ExporterAsync(Agent365ExporterCore, ILogger<Agent365Exporter>, Agent365ExporterOptions, Resource, HttpClient) |
Initializes a new instance of the Agent365ExporterAsync class. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Releases resources used by the exporter. (Inherited from BaseExporterAsync<T>) |
| ExportAsync(IReadOnlyCollection<Activity>, CancellationToken) |
Exports a batch of OpenTelemetry activities to the Microsoft Agent 365 observability platform asynchronously. |
| ExportAsync(IReadOnlyCollection<T>, CancellationToken) |
Exports a batch of telemetry objects asynchronously. (Inherited from BaseExporterAsync<T>) |
| ForceFlushAsync(CancellationToken) |
Flushes any buffered telemetry data asynchronously. (Inherited from BaseExporterAsync<T>) |
| ShutdownAsync(CancellationToken) |
Shuts down the exporter asynchronously, releasing any resources if necessary. (Inherited from BaseExporterAsync<T>) |