I'm trying to organize my metrics into grafana with collectd.
When I use the GenericJMX plugin collectd includes GenericJMX
as part of the metric name.
How do I configure collectd to not include GenericJMX
?
You might work with a rename rule like this:
<Chain "PreCache">
<Rule "rename_jmx">
<Match "regex">
Plugin "^GenericJMX$"
</Match>
<Target "set">
Plugin "java"
</Target>
</Rule>
</Chain>
This will rename 'GenericJMX' to 'java'.
Hope it helps!