micrometer-metrics/micrometer

provide a way to exclude some logger from being collected by Log4j2metrics

Open

#6233 aperta il 13 mag 2025

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)Java (935 fork)batch import
enhancementhelp wantedmodule: micrometer-binders

Metriche repository

Star
 (4220 star)
Metriche merge PR
 (Merge medio 1g 21h) (100 PR mergiate in 30 g)

Descrizione

Please describe the feature request.

Now the Log4j2Metrics will count all log events with all levels, that can be noisy if we don't care about some loggers, we don't want the loggers be collected into the log4j.events counters

We are hoping that we can exclude some loggers from being collected by the Log4j2Metrics.

For example:

I don't want the logger of "com.a.b.c" to be collected by the Log4j2Metrics

Guida contributor