Hi,
I want to limit the tags for the cassandra metrics by jolokia2_agent
[[outputs.prometheus_client]]
listen = ":9273"
[[processors.tag_limit]]
limit = 10
keep = ["az", "region"]
[[inputs.jolokia2_agent]]
urls = ["http://localhost:7777/jolokia"]
[[inputs.jolokia2_agent.metric]]
name = "cassandra_internal"
mbean = "org.apache.cassandra.internal:*"
[[inputs.jolokia2_agent.metric]]
name = "cassandra_metrics"
mbean = "org.apache.cassandra.metrics:name=*,scope=*,type=DroppedMessage"
[[inputs.jolokia2_agent.metric]]
name = "cassandra_db"
mbean = "org.apache.cassandra.db:*"
metrics produced by org.apache.cassandra.db:* have around 1800 tags. I want to reduce these tags. I have tried processors.tag_limit. But this doesn’t seem to work here.
2022-05-13T14:01:18Z I! Starting Telegraf 1.13.4
2022-05-13T14:01:18Z I! Loaded inputs: exec exec exec exec exec cpu jolokia2_agent
2022-05-13T14:01:18Z I! Loaded aggregators:
2022-05-13T14:01:18Z I! Loaded processors: tag_limit
2022-05-13T14:01:18Z I! Loaded outputs: prometheus_client
in logs I can see Loaded processors.
Am I doing something wrong? how to limit tags for jolokia2_agent.metrics?