Agent365ExporterCore 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.
Utility methods for Agent365 trace exporters. Provides helpers for partitioning activities and building endpoint URIs.
public class Agent365ExporterCore
type Agent365ExporterCore = class
Public Class Agent365ExporterCore
- Inheritance
-
Agent365ExporterCore
Constructors
| Name | Description |
|---|---|
| Agent365ExporterCore(ExportFormatter, ILogger<Agent365ExporterCore>) |
Initializes a new instance of the Agent365ExporterCore class. |
Methods
| Name | Description |
|---|---|
| BuildEndpointPath(String, String, Boolean) |
Builds the endpoint path for the trace export request based on tenant ID, agent ID and S2S setting. |
| BuildRequestUri(String, String) |
Builds the full request URI for the trace export request. If the endpoint already includes a scheme (https://), it is used as-is. Otherwise, https:// is prepended. Plaintext http:// is not supported. |
| ExportBatchCoreAsync(IEnumerable<ValueTuple<String,String,List<Activity>>>, Resource, Agent365ExporterOptions, Func<String,String,Task<String>>, Func<HttpRequestMessage,Task<HttpResponseMessage>>) |
Exports a batch of activities grouped by tenant and agent identity. |
| PartitionByIdentity(Batch<Activity>) |
Partitions a batch of activities by tenant and agent identity. Only genAI activities (those with a known gen_ai.operation.name) are included. |
| PartitionByIdentity(IEnumerable<Activity>) |
Partitions a batch of activities by tenant and agent identity. Only genAI activities (those with a known gen_ai.operation.name) are included. |