aws / amazon-mwaa-docker-images

Apache License 2.0
24 stars 11 forks source link

Make auto scaling metrics report zero #94

Closed rafidka closed 3 months ago

rafidka commented 3 months ago

Issue #, if available: N/A

Description of changes:

Currently, our code doesn't publish a metric in case there is nothing to report, instead of reporting 0. This commit changes it such that we always report a value. This helps us confirm that the auto scaling code is working, just there is nothing to do, as opposed to seeing no metric, which makes it difficult to know when there is an issue with our logic.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.