-
Notifications
You must be signed in to change notification settings - Fork 176
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
System metrics - Define transition plan for breaking changes in attributes #246
Comments
Do we have an idea as to what OpenTelemetry components implement system metrics? I am aware and have worked on the OpenTelemetry Collector hostmetrics receiver, but I don't know what language libraries have support for it and I think the specific implementers may change our plans (we have different tooling available in the Collector vs. libraries e.g. feature gates) |
I think you should be able to find out by searching the github org for the different
Also note this prior sentiment that non-collector components should not emit |
I think it should be similar to open-telemetry/opentelemetry-specification#3362 with a long transition period because the hostmetrics receiver is pretty popular and must be widely used in the field. Speaking about the transition mechanics, open-telemetry/opentelemetry-collector#10903 (I'm working on it) will introduce a concept of default and optional attributes that users can override along with the ability to assign deprecation warnings for them in metadata.yaml files. Similar functionality is currently available for metrics https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/cmd/mdatagen/metadata-schema.yaml#L60. Once it's in place, we can utilize that mechanism for this transition. |
Thanks @trask! Based on the searches from #246 (comment) as well as searches for all other prefixes from the
|
On the August 30th System Semantic Convention WG meeting we decided that:
|
Discussed about the plan on September 11th in the Semconv SIG meeting:
|
I shared a preferred way for the collector in the comment above #246 (comment). I think we should use that one instead of feature gates. It's more flexible, e.g. it allows users to send both attributes during the transition if they want to. |
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Add a warning the system semantic conventions to prevent implementations from adopting the breaking changes until the conventions are stabilized. This warning is to be updated once open-telemetry#246 is closed
Discussed at KubeCon NA 2024 at 2024-11-14. For the JS, Go and other language-specific implementations we should comment on the existing issues with the migration plan and bring it up on the maintainers meeting but not necessarily do the work in any place other than the Collector. |
In terms of comms, we want to first work on a release candidate and then really communicate it |
In open-telemetry/opentelemetry-collector-contrib#89 the attributes of all existing metrics were changed based on the decision in open-telemetry/opentelemetry-collector-contrib#51. An overview of the changes can be found in this comment.
From @jsuereth on the PR:
I'm creating this issue to discuss what we should do next:
CC @jsuereth @ChrsMark @dmitryax @mx-psi
The text was updated successfully, but these errors were encountered: