cloudflare-exporter icon indicating copy to clipboard operation
cloudflare-exporter copied to clipboard

Implement metrics denylist

Open almirmcunhajr opened this issue 3 years ago • 1 comments

The exporter metrics cardinality exceeds 30k, and we don't need some metrics to be exported. A metrics denylist may help us to take more control over the cardinality.

The strategy is to not auto-register metrics when declaring, and register only when not presented in the denylist.

For the future, we should consider using a custom collector to follow the good practices as explained here: https://prometheus.io/docs/instrumenting/writing_exporters/#collectors

almirmcunhajr avatar Sep 16 '22 14:09 almirmcunhajr

when is it going to be merged ?

varuzam avatar Nov 29 '22 09:11 varuzam