Agent365ExporterOptions 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.
Configuration for Agent365Exporter. Only TokenResolver is required for core operation.
public sealed class Agent365ExporterOptions
type Agent365ExporterOptions = class
Public NotInheritable Class Agent365ExporterOptions
- Inheritance
-
Agent365ExporterOptions
Constructors
| Name | Description |
|---|---|
| Agent365ExporterOptions() |
Initializes a new instance of the Agent365ExporterOptions class with default settings. |
Fields
| Name | Description |
|---|---|
| DefaultEndpointHost |
The default endpoint host for Agent365 observability. |
Properties
| Name | Description |
|---|---|
| ClusterCategory |
Cluster region argument. Defaults to production. |
| DomainResolver |
Delegate used to resolve the endpoint host or URL for a given tenant id. Defaults to returning DefaultEndpointHost. |
| ExporterTimeoutMilliseconds |
Timeout in milliseconds for the export operation. Default is 30000 (30 seconds). |
| MaxExportBatchSize |
Maximum batch size for export operations. Default is 512. |
| MaxQueueSize |
Maximum queue size for the batch processor. Default is 2048. |
| ScheduledDelayMilliseconds |
Delay in milliseconds between export batches. Default is 5000 (5 seconds). |
| TokenResolver |
Async delegate used to resolve the auth token. REQUIRED. |
| UseS2SEndpoint |
When true, uses the service-to-service (S2S) endpoint path: /observabilityService/tenants/{tenantId}/agents/{agentId}/traces When false (default), uses the standard endpoint path: /observability/tenants/{tenantId}/agents/{agentId}/traces Default is false. |