micrometer-metrics/micrometer

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

Ouverte

#6 233 ouverte le 13 mai 2025

 (7 commentaires) (0 réaction) (0 personne assignée)Java (1 135 forks)batch import
enhancementhelp wantedmodule: micrometer-binders

Métriques du dépôt

Stars
 (4 881 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur