Having only [[outputs.prometheus_client]] in telegraf.conf and not sending metrics to influxdb


Is there a possibility if I set the [[outputs.prometheus]] inside telegraf.conf to have the metrics ony in format prometheus without influxdb format sent to the database (influxdb)?
To work like an exporter in fact, collect metrics from some scripts and export them as float in prometheus format without defining influxdb database in telegraf.conf.

Kind Regards,

Sure, all you need to do is remove the definition for the influxdb output.

1 Like

Thank you Daniel I’ll do this.