Telegraf doubling the metrics

Hi,

I have written some .confs for some metrics, gathering from mostly a MQTT broker. Its been running for a few months and mostly ok with the grafana data being presented. I setup the telegraf monitoring plugin so I can check on how telegraf itself is running. What troubled me was that the metric gathered verses metrics written is doubled. Like every metric is written twice. A bit lost on where to even start with this, almost like its running twice. I checked Telelgraf, only 1 instance running.

Any ideas, or thats normal? I dont know!

What troubled me was that the metric gathered verses metrics written is doubled. Like every metric is written twice.

You are saying metrics written is twice that of metric gathered? Can you share what output you are seeing this from? I assume this is from the inputs.internal?

the main reasons that come to mind are:

  • Writing the same data to multiple outputs
  • Unpivoting points
  • Cloning your points (for whatever reason) during processing

can you share your config?