Observability.AddServiceTracingExporter(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 a service tracing exporter to the service collection. Uses the service-to-service (S2S) endpoint for trace exports.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddServiceTracingExporter(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string? clusterCategory = "production");
static member AddServiceTracingExporter : Microsoft.Extensions.DependencyInjection.IServiceCollection * string -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddServiceTracingExporter (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.