-
Notifications
You must be signed in to change notification settings - Fork 858
Description
Package
OpenTelemetry.Exporter.OpenTelemetryProtocol
Is your feature request related to a problem?
API to perform export via GRPC protocol over non-TLS connection
What is the expected behavior?
builder.AddOtlpExporter(options =>
{
options.Endpoint = new Uri(myEndpoint + "v1/traces");
options.Protocol = OTEL_Exporter.OtlpExportProtocol.Grpc;
options.Insecure = true;
});Which alternative solutions or features have you considered?
N/A
Additional context
The protocol has this option mapped:
Insecure: Whether to enable client transport security for the exporter’s gRPC connection. This option only applies to OTLP/gRPC when an endpoint is provided without the http or https scheme - OTLP/HTTP always uses the scheme provided for the endpoint. Implementations MAY choose to not implement the insecure option if it is not required or supported by the underlying gRPC client implementation.
Default: false
Env vars: OTEL_EXPORTER_OTLP_INSECURE OTEL_EXPORTER_OTLP_TRACES_INSECURE OTEL_EXPORTER_OTLP_METRICS_INSECURE OTEL_EXPORTER_OTLP_LOGS_INSECURE [2]
Type: Boolean
Tip
React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.