dhiaayachi / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Other
0 stars 0 forks source link

[CE] feat(v2dns): add v2 style query metrics #1007

Open dhiaayachi opened 3 weeks ago

dhiaayachi commented 3 weeks ago

Description

This PR adds metrics for the V2 DNS server per the RFC. The two V1 metrics are consolidated into "query" with a request type label. There are also some bugfixes to pre-register the staleness metric.

The new metric for queries is added to V1 so there is a migration path.

Testing & Reproduction steps

None really.

PR Checklist

dhiaayachi commented 3 weeks ago

Thanks for the feature request! We appreciate your feedback and are always looking for ways to improve Consul.

At this time, Consul doesn't have V2 style query metrics. You can use Prometheus to track metrics for your Consul cluster, and then create custom metrics for your V2 DNS queries.