Drop elasticsearch instrumentation#4759
Merged
xrmx merged 3 commits intoJul 1, 2026
Merged
Conversation
The ElasticSearch Python client has a native OTel instrumentation since 8.13, released in 2014. Since January 2026 elasticsearch 7 is not supported anymore and so every supported client have OTel support and we can drop our instrumentation.
emdneto
approved these changes
Jun 30, 2026
aabmass
approved these changes
Jul 1, 2026
xrmx
commented
Jul 1, 2026
xrmx
enabled auto-merge
July 1, 2026 07:25
chalin
added a commit
to open-telemetry/opentelemetry.io
that referenced
this pull request
Jul 10, 2026
- Points the BMC Helix vendor URL at the current docs.helixops.ai Enabling page (aiops254), replacing the dead docs.bmc.com/244 link. - Drops the Python Elasticsearch instrumentation registry entry; upstream removed the package in open-telemetry/opentelemetry-python-contrib#4759 now that the Elastic client has native OTel support (native entry remains). - Refreshes static/refcache.json after those source changes.
1 task
basti1302
added a commit
to dash0hq/dash0-operator
that referenced
this pull request
Jul 21, 2026
The package was dropped upstream in the 0.65b0 release since all supported elasticsearch versions now have native OpenTelemetry instrumentation, so no 0.65b0 version exists on PyPI. See open-telemetry/opentelemetry-python-contrib#4759
liustve
added a commit
to aws-observability/aws-otel-python-instrumentation
that referenced
this pull request
Jul 22, 2026
Automated update of OpenTelemetry dependencies. **Build Status:** ❌ [failure](https://github.com/aws-observability/aws-otel-python-instrumentation/actions/runs/29554721211) **Updated versions:** - [OpenTelemetry Python](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.44.0): 1.44.0 - [OpenTelemetry Contrib](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.65b0): 0.65b0 - [opentelemetry-sdk-extension-aws](https://pypi.org/project/opentelemetry-sdk-extension-aws/2.1.0/): 2.1.0 - [opentelemetry-propagator-aws-xray](https://pypi.org/project/opentelemetry-propagator-aws-xray/1.0.2/): 1.0.2 - [opentelemetry-instrumentation-openai-agents-v2](https://pypi.org/project/opentelemetry-instrumentation-openai-agents-v2/0.1.0/): 0.1.0 **Upstream releases with breaking changes:** Note: the mechanism to detect upstream breaking changes is not perfect. Be sure to check all new releases and understand if any additional changes need to be addressed. **opentelemetry-python:** - [Version 1.44.0/0.65b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.44.0) **opentelemetry-python-contrib:** - [Version 1.44.0/0.65b0](https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.65b0) *Description of changes:* - Drops the `opentelemetry-instrumentation-elasticsearch` runtime dependency (from `pyproject.toml`, the lite-mode instrumentor map, and the nightly bot's `CONTRIB_DEPS` allowlist), removed entirely upstream now that all supported `elasticsearch` versions ship native OTel instrumentation: open-telemetry/opentelemetry-python-contrib#4759 - Migrates the three Events API call sites (`llo_handler.py`, `debugger/_snapshot_otlp_emitter.py`, `aws_opentelemetry_configurator._init_logging`) to emit `LogRecord` with the `event_name` field via the Logs API, after upstream removed the deprecated Events API/SDK (`opentelemetry._events` / `opentelemetry.sdk._events`): open-telemetry/opentelemetry-python#5293 To keep the OTLP wire shape byte-identical to v0.18.0 for downstream consumers, the migration explicitly preserves the two things the old `Event` class auto-injected: the `event.name` attribute (which the GenAI E2E `CWLogValidator` asserts on) and `severity_number=INFO`. Verified by encoding both versions' output through the OTLP proto encoder and diffing — the only deltas are the additive top-level `eventName` field and SDK-generated resource metadata (`telemetry.sdk.version`, `service.instance.id`). - Implements `force_flush` on `CompactConsoleLogRecordExporter`, required after upstream added it as an abstract method on the `LogRecordExporter` ABC (instantiation otherwise fails with `TypeError`): open-telemetry/opentelemetry-python#5294 --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Eric Zhang <[email protected]> Co-authored-by: Steve Liu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The ElasticSearch Python client has a native OTel instrumentation since 8.13, released in 2014. Since January 2026 elasticsearch 7 is not supported anymore and so every supported client have OTel support and we can drop our instrumentation.
Fixes #4716
Closes #1205
Closes #2542
Closes #2021
Closes #1633
Closes #3034
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.