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

[opentelemetry-kube-stack]: Fix missing "release" label to opentelemetry-kube-stack.labels #1363

Merged

Conversation

davidcaste
Copy link
Contributor

The labels in some ServiceMonitor selectors doesn't match the ones in the Service objects, specifically the label release is missing from some of them.

This PR attempts to solve the problem described above. I realized the opentelemetry-kube-stack.labels variable used to populate the labels in most Service objects was missing the release label. So the fix is as easy to add this label to this variable.

Thanks!

Fixes #1362

@davidcaste davidcaste requested review from jaronoff97 and a team as code owners October 2, 2024 10:58
Copy link

linux-foundation-easycla bot commented Oct 2, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

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

@davidcaste thanks for this contribution! can you bump the patch version in the Chart.yaml and then rerun the make generate-examples?

charts/opentelemetry-kube-stack/templates/_helpers.tpl Outdated Show resolved Hide resolved
@davidcaste davidcaste force-pushed the fix/add_missing_release_label branch from 57944ed to e2a972f Compare October 2, 2024 14:37
@jaronoff97 jaronoff97 merged commit 5c3a805 into open-telemetry:main Oct 2, 2024
3 checks passed
@jaronoff97
Copy link
Contributor

@davidcaste thank you for your contribution! 🙇

codeboten pushed a commit to codeboten/opentelemetry-helm-charts that referenced this pull request Nov 14, 2024
…try-kube-stack.labels (open-telemetry#1363)

* fix: Add missing release label to opentelemetry-kube-stack.labels

* [opentelemetry-kube-stack] Bump to v0.2.2 and regenerate examples
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes infra metrics not scrapped due to a wrong ServiceMonitor selector in opentelemetry-kube-stack-0.2.1
2 participants