filodb / FiloDB

Distributed Prometheus time series database
Apache License 2.0
1.43k stars 225 forks source link

feat(query): Add metrics for failover #1856

Closed kvpetrov closed 3 weeks ago

kvpetrov commented 3 weeks ago

Pull Request checklist

Current behavior : (link exiting issues here : https://help.github.com/articles/basic-writing-and-formatting-syntax/#referencing-issues-and-pull-requests)

If query server fails over to the buddy cluster because local FiloDB clusters have shard(s) down no metric is emitted.

New behavior : Now we emit 4 metrics:

BREAKING CHANGES N/A