Skip to content
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

kubeletstatsreceiver: migrate to latest semconv version #35273

Merged

Conversation

narcis96
Copy link
Contributor

Description: The version of semconv is upgraded from v1.6.1 to v1.27.0

Link to tracking Issue: #22095

Testing: Tests passed

@codeboten codeboten added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Sep 18, 2024
Copy link
Member

@ChrsMark ChrsMark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sharing the same concern with #35238.

Such an upgrade of SemConv's version might be risky.

In addition we might need to think if we should target this upgrade now or postpone for when the K8s semantic conventions are stable (there is some work planned for this, starting soon).

In any case if we are to apply this upgrade now it would be nice to verify which SemConv attributes this receiver uses and ensure that they are not changed from one version to the other.

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upgrading semconv is risky. Please confirm that no metrics or attributes emitted by this component change bc of this upgrade.

Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My search through this receiver was that only container.id is used from the conventions package, and it hasn't changed between the two versions

@ChrsMark
Copy link
Member

Thank's @codeboten! I can confirm it's only used at

MetadataLabelContainerID MetadataLabel = conventions.AttributeContainerID
. In that case we could do the upgrade now and close the gap for this receiver.
@TylerHelmuth wdyt?

@TylerHelmuth TylerHelmuth merged commit 07ee9e4 into open-telemetry:main Sep 19, 2024
162 of 164 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 19, 2024
dmitryax pushed a commit to dmitryax/opentelemetry-collector-contrib that referenced this pull request Sep 19, 2024
…ry#35273)

Description: The version of semconv is upgraded from v1.6.1 to v1.27.0

Link to tracking Issue:
open-telemetry#22095

Testing: Tests passed
@narcis96 narcis96 deleted the narcis/kubeletstatsreceiver branch September 20, 2024 06:40
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…ry#35273)

Description: The version of semconv is upgraded from v1.6.1 to v1.27.0

Link to tracking Issue:
open-telemetry#22095

Testing: Tests passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/kubeletstats Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants