spinscale / elasticsearch-graphite-plugin

[UNMAINTAINED] Elasticsearch plugin which pushes data to a graphite server
Do What The F*ck You Want To Public License
66 stars 32 forks source link

metrics.graphite.exclude regexp #15

Closed mohierf closed 9 years ago

mohierf commented 9 years ago

Any example on how to use this parameter should be appreciated ...

I would like to filter the metrics associated to all the indexes in my ES. I then tried :

metrics.graphite.prefix: knm.elasticsearch.ipmfrance
knm.elasticsearch.ipmfrance.[indexes|search].*

to filter the indexes and search metrics but the service does not send any metric to Graphite.

I also tried :

metrics.graphite.exclude: knm.elasticsearch.ipmfrance.indexes.*
metrics.graphite.exclude: knm.elasticsearch.ipmfrance.search.*

but no more success because I receive all the indexes metrics.

spinscale commented 9 years ago

it is a single configuration setting.

I added an example test to make sure it is easier to understand, see here. Please open a new PR to add docs...

If there is something missing and it is actually a bug, please file a new issue