Hi,
I am wondering if there is a way to let Prometheus check whether the prometheus_bot service is running fine.
Basically, I need an entry into the prometheus up metric, for example:
up{instance="prometheus_bot_instance_name", job="my_job"}
This is useful to allow the monitoring of the monitoring infrastructure.
The use case is the following:
- if the monitoring infrastructure is not working, then I will not receive alerts
- so i need to monitor the monitoring infrastructure, by using a second monitoring infrastructure
- this second infrastructure, will just monitor prometheus, alertmanager, and prometheus_bot of the first infrastructure
- finally, to ensure the second infrastructure is working, the first infrastructure will monitor the second one!
This ensure that as soon as one of the monitoring infrastructures stops to work, the other one will fire a warning.
To have the required up metric, I believe it suffices to provide a /metrics endpoint.
Regards
Hi,
I am wondering if there is a way to let Prometheus check whether the
prometheus_botservice is running fine.Basically, I need an entry into the prometheus
upmetric, for example:This is useful to allow the monitoring of the monitoring infrastructure.
The use case is the following:
This ensure that as soon as one of the monitoring infrastructures stops to work, the other one will fire a warning.
To have the required
upmetric, I believe it suffices to provide a/metricsendpoint.Regards