This implementation follows the pattern that exists in serf for capturing intent queue metrics.
Verification
I verified this change by following the Layer 7 Observability Learn Guide to run prometheus and Grafana and view the metrics in a Grafana Dashboard.
Before
Below you can see that consul_memberlist_queue_Intent (this has since been renamed to consul_memberlist_queue_broadcast) is not available as a metric.
After
Below you can see that consul_memberlist_queue_Intent (this has since been renamed to consul_memberlist_queue_broadcast) is available as a metric and is showing data in the dashboard.
Implementation
This implementation follows the pattern that exists in serf for capturing intent queue metrics.
Verification
I verified this change by following the Layer 7 Observability Learn Guide to run prometheus and Grafana and view the metrics in a Grafana Dashboard.
Before
Below you can see that
consul_memberlist_queue_Intent
(this has since been renamed toconsul_memberlist_queue_broadcast
) is not available as a metric.After
Below you can see that
consul_memberlist_queue_Intent
(this has since been renamed toconsul_memberlist_queue_broadcast
) is available as a metric and is showing data in the dashboard.