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.TelemetryDataKind> data = default, Azure.AI.Projects.Agents.TelemetryEndpointAuth auth = default, string endpoint = default, Azure.AI.Projects.Agents.TelemetryTransportProtocol protocol = default);
static member OtlpTelemetryEndpoint : seq<Azure.AI.Projects.Agents.TelemetryDataKind> * Azure.AI.Projects.Agents.TelemetryEndpointAuth * string * Azure.AI.Projects.Agents.TelemetryTransportProtocol -> Azure.AI.Projects.Agents.OtlpTelemetryEndpoint
Public Shared Function OtlpTelemetryEndpoint (Optional data As IEnumerable(Of TelemetryDataKind) = Nothing, Optional auth As TelemetryEndpointAuth = Nothing, Optional endpoint As String = Nothing, Optional protocol As TelemetryTransportProtocol = Nothing) As OtlpTelemetryEndpoint

Parameters

data
IEnumerable<TelemetryDataKind>

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

auth
TelemetryEndpointAuth

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