This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
feat: Update OpenTelemetry SDK to 1.11.0 #1664
Merged
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.
What does this PR do?
Why is it important?
I ran into the issue reported on open-telemetry/opentelemetry-python#2288 when attempting to run filebeat module integration tests (process on https://www.elastic.co/guide/en/beats/devguide/current/filebeat-modules-devguide.html#_test). This occurred while reviewing elastic/beats#31286
Updating to 1.11.0 resolves the error.
Testing notes
To run using this copy against my filebeat integration tests I had to:
pip uninstall pytest-otel; pip uninstall opentelemetry-sdk
pip install pip install ../../apm-pipeline-library/resources/scripts/pytest_otel
I was able to confirm the correct version was being used via
pip freeze | grep opentelemetry
At one point I also did a
pip install -r requirements.txt
from thepytest_otel
directory. I'm uncertain if this is required on a clean virtual env or not.