graylog-labs / graylog-plugin-metrics-reporter

Graylog Metrics Reporter Plugins
https://www.graylog.org/
GNU General Public License v3.0
80 stars 18 forks source link

Add support for regex MetricFilter #8

Closed joschi closed 8 years ago

joschi commented 8 years ago

This PR adds support for specifying the reported metrics as a list of regular expressions in the configuration file of each metrics reporter plugin.

Example (using the statsd metrics reporter plugin):

metrics_statsd_include_metrics = \
    org\.graylog2\.buffers\.(input|output)\..*, \
    org\.graylog2\.throughput\..*

Closes #1

joschi commented 8 years ago

LGTM! 👍

joschi commented 8 years ago

@joschi Thanks!

joschi commented 8 years ago

@joschi You're welcome!