ProjectsAgentsModelFactory.OtlpTelemetryEndpoint Method

Definition

An OTLP (OpenTelemetry Protocol) telemetry export endpoint.

public static Azure.AI.Projects.Agents.OtlpTelemetryEndpoint OtlpTelemetryEndpoint(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.ExportedDataTypes> exportedDataTypes = default, Azure.AI.Projects.Agents.TelemetryEndpointAuthentication authentication = default, string endpoint = default, Azure.AI.Projects.Agents.TelemetryTransportProtocol protocol = default);
static member OtlpTelemetryEndpoint : seq<Azure.AI.Projects.Agents.ExportedDataTypes> * Azure.AI.Projects.Agents.TelemetryEndpointAuthentication * string * Azure.AI.Projects.Agents.TelemetryTransportProtocol -> Azure.AI.Projects.Agents.OtlpTelemetryEndpoint
Public Shared Function OtlpTelemetryEndpoint (Optional exportedDataTypes As IEnumerable(Of ExportedDataTypes) = Nothing, Optional authentication As TelemetryEndpointAuthentication = Nothing, Optional endpoint As String = Nothing, Optional protocol As TelemetryTransportProtocol = Nothing) As OtlpTelemetryEndpoint

Parameters

exportedDataTypes
IEnumerable<ExportedDataTypes>

Data types to export to this endpoint. Use an empty array to export no data.

authentication
TelemetryEndpointAuthentication

Optional authentication configuration.

endpoint
String

The OTLP collector endpoint URL.

protocol
TelemetryTransportProtocol

The transport protocol for the OTLP endpoint.

Returns

A new OtlpTelemetryEndpoint instance for mocking.

Applies to