OtlpTelemetryEndpoint Constructor
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.
Initializes a new instance of OtlpTelemetryEndpoint.
public OtlpTelemetryEndpoint(System.Collections.Generic.IEnumerable<Azure.AI.Projects.Agents.TelemetryDataKind> data, string endpoint, Azure.AI.Projects.Agents.TelemetryTransportProtocol protocol);
new Azure.AI.Projects.Agents.OtlpTelemetryEndpoint : seq<Azure.AI.Projects.Agents.TelemetryDataKind> * string * Azure.AI.Projects.Agents.TelemetryTransportProtocol -> Azure.AI.Projects.Agents.OtlpTelemetryEndpoint
Public Sub New (data As IEnumerable(Of TelemetryDataKind), endpoint As String, protocol As TelemetryTransportProtocol)
Parameters
- data
- IEnumerable<TelemetryDataKind>
Data types to export to this endpoint. Use an empty array to export no data.
- endpoint
- String
The OTLP collector endpoint URL.
- protocol
- TelemetryTransportProtocol
The transport protocol for the OTLP endpoint.
Exceptions
data or endpoint is null.