Observability.AddAgenticTracingExporter(IServiceCollection, String) Method

Definition

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.

Applies to