Prometheus - agent install guide
Eyer uses Influx Telegraf to scrape Prometheus endpoints and transmit the data to our platform.
Please read the prerequisites Prerequisites - data collectors
Download and install Influx Telegraf. Influx Telegraf is one of the most used open source agents to collect metrics from sensors and systems. See
Telegraf for more information. Make sure you download the version corresponding to your OS.Download the telegraf_prometheus.conf configuration file from Eyer.
Open the telegraf_prometheus.conf file and navigate to the [[inputs.prometheus]] section. Add the Prometheus endpoints that you want Eyer to monitor.
Navigate to the “Output plugins” section. Insert your Eyer apiTokenPush in the “authenticate” line as seen below
authenticate = "apiTokenPush"Save the config.
Register the Telegraf agent as a service and start it (see instructions per OS). With Windows use
.\telegraf.exe --config "C:\Program Files\InfluxData\telegraf\telegraf_prometheus.conf" service install