client_golang icon indicating copy to clipboard operation
client_golang copied to clipboard

Add HandlerWithAllowlist which can control exposed metrics

Open CatherineF-dev opened this issue 2 years ago • 0 comments

After adding HandlerWithAllowlist, cilium or other components can exclude high cardinality metrics instead of disabling metrics collection in a running cluster.

context: https://github.com/cilium/cilium/issues/27471

I notice this pr introduces a new dependency (dto "github.com/prometheus/client_model/go"), maybe need to move HandlerWithAllowlist to another file.

CatherineF-dev avatar Aug 12 '23 21:08 CatherineF-dev