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

alert on remaining disk instead of utilization #658

Merged
merged 2 commits into from
Jun 14, 2023

Conversation

cdris
Copy link

@cdris cdris commented Jun 9, 2023

Summary

Fixes https://github.com/sigstore/public-good-instance/issues/1246

Swaps the alert to alert on the difference between disk quota and bytes used rather than the disk utilization metric.

Also MQL is a pain.

Creating this as a draft since I don't want to submit until after the staging terraform state issues are resolved.

Signed-off-by: Ceridwen Coghlan <cdriskill@google.com>
Copy link
Contributor

@haydentherapper haydentherapper left a comment

Choose a reason for hiding this comment

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

Awesome work on the MQL!

Looking at the charts, in staging, it looks like there is a DB where free space is currently less than 20 GiB - link

This DB is only 10gb and no longer growing, but I could imagine this would be true for a brand new shard DB also.

What about combining both of these alerts? Alert if disk utilization is > 98% && less than <20 GiB of space.

Signed-off-by: Ceridwen Coghlan <cdriskill@google.com>
@cdris
Copy link
Author

cdris commented Jun 9, 2023

Thanks Hayden, will merge sometime next week once the terraform gods have blessed us by functioning.

@cdris cdris marked this pull request as ready for review June 14, 2023 15:37
@cdris cdris merged commit 12b2ade into sigstore:main Jun 14, 2023
@cdris cdris deleted the cloudsql-alert-fix branch June 14, 2023 15:37
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.

2 participants