Agent365ExporterAsync Constructor

Definition

Initializes a new instance of the Agent365ExporterAsync class.

public Agent365ExporterAsync(Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterCore core, Microsoft.Extensions.Logging.ILogger<Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365Exporter> logger, Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterOptions options, OpenTelemetry.Resources.Resource? resource = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterAsync : Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterCore * Microsoft.Extensions.Logging.ILogger<Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365Exporter> * Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterOptions * OpenTelemetry.Resources.Resource * System.Net.Http.HttpClient -> Microsoft.Agents.A365.Observability.Runtime.Tracing.Exporters.Agent365ExporterAsync
Public Sub New (core As Agent365ExporterCore, logger As ILogger(Of Agent365Exporter), options As Agent365ExporterOptions, Optional resource As Resource = Nothing, Optional httpClient As HttpClient = Nothing)

Parameters

core
Agent365ExporterCore

The Agent365ExporterCore instance.

logger
ILogger<Agent365Exporter>

The logger instance.

options
Agent365ExporterOptions

The exporter configuration options.

resource
OpenTelemetry.Resources.Resource

Optional OpenTelemetry resource information.

httpClient
HttpClient

Optional HttpClient instance.

Applies to