open-consul/agent/consul/usagemetrics
Paul Ewing e454a9aae0
usagemetrics: add cluster members to metrics API (#10340)
This PR adds cluster members to the metrics API. The number of members per
segment are reported as well as the total number of members.

Tested by running a multi-node cluster locally and ensuring the numbers were
correct. Also added unit test coverage to add the new expected gauges to
existing test cases.
2021-06-03 08:25:53 -07:00
..
usagemetrics.go usagemetrics: add cluster members to metrics API (#10340) 2021-06-03 08:25:53 -07:00
usagemetrics_oss.go
usagemetrics_oss_test.go usagemetrics: add cluster members to metrics API (#10340) 2021-06-03 08:25:53 -07:00
usagemetrics_test.go usagemetrics: add cluster members to metrics API (#10340) 2021-06-03 08:25:53 -07:00