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

add ScalingPolicyOnErrorScale #623

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

erulabs
Copy link

@erulabs erulabs commented Mar 9, 2023

Addresses feature request #622

Adds a new on_error value for scaling checks which allows on_error = "scale". This value means that when metrics fail to be collected (syntax error, no metrics, datadog downtime), we can specify a check that should fail-safe - ie: scale towards max.

Some context: Datadog outage occurred right around our scale-up time - a lack of metrics meant nomad-autoscaler did nothing. We'd like it to fail open and automatically scale towards max when something has gone wrong.

This is a WIP and is currently missing tests - would love a hand or feedback!

@lgfa29
Copy link
Contributor

lgfa29 commented Mar 10, 2023

Just noting here that there are some discussion in #622. If anyone has more ideas or feedback feel free to include them there 🙂

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.

None yet

2 participants