-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add InstrumentationScope and deprecate InstrumentationLibraryInfo #2583
Conversation
exporter/opentelemetry-exporter-jaeger-proto-grpc/tests/test_jaeger_exporter_protobuf.py
Show resolved
Hide resolved
@srikanthccv please add a changelog ✌️ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the change looks good. Would be good to capture the results (maybe just a comment in this PR) from testing this against both the collector v0.47.0 and v0.48.0
opentelemetry-sdk/src/opentelemetry/sdk/util/instrumentation.py
Outdated
Show resolved
Hide resolved
opentelemetry-sdk/src/opentelemetry/sdk/util/instrumentation.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this change doesnt go out in 1.11.0, the deprecation version will need updating. Please add a changelog entry to let users know of the deprecation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve the conflict and check if my suggestions make sense ✌️
Co-authored-by: Alex Boten <[email protected]>
…hon into issue-2516
Hi! Without the Library -> Scope rename, Honeycomb customers can't send us OTLP traces or metrics with the current OTel Python version (v1.11.0). Our OTel ingest is pinned to an earlier otlp-proto (0.11.0) to support customers who are sending us metrics from older OTel SDKs using behavior that was deprecated last year. We are unable to arrange for data ingest that supports both that deprecated metric format and this deprecated library/scope rename because the deprecated metric behavior was removed before this rename. What can we do to help get this rename merged and released? |
|
Description
This spec PR open-telemetry/opentelemetry-specification#2276 introduced the concept of
InstrumentationScope
. Naming in our components is varying. The deprecatedInstrumentationLibrary
from spec isInstrumentationInfo
. And the arguments naming have the mixed usage of "module" and "library"instrumenting_module_name
andinstrumenting_library_version
. I introduced another class and properties wherever necessary for backward compatibility and replaced in the experimental packages. I would like to test these changes manually but opening it for reviews.Fixes #2516