Skip to content

How to run multiple pushgateway instances #466

Answered by beorn7
hota911 asked this question in Q&A
Discussion options

You must be logged in to vote

tl:dr: Sadly, there is no good way of running multiple Pushgateway instances in a proper HA mode.

Details:

I guess you could just push to n Pushgateway instances, scrape them all, and then do some PromQL magic to extract the relevant metric. But this is quite specific to what you are querying and quite cumbersome.

Generally, the Pushgateway is meant for things like infrequently occurring batch jobs (e.g. your daily DB backup), for which you would set up merely ticketing alerts and not pages that wake someone up. In those cases, it's also OK to not make a broken Pushgateway a page-worthy issue. Then it's kind of OK to rely on K8s to replace a dead instance of the Pushgateway eventually, an…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hota911
Comment options

Answer selected by hota911
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants