Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Conversation

@pracucci
Copy link
Collaborator

@pracucci pracucci commented Jul 6, 2021

What this PR does:
The Ruler and Alertmanager keeps the config in the object storage, but we don't show the object storage metrics in the Ruler and Alertmanager dashboard. This PR fixes it.

Example:

Screenshot 2021-07-06 at 11 38 53

Screenshot 2021-07-06 at 11 38 40

Which issue(s) this PR fixes:
N/A

Checklist

  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@pracucci pracucci requested a review from a team as a code owner July 6, 2021 09:41
)
)
.addRows(
$.getObjectStoreRows('Alertmanager Configuration Object Store (Alertmanager accesses)', 'alertmanager-storage')
Copy link
Contributor

Choose a reason for hiding this comment

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

out of curiosity, what's the second argument of this function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The "component" exposing the metrics, which is the name of the internal component using the object store client (used to differentiate all clients when running in single binary mode).

Copy link
Contributor

Choose a reason for hiding this comment

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

Nice. TIL.

Copy link
Contributor

@gotjosh gotjosh left a comment

Choose a reason for hiding this comment

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

LGTM

@pracucci pracucci merged commit 0b75ccd into main Jul 6, 2021
@pracucci pracucci deleted the add-object-storage-metrics-to-ruler-and-alertmanager-dashboards branch July 6, 2021 12:38
simonswine pushed a commit to grafana/mimir that referenced this pull request Oct 18, 2021
…-storage-metrics-to-ruler-and-alertmanager-dashboards

Aded object storage metrics for Ruler and Alertmanager
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants