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

Keep the namespace and pod labels #5148

Merged
merged 1 commit into from
Dec 10, 2021

Conversation

istvanballok
Copy link
Contributor

How to categorize this PR?

/area monitoring
/kind enhancement

What this PR does / why we need it:

The "extensions" and "garden" scrape configuration scrapes the pods that
are marked with an annotation in the garden and extension-.+ namespaces.

See #4560 for more details.

Previously, only the pod labels were kept as metric labels, the pod name
and the namespace were missing.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:

The namespace and pod labels are kept for the metrics in the seed-prometheus.

The "extensions" and "garden" scrape configuration scrapes the pods that
are marked with an annotation in the garden and extension-.+ namespaces.

See gardener#4560 for more details.

Previously, only the pod labels were kept as metric labels, the pod name
and the namespace were missing.

Co-authored-by: Wesley Bermbach <wesley.bermbach@sap.com>
Co-authored-by: Istvan Zoltan Ballok <istvan.zoltan.ballok@sap.com>
@istvanballok istvanballok requested a review from a team as a code owner December 10, 2021 08:34
@gardener-robot gardener-robot added area/monitoring Monitoring (including availability monitoring and alerting) related kind/enhancement Enhancement, improvement, extension needs/review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Dec 10, 2021
Copy link
Member

@rfranzke rfranzke left a comment

Choose a reason for hiding this comment

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

/lgtm

@rfranzke rfranzke merged commit 80b084e into gardener:master Dec 10, 2021
krgostev pushed a commit to krgostev/gardener that referenced this pull request Apr 21, 2022
The "extensions" and "garden" scrape configuration scrapes the pods that
are marked with an annotation in the garden and extension-.+ namespaces.

See gardener#4560 for more details.

Previously, only the pod labels were kept as metric labels, the pod name
and the namespace were missing.

Co-authored-by: Wesley Bermbach <wesley.bermbach@sap.com>
Co-authored-by: Istvan Zoltan Ballok <istvan.zoltan.ballok@sap.com>

Co-authored-by: Wesley Bermbach <wesley.bermbach@sap.com>
krgostev pushed a commit to krgostev/gardener that referenced this pull request Jul 5, 2022
The "extensions" and "garden" scrape configuration scrapes the pods that
are marked with an annotation in the garden and extension-.+ namespaces.

See gardener#4560 for more details.

Previously, only the pod labels were kept as metric labels, the pod name
and the namespace were missing.

Co-authored-by: Wesley Bermbach <wesley.bermbach@sap.com>
Co-authored-by: Istvan Zoltan Ballok <istvan.zoltan.ballok@sap.com>

Co-authored-by: Wesley Bermbach <wesley.bermbach@sap.com>
@istvanballok istvanballok deleted the keep-pod-namespace-labels branch July 22, 2022 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/monitoring Monitoring (including availability monitoring and alerting) related kind/enhancement Enhancement, improvement, extension size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants