micrometer-metrics/micrometer

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

開放

#6,233 建立於 2025年5月13日

 (7 則留言) (0 個反應) (0 位負責人)Java (1,135 個分叉)batch import
enhancementhelp wantedmodule: micrometer-binders

倉庫指標

星標
 (4,881 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南