micrometer-metrics/micrometer

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

Open

#6,233 创建于 2025年5月13日

在 GitHub 查看
 (7 评论) (0 反应) (0 负责人)Java (935 fork)batch import
enhancementhelp wantedmodule: micrometer-binders

仓库指标

Star
 (4,220 star)
PR 合并指标
 (平均合并 1天 21小时) (30 天内合并 100 个 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

贡献者指南