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

k8sclusterreceiver: migrate to latest semconv version #35238

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

narcis96
Copy link
Contributor

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

Link to tracking Issue: #22095

Testing: Tests passed

@povilasv
Copy link
Contributor

Did you check that k8scluster receiver actually implements semconv 1.27? Are there any code changes needed to follow newest version of semconv?

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.

@narcis96
Copy link
Contributor Author

narcis96 commented Sep 24, 2024

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

I think that it actually has 0 risk. The semconv attributes' value have been compared using go-otel-semconv-comparator resulting in 0 diffs.

@narcis96 narcis96 requested a review from a team as a code owner October 2, 2024 09:33
@narcis96
Copy link
Contributor Author

narcis96 commented Oct 2, 2024

hey guys, can you please take a look ? @dmitryax @povilasv @TylerHelmuth

@povilasv
Copy link
Contributor

povilasv commented Oct 2, 2024

Could you elaborate what your tools does? What did you compare? Where did you found no differences?

@narcis96
Copy link
Contributor Author

narcis96 commented Oct 4, 2024

Could you elaborate what your tools does? What did you compare? Where did you found no differences?

@povilasv

The tool checks that all constants from the older semconv version have the same value inside the newer semconv version.
You can check the existing upgrades: #22095

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Oct 19, 2024
@narcis96
Copy link
Contributor Author

narcis96 commented Oct 24, 2024

did my last reply answered your question ? are there any concerns on this ? @dmitryax @TylerHelmuth @povilasv

@github-actions github-actions bot removed the Stale label Oct 25, 2024
@povilasv
Copy link
Contributor

I am not really sure what you are comparing, and if it's good enought?

As #35238 (review) was written previously, you should check what this component emits vs what is specified in the latest semconv. Are there any attributes that need changing?

Copy link
Contributor

github-actions bot commented Nov 9, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Nov 9, 2024
@ChrsMark
Copy link
Member

Looked for which conventions are used in the component: https://github.com/search?q=repo%3Aopen-telemetry%2Fopentelemetry-collector-contrib+path%3Areceiver%2Fk8sclusterreceiver+conventions.&type=code&ref=advsearch

It appears that resource names and uids are used which I believe have not changed. @povilasv could you double check?

@github-actions github-actions bot removed the Stale label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants