Ask questionsconsul_autopilot_healthy metric is `NaN`
After upgrading to 1.9, the metric consul_autopilot_healthy
is NaN
. Might be related to https://github.com/hashicorp/consul/issues/9208
The autopilot health endpoint reports the cluster is healthy.
Steps to reproduce this issue, eg:
/v1/agent/metrics?format=prometheus
Linux AMD 64 running on Kubernetes
For additional context, this did not present itself in 1.9-beta1. It might be related to the changes introduced in https://github.com/hashicorp/consul/pull/9198
Answer
questions
lawliet89
Thanks. You're right. 1
is only returned from a single instance which is the leader.
I went back to 1.8.4 to check and only the leader would return 1
and the rest of the agents would return nothing.
If this is expected, please close the issue, although this is a change in behaviour that might trip others up.
Related questions