micrometer-metrics/micrometer
View on GitHubprovide a way to exclude some logger from being collected by Log4j2metrics
Open
#6,233 opened on May 13, 2025
enhancementhelp wantedmodule: micrometer-binders
Repository metrics
- Stars
- (4,220 stars)
- PR merge metrics
- (Avg merge 1d 21h) (100 merged PRs in 30d)
Description
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