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

Chore/minimize metrics #11

Merged
merged 14 commits into from
Sep 10, 2024
Merged

Chore/minimize metrics #11

merged 14 commits into from
Sep 10, 2024

Conversation

JTaeuber
Copy link
Member

@JTaeuber JTaeuber commented Aug 9, 2024

Motivation

Relates to this issue.

Changes

Wrote a regex to keep only the metrics we're using in our dashboards for the rkeControllerManager, rkeProxy and rkeScheduler.

Tests done

  • deployed chart in staging clusters

@JTaeuber JTaeuber self-assigned this Aug 9, 2024
Copy link
Contributor

@CerRegulus CerRegulus left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Bruno Bressi <[email protected]>
The grafana metrics were not being scraped because of the missing label

Signed-off-by: Bruno Bressi <[email protected]>
Reverted to rc status again to test grafana smon

Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
@CerRegulus
Copy link
Contributor

still LGTM 😄

This common label is expected to be present in general in the prometheus components of the caas-cluster-monitoring stack and so it should also be part of the kube-prometheus stack, so that serviceMonitors and other objects can be picked out-of-the-box

Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
@puffitos
Copy link
Member

puffitos commented Sep 9, 2024

Haha @CerRegulus thanks for the new review. I'm updating the chart to also include some minor fixes (missing grafana metrics, prometheus was missing the release: rancher-monitoring label and some other minor fixes.

@JTaeuber the dashboards look OK. We'll be merging this week I think 👍

@puffitos puffitos removed the request for review from niklastreml September 9, 2024 16:16
@puffitos puffitos added the enhancement New feature or request label Sep 9, 2024
They are not passed down to prometheus pods

Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
Signed-off-by: Bruno Bressi <[email protected]>
@puffitos puffitos merged commit c2e07b4 into main Sep 10, 2024
1 check passed
@puffitos puffitos deleted the chore/minimize-metrics branch September 10, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants