is there possibility to replication Prometheus?
For example, there are two instances of Prometheus. First of them is turned off and second one takes over his duties. Is it possible? I know there is Federation
, but it this case second one takes samples only when the first one works. I don't want the second one to be the same instance as the first one, but a kind of replica.
You are asking about hot/warm architecture high availability for Prometheus.
There are two aspects to your question:
If HA is really important for you, you'd rather:
If you can afford some small downtime of Prometheus, you can also just let the scheduler re-schedule Prometheus and persist the data (maybe with remote read/write).