m-lab / etl-gardener

Gardener provides services for maintaining and reprocessing mlab data.
Apache License 2.0
13 stars 5 forks source link

Initialize jobs total metric on startup. #402

Closed stephen-soltesz closed 2 years ago

stephen-soltesz commented 2 years ago

Recently, we have observed alerts like https://github.com/m-lab/dev-tracker/issues/724 due to longer datatype processing times and existing short alert wait times. We want to know quickly whether the gardener service is down. So, this change initializes the gardener_jobs_total metric at startup so that it exists without interfering with existing alerts.


This change is Reviewable

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 3522


Totals Coverage Status
Change from base Build 3510: 0.01%
Covered Lines: 1532
Relevant Lines: 2067

💛 - Coveralls