How to add a. [[inputs.exec]] plugin written in python to Telegraf?

322 Views Asked by At

I have Telegraf, Influxdb and Grafana installed. I was asked to write code to collect some metrics and make new dashboards with them. My script makes outputs in the form: Measurement, tag=value tag=value. Just one line at a time.

I added the script as a plugin to Telegraf but it won't show up in Grafana when I try to make a new dashboard. What could I be missing?

1

There are 1 best solutions below

0
BumblingBabblingBaboon On

My bad, the output format was wrong. It's Measurement,field tag=value

Sorry if I didn't use the correct terms, but I hope everyone understands what I mean.