priceserver v0.2

Simple price scraper with HTTP server for use with prometheus

Currently working with exchange but easily adaptable to others.



make install

This will build and install the application to the system, along with the included default config files.

You may then need to edit /etc/priceserver.yml – examples are provided inside the file.

Finally, add priceserver as a prometheus target, by adding the following to the bottom of /etc/prometheus/prometheus.yml

- job_name: 'priceserver'

scrape_interval: 60s

scrape_timeout: 15s


- targets: ['']

Target ip and port needs to be modified to match what you have in /etc/priceserver.yml

(c) 2021 Jamie Prince / /

GPLv2 license


View Github