ProjectsAgentsModelFactory.OtlpTelemetryEndpoint 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.
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.
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.