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

Adds an alert for when GCE costs are >50% of montly average #1063

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nkinkade
Copy link
Contributor

@nkinkade nkinkade commented Oct 16, 2024

As an example, the current daily average for the past 30 days is $11,318. On October 9th, due to the Exactly Labs bug, the Compute Engine costs were $16,965. Using >50% as the threshold would have just caught the Exactly Labs bug (11318 * 1.5 = 16977). Lowering the threshold to >25% would have triggered a false alarm on a few occasions over the past month due to normal variation in Compute Engine costs. We could probably get away with maybe a >40% threshold, but >50% seemed like a nice round number and will catch the more serious increases after a couple days.


This change is Reviewable

Copy link
Contributor

@stephen-soltesz stephen-soltesz left a comment

Choose a reason for hiding this comment

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

Would 40% have caused any false positives? I'm imagining a 40% increase, which is still pretty significant. Alternately, what is the lowest threshold that doesn't generate any false positives in the last 6mo?

Thank you for adding the wiki page summarizing this new alert.

Reviewable status: 0 of 1 approvals obtained

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