alertmanager
alertmanager copied to clipboard
Prometheus alertmanager(v0.22.0/v0.25.0) not exposing alertmanager_cluster_members metrics
What did you do?
The data are showing N/A over here because I didn't get alertmanager_cluster_members metrics exposing by prometehus alertmanager and these are the query
What did you expect to see? I wanted to see this metrics alertmanager_cluster_members
What did you see instead? Under which circumstances?
and this is the way I followed to find metrics
so i'm getting metrics alertmanager_alerts{state="unprocessed"} but did not get those metrics which I wanted Environment
-
System information: windows 10
-
Alertmanager version: v0.25.0
-
Prometheus version: prometheus:v2.27.1
-
Alertmanager configuration file:
As well as we are using alertmanager without HA with launching it like this
exec "/bin/alertmanager"
"--config.file=/etc/alertmanager/alertmanager.yml" \
"--cluster.listen-address="
The alertmanager_cluster_members metric is missing because you are not telling Alertmanager to listen for cluster members at all.
If you want to see the alertmanager_cluster_members metric, you'll need to specify a non-empty --cluster.listen-address (or let it use the default).
This kind of question is better asked on the prometheus-users mailing list.
@ManjhiRaushan please close this issue if the provided answer is sufficient