coredns/plugin/metrics/vars
Ben Kochie 0d6e113f90
Enable Prometheus native histograms (#6524)
Add a NativeHistogramBucketFactor parameter to the use of
`NewHistogramVec` in order to enable use of Prometheus Native
Histograms.

This will store automatically computed sparse buckets in CoreDNS.
If a compatible Prometeus requests native histograms this data will
returned instead of the static buckets.

The default factor of 1.05 should provide high quality resolution data.

Signed-off-by: SuperQ <superq@gmail.com>
2024-03-11 16:09:09 -04:00
..
monitor.go plugin/metrics: support HTTPS qType in requests count metric label (#4934) 2021-10-28 08:50:23 +00:00
report.go plugin/view: Advanced routing interface and new 'view' plugin (#5538) 2022-09-08 14:56:27 -04:00
vars.go Enable Prometheus native histograms (#6524) 2024-03-11 16:09:09 -04:00