Hi
I need to create “Status” tag keys and try below configuration, but it’s not work as expected.
Telegraf config:
[[inputs.jolokia2_agent.metric]]
name = “MyCustomMetric”
mbean = “AllBeans:category=Color,Name=*”
paths = [“TimeToLive”,“Metric1”,“Metric3”,“Active”,“TimeoutRate”,“Status”]
tag_keys = [“Name”,“Status”]
current output of curl:
curl http://ip:port/jolokia-war-unsecured-1.6.2/read/AllBeans:Name=*,category=Color | jq ‘.’
“AllBeans:Name=Customer,category=Color”: {
“TimeToLive”: 1000,
“Metric1”: 40,
“Metric2”: 0,
“Metric3”: 0,
“Name”: “Customer”,
“Active”: true,
“Status”: “OK”,
current Influx cli result:
> show tag keys from MyCustomMetric
name: MyCustomMetric
tagKey
------
Name
host
jolokia_agent_url
expected Influx cli result:
> show tag keys from MyCustomMetric
name: MyCustomMetric
tagKey
------
Name
host
jolokia_agent_url
Status
Any idea?
Thanks