micrometer-metrics/micrometer

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

Open

#6.233 aberto em 13 de mai. de 2025

Ver no GitHub
 (7 comments) (0 reactions) (0 assignees)Java (935 forks)batch import
enhancementhelp wantedmodule: micrometer-binders

Métricas do repositório

Stars
 (4.220 stars)
Métricas de merge de PR
 (Mesclagem média 1d 21h) (100 fundiu PRs em 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

Guia do colaborador