Add option to exclude metrics
The disk metrics of persistent caches were taking a long time to collect
(> 1 minute in some cases). This could block several threads, when
trying to scrape the metrics.
This change ports the commit a7d491a94ae5675b3582aa2f5636d72ae4969c8b of
the metrics-reporter-jmx plugin to this plugin. This change allows to
configure which metrics to exclude from reporting using regular
This allows to exclude problematic or unwanted metrics, thereby allowing
to avoid the issue described above.
2 files changed