8 Commits

Author SHA1 Message Date
Matt Jeanes
6af3f1abc1 Add --alert-firing-only parameter to only consider firing alerts 2021-07-27 11:23:10 +01:00
SimeonPoot
c7d5810503 Restructuring Prometheus client, added unit-tests to regex-queries active alerts (#386)
* prometheus labels incl tests

* enable label in main, add log, docs

* revert the option to query by label

* revert the option to query by label

* PromClient instantiate by func,white space removal

* revert whitespace fix for readability.

* revert removal of newlines for readability

* rename New to NewPromClient to improve readability

Co-authored-by: simp <simp@saxobank.com>
2021-07-27 07:09:46 +02:00
Jean-Philippe Evrard
7091debe23 Make lint happier
Without this, golint is complaining about a few cosmetic changes.
This solves it, and is necessary if we want to add a lint test
in CI.
2020-11-05 10:14:39 +01:00
Jean-Philippe Evrard
19bf5bf224 Bump prometheus
This is required by the vendoring of kubectl.
2020-10-15 13:02:39 +02:00
Adam Harrison
02d9b54125 Update client-go and transitive dependencies 2018-10-25 18:06:22 +01:00
Adam Harrison
0f75550a68 Dedupe and sort names of blocking alerts 2017-09-22 14:26:35 +01:00
Adam Harrison
80a254ec1d Improved active alert detection and logging
Zero-valued alerts are now ignored, and the names of the first ten
blocking alerts are logged for diagnostic purposes.
2017-09-20 14:27:22 +01:00
Adam Harrison
8aafc8905e Initial implementation 2017-06-13 17:57:19 +01:00