Skip to content

Commit 550fc09

Browse files
cluster2600xrmx
andauthored
sdk: drop unused Jaeger exporter environment variables (#4922)
The Jaeger exporter was removed in version 1.22.0/0.43b0 (2023-12-15). The OTEL_EXPORTER_JAEGER_* environment variables defined in the SDK are no longer used by any code and can be safely removed to avoid confusion. Variables removed: - OTEL_EXPORTER_JAEGER_AGENT_HOST - OTEL_EXPORTER_JAEGER_AGENT_PORT - OTEL_EXPORTER_JAEGER_ENDPOINT - OTEL_EXPORTER_JAEGER_USER - OTEL_EXPORTER_JAEGER_PASSWORD - OTEL_EXPORTER_JAEGER_TIMEOUT - OTEL_EXPORTER_JAEGER_CERTIFICATE - OTEL_EXPORTER_JAEGER_AGENT_SPLIT_OVERSIZED_BATCHES - OTEL_EXPORTER_JAEGER_GRPC_INSECURE Fixes #4918 Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
1 parent f0451bd commit 550fc09

File tree

2 files changed

+2
-71
lines changed

2 files changed

+2
-71
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212

1313
## Unreleased
1414

15+
- `opentelemetry-sdk`: Drop unused Jaeger exporter environment variables (exporter removed in 1.22.0)
16+
([#4918](https://github.com/open-telemetry/opentelemetry-python/issues/4918))
1517
- `opentelemetry-sdk`: Clarify timeout units in environment variable documentation
1618
([#4906](https://github.com/open-telemetry/opentelemetry-python/pull/4906))
1719
- `opentelemetry-exporter-otlp-proto-grpc`: Fix re-initialization of gRPC channel on UNAVAILABLE error

opentelemetry-sdk/src/opentelemetry/sdk/environment_variables/__init__.py

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -205,52 +205,6 @@
205205
Default: 128
206206
"""
207207

208-
OTEL_EXPORTER_JAEGER_AGENT_HOST = "OTEL_EXPORTER_JAEGER_AGENT_HOST"
209-
"""
210-
.. envvar:: OTEL_EXPORTER_JAEGER_AGENT_HOST
211-
212-
The :envvar:`OTEL_EXPORTER_JAEGER_AGENT_HOST` represents the hostname for the Jaeger agent.
213-
Default: "localhost"
214-
"""
215-
216-
OTEL_EXPORTER_JAEGER_AGENT_PORT = "OTEL_EXPORTER_JAEGER_AGENT_PORT"
217-
"""
218-
.. envvar:: OTEL_EXPORTER_JAEGER_AGENT_PORT
219-
220-
The :envvar:`OTEL_EXPORTER_JAEGER_AGENT_PORT` represents the port for the Jaeger agent.
221-
Default: 6831
222-
"""
223-
224-
OTEL_EXPORTER_JAEGER_ENDPOINT = "OTEL_EXPORTER_JAEGER_ENDPOINT"
225-
"""
226-
.. envvar:: OTEL_EXPORTER_JAEGER_ENDPOINT
227-
228-
The :envvar:`OTEL_EXPORTER_JAEGER_ENDPOINT` represents the HTTP endpoint for Jaeger traces.
229-
Default: "http://localhost:14250"
230-
"""
231-
232-
OTEL_EXPORTER_JAEGER_USER = "OTEL_EXPORTER_JAEGER_USER"
233-
"""
234-
.. envvar:: OTEL_EXPORTER_JAEGER_USER
235-
236-
The :envvar:`OTEL_EXPORTER_JAEGER_USER` represents the username to be used for HTTP basic authentication.
237-
"""
238-
239-
OTEL_EXPORTER_JAEGER_PASSWORD = "OTEL_EXPORTER_JAEGER_PASSWORD"
240-
"""
241-
.. envvar:: OTEL_EXPORTER_JAEGER_PASSWORD
242-
243-
The :envvar:`OTEL_EXPORTER_JAEGER_PASSWORD` represents the password to be used for HTTP basic authentication.
244-
"""
245-
246-
OTEL_EXPORTER_JAEGER_TIMEOUT = "OTEL_EXPORTER_JAEGER_TIMEOUT"
247-
"""
248-
.. envvar:: OTEL_EXPORTER_JAEGER_TIMEOUT
249-
250-
Maximum time (in seconds) the Jaeger exporter will wait for each batch export.
251-
Default: 10
252-
"""
253-
254208
OTEL_EXPORTER_ZIPKIN_ENDPOINT = "OTEL_EXPORTER_ZIPKIN_ENDPOINT"
255209
"""
256210
.. envvar:: OTEL_EXPORTER_ZIPKIN_ENDPOINT
@@ -731,24 +685,6 @@ def channel_credential_provider() -> grpc.ChannelCredentials:
731685
Default: 10
732686
"""
733687

734-
OTEL_EXPORTER_JAEGER_CERTIFICATE = "OTEL_EXPORTER_JAEGER_CERTIFICATE"
735-
"""
736-
.. envvar:: OTEL_EXPORTER_JAEGER_CERTIFICATE
737-
738-
The :envvar:`OTEL_EXPORTER_JAEGER_CERTIFICATE` stores the path to the certificate file for
739-
TLS credentials of gRPC client for Jaeger. Should only be used for a secure connection with Jaeger.
740-
"""
741-
742-
OTEL_EXPORTER_JAEGER_AGENT_SPLIT_OVERSIZED_BATCHES = (
743-
"OTEL_EXPORTER_JAEGER_AGENT_SPLIT_OVERSIZED_BATCHES"
744-
)
745-
"""
746-
.. envvar:: OTEL_EXPORTER_JAEGER_AGENT_SPLIT_OVERSIZED_BATCHES
747-
748-
The :envvar:`OTEL_EXPORTER_JAEGER_AGENT_SPLIT_OVERSIZED_BATCHES` is a boolean flag to determine whether
749-
to split a large span batch to admire the udp packet size limit.
750-
"""
751-
752688
OTEL_SERVICE_NAME = "OTEL_SERVICE_NAME"
753689
"""
754690
.. envvar:: OTEL_SERVICE_NAME
@@ -798,13 +734,6 @@ def channel_credential_provider() -> grpc.ChannelCredentials:
798734
Use ``CUMULATIVE`` aggregation temporality for ``UpDownCounter``, ``AsynchronousCounter`` and ``Asynchronous UpDownCounter``.
799735
"""
800736

801-
OTEL_EXPORTER_JAEGER_GRPC_INSECURE = "OTEL_EXPORTER_JAEGER_GRPC_INSECURE"
802-
"""
803-
.. envvar:: OTEL_EXPORTER_JAEGER_GRPC_INSECURE
804-
805-
The :envvar:`OTEL_EXPORTER_JAEGER_GRPC_INSECURE` is a boolean flag to True if collector has no encryption or authentication.
806-
"""
807-
808737
OTEL_METRIC_EXPORT_INTERVAL = "OTEL_METRIC_EXPORT_INTERVAL"
809738
"""
810739
.. envvar:: OTEL_METRIC_EXPORT_INTERVAL

0 commit comments

Comments
 (0)