Hi All,
We have a linux process which writes variables/statistics
periodically into .csv file. We need to feed/save these
variables/statistics in prometheus so that it can be viewed on Grafana.
Our process periodically writes a new file in a folder(linux virtual
machine).
Folder:
stats_13_12_12_00.csv >>>> written on 13th dec 12 am
stats_13_12_12_05.csv
stats_13_12_12_10.csv
stats_13_12_12_15.csv
stats_13_12_12_20.csv
stats_13_12_12_25.csv
in this example, the interval is 5 min. so next file will be written at
12:30 am.
the contents of the file is given below:
.csv file:
600,200,400,10,"abc",,20
explanation:
total_bytes=600
incoming_bytes=200
outgoing_bytes=400,
error_bytes=10,
interface_name="abc"
invalid_bytes= <no value, so its not applicable>
rejected_bytes = 20
our csv file will just contains the values. the ordering of variables are
fixed. if some variable/statistics is not applicable, then its value will
be undefined (as shown below).
our file will contain a single row. we will hav 3000-4000 such variables in
each file.
do we have any existing node exporter which can read csv file?
if not, any reference on how to write new node exporter?
Regards
Navjyot.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/prometheus-users/6dcf37f9-df51-46b5-ba91-af15758400f3n%40googlegroups.com.