Just drop a text file with data in Prometheus format and pass it as a command line arguments on your node exporter.
https://prometheus.io/docs/concepts/data_model/ https://github.com/prometheus/node_exporter/blob/master/README.md On Sat, Mar 7, 2020, 11:01 AM Yagyansh S. Kumar <[email protected]> wrote: > Hi. I am just now able to get my head around the working of textfile > collector. Can someone explain or provide a good link to understand its > working? > > Thanks! > > -- > 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 on the web visit > https://groups.google.com/d/msgid/prometheus-users/19715622-31e6-402e-8497-49448f6f0b95%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/19715622-31e6-402e-8497-49448f6f0b95%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 on the web visit https://groups.google.com/d/msgid/prometheus-users/CAKimyZv_CY647%3D%2BbkJUHEz%2BA1CtRuCxMz5i14d4NN1_GMcD9nQ%40mail.gmail.com.

