Observability.AddAgenticTracingExporter(IServiceCollection, String) Method
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.
Adds agentic token handling to the service collection.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAgenticTracingExporter(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string? clusterCategory = "production");
static member AddAgenticTracingExporter : Microsoft.Extensions.DependencyInjection.IServiceCollection * string -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddAgenticTracingExporter (services As IServiceCollection, Optional clusterCategory As String = "production") As IServiceCollection
Parameters
- services
- IServiceCollection
The service collection to add to.
- clusterCategory
- String
The cluster category for the Microsoft Agent 365 exporter options. Defaults to production.
Returns
The updated service collection.