coredns/plugin/kubernetes/object
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
..
endpoint.go fix ports panic (#6179) 2023-06-26 09:42:03 -04:00
informer.go update informer for client-go 0.27 (#6038) 2023-04-20 13:24:06 -04:00
metrics.go Enable Prometheus native histograms (#6524) 2024-03-11 16:09:09 -04:00
namespace.go auto go fmt 2021-08-02 10:29:33 +00:00
object.go Bump Kubernetes to 1.24 (#5364) 2022-05-04 13:38:21 -04:00
pod.go add client labels to k8s plugin metadata (#6475) 2024-03-07 14:34:09 -05:00
service.go add golangci-lint linter (#5499) 2022-07-10 11:06:33 -07:00