refactor: Delegate otlp_protocol to standard OTLP env variables

This commit is contained in:
Jade Ellis committed 2026-10-12 10:03:16 +01:00
1 parent fd4cb4a306
commit 3975d31b91
6 files changed
+20 -64

No files matched your search

+5 -8
View File
@@ -823,7 +823,7 @@
# Jaeger) that supports the OpenTelemetry Protocol.
#
# Configure your OTLP endpoint using the OTEL_EXPORTER_OTLP_ENDPOINT
# environment variable (defaults to http://localhost:4318).
# environment variable, or OTEL_EXPORTER_OTLP_TRACES_ENDPOINT (defaults to http://localhost:4318), and OTEL_EXPORTER_OTLP_PROTOCOL for the protocol.
#
#allow_otlp = false
@@ -832,13 +832,10 @@
#
#otlp_filter = "info"
# Protocol to use for OTLP tracing export. Options are "http" or "grpc".
# The HTTP protocol uses port 4318 by default, while gRPC uses port 4317.
#
#otlp_protocol = "http"
# Enable OpenTelemetry OTLP metrics export, using the same endpoint and
# `otlp_protocol` as traces.
# Enable OpenTelemetry OTLP metrics export. Configure your OTLP endpoint
# and protocol using standard OpenTelemetry environment variables
# (such as OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_PROTOCOL and
# OTEL_EXPORTER_OTLP_METRICS_PROTOCOL).
#
# The export interval can be changed with the
# OTEL_METRIC_EXPORT_INTERVAL environment variable (milliseconds,