Skip to content

Add storage path size prometheus gauge#3768

Merged
dmanjunath merged 1 commit into
masterfrom
dm-disk-space-prometheus
Aug 26, 2022
Merged

Add storage path size prometheus gauge#3768
dmanjunath merged 1 commit into
masterfrom
dm-disk-space-prometheus

Conversation

@dmanjunath

Copy link
Copy Markdown
Contributor

Description

Add a storage size metric in Prometheus. This will allow us to graph % utilized disk across all content nodes and find out how much storage capacity we've used network wide.

Tests

Tested locally and verified that metric shows up correctly in prometheus_metrics endpoint
Cursor_and_34_71_45_6_4000_prometheus_metrics

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

Will add a grafana panel and alert on stage/prod

@dmanjunath dmanjunath marked this pull request as ready for review August 26, 2022 01:20
@dmanjunath dmanjunath requested a review from jonaylor89 August 26, 2022 01:22

@jonaylor89 jonaylor89 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't have a ton of context on the health check stuff but all the prometheus stuff looks right. I played around with the health check portion and it seems to make sense.

Since it works locally and it a relatively small PR - LGTM

@dmanjunath dmanjunath merged commit 432caa7 into master Aug 26, 2022
@dmanjunath dmanjunath deleted the dm-disk-space-prometheus branch August 26, 2022 02:02

@SidSethi SidSethi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this should def be recorded from inside monitors queue instead of on every health check, but should be fine for now

have backlog card for this

@dharit-tan dharit-tan mentioned this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants