I am trying to configure telegraf to send ActiveMQ Artemis metrics. Could someone provide the correct config for the input plugin.
I can see the queues at this path on my ActiveMQ Artemis server :8261/console/artemis/artemisQueues?nid=root-org.apache.activemq.artemis-0.0.0.0
I am referring to this github post : Report ActiveMQ Artemis metrics using Telegraf jolokia2_agent plugin · Issue #14081 · influxdata/telegraf · GitHub
Found this code snippet. It does not give any errors but i dont see any data being pushed as well.
[[inputs.jolokia2_agent]]
urls = ["http://<artemis-live-instance>:8261/console/jolokia"]
username = "username"
password = "password"
[[inputs.jolokia2_agent.metric]]
name = "artemis"
mbean = "org.apache.activemq.artemis:broker=\"*\",component=addresses,address=\"<queue-prefix>.*\",subcomponent=queues,routing-type=\"anycast\",queue=\"<queue-prefix>.*\""
tag_keys = ["queue", "subcomponent"]