telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

Add Master/Slave support for ActiveMQ

Open fabide opened this issue 5 years ago • 2 comments

Feature Request

We use ActiveMQ in Master/Slave mode. Fetching metrics from every Node in a single config and preventing Log flooding whit a master_slave opition would be awesome.

Proposal:

Add urls instead of url and parse from an array as you can see in jolokia2_agent/http input. Add master_slave to prevent flooding the logs when node is in slave mode

Current behavior:

url = "http://127.0.0.1:8161" no master_slave option available

Desired behavior:

urls = ["http://activemq01:8161", "http://activemq02:8161"] master_slave = true/false

Use case:

In my use case we use a single telegraf machine that collects data for our services. Multiple URLs would be perfect for that situation.

fabide avatar Mar 19 '21 08:03 fabide

Hi,

The option to look at multiple URLs does seem like something that would be nice, although you can always add multiple ActiveMQ plugins pointing at each system.

However, I am not certain I fully understand how the master_slave option would work/is necessary? Is the intention to drop any slave-specific metrics that are collected?

Thanks!

powersj avatar Apr 07 '22 20:04 powersj

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

telegraf-tiger[bot] avatar Apr 22 '22 18:04 telegraf-tiger[bot]