-
Notifications
You must be signed in to change notification settings - Fork 878
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
rename telemetry.auto.version to telemetry.distro.version and add telemetry.distro.name #9065
Merged
Conversation
This file contains 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
mateuszrzeszutek
approved these changes
Jul 27, 2023
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.
👍
trask
approved these changes
Jul 27, 2023
zeitlinger
force-pushed
the
auto-name
branch
from
December 12, 2023 08:19
0d04d1e
to
60001a5
Compare
laurit
reviewed
Dec 12, 2023
smoke-tests/src/test/groovy/io/opentelemetry/smoketest/AppServerTest.groovy
Outdated
Show resolved
Hide resolved
…erTest.groovy Co-authored-by: Lauri Tulmin <[email protected]>
@zeitlinger can you update the PR title? thx |
zeitlinger
changed the title
add telemetry.auto.name
rename telemetry.auto.version to telemetry.distro.version and add telemetry.distro.name
Dec 13, 2023
done |
elbiocaetano
pushed a commit
to elbiocaetano/opentelemetry-java-instrumentation
that referenced
this pull request
Dec 19, 2023
…emetry.distro.name (open-telemetry#9065) Co-authored-by: Lauri Tulmin <[email protected]>
zzhlogin
added a commit
to aws-observability/aws-otel-python-instrumentation
that referenced
this pull request
Feb 27, 2024
*Issue #, if available:* In Java,` telemetry.auto.version` resource attribute is being deprecated ([PR](open-telemetry/opentelemetry-java-instrumentation#9065)). However, We don't find any related change in upstream. It is still [being used](https://github.com/open-telemetry/opentelemetry-python/blob/da48e0b131ff34ff382b7d1206f71b2e31929cab/opentelemetry-sdk/src/opentelemetry/sdk/_configuration/__init__.py#L364), so we are not going to deprecate it in aws-opentelemetry-distro for now. And we use `aws-opentlemetry-distro` version with "-aws" post-fix to be the `telemetry.auto.version `, which match with the [Java implementation](https://github.com/aws-observability/aws-otel-java-instrumentation/blob/294e957afbf48e766e3be9a11638050ef3736904/otelagent/build.gradle.kts#L101). Testing: Tested resource attributed are generated: Before the change: ``` "resource": "BoundedAttributes({'telemetry.sdk.language': 'python', 'telemetry.sdk.name': 'opentelemetry', 'telemetry.sdk.version': '1.22.0', 'service.name': 'unknown_service', 'telemetry.auto.version': '0.43b0'}, maxlen=None)" ``` After the change: ``` "resource": "BoundedAttributes({'telemetry.sdk.language': 'python', 'telemetry.sdk.name': 'opentelemetry', 'telemetry.sdk.version': '1.22.0', 'service.name': 'unknown_service', 'telemetry.auto.version':'0.0.1-aws'}, maxlen=None)" ``` By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
andrzej-stencel
pushed a commit
to open-telemetry/opentelemetry-collector-contrib
that referenced
this pull request
Jan 3, 2025
…r. (#36894) <!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description The PR merge in latest semconv pkg and update existing semantic conventions utilization. And further update `awsxrayexporter` to be able to handle following both new versions of http span attributes: `http.response.status_code` migrated from [http.status_code](https://opentelemetry.io/docs/specs/semconv/attributes-registry/http/#http-status-code) `url.query` migrated from [http.target](https://opentelemetry.io/docs/specs/semconv/attributes-registry/http/#http-target). Otel Java SDK has renamed `telemetry.auto.version` to `telemetry.distro.version` ([Upstream PR](open-telemetry/opentelemetry-java-instrumentation#9065)), update `awsxrayexporter` to be able to detect both attributes. <!-- Issue number (e.g. #1234) or full URL to issue, if applicable. --> #### Link to tracking issue N/A <!--Describe what testing was performed and which tests were added.--> #### Testing Unit test passed <!--Describe the documentation added.--> #### Documentation N/A
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.
as defined in https://opentelemetry.io/docs/specs/semconv/resource/#telemetry-sdk-experimental