Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Read csv file using Prometheus

Tags:

csv

prometheus

I have data in csv formate, I want to add that data into prometheus please any help me. Are there any exporter exist or API etc.

like image 683
Mehmood ulhassan Avatar asked Dec 06 '25 18:12

Mehmood ulhassan


1 Answers

You need an exporter that exposes the data from the CSV files over HTTP in Prometheus format, so that Prometheus can scrape it.

See, for example, https://github.com/stohrendorf/csv-prometheus-exporter if it does what you want.

Alternatively, you can expose the raw data directly from your application with a Prometheus client library or use this to create your own customised exporter.

like image 59
weibeld Avatar answered Dec 08 '25 14:12

weibeld



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!