sure, you can configure prometheus to scrape the reef-pi metrics like this:Not to bother your build thread.. ( and by the way it looks awesome!) Could you share your prometheus.yml file... I am a hack at best and have it up and running and can play with "data that it points too" but for the life of me I cant figure out how to connect it to ".../x/metrics".. we can take it over to the Reef-pi forum as well.
Sorry to hi-jink.
Code:
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
scrape_configs:
- job_name: 'reefer-300xl-app'
metrics_path: '/x/metrics'
static_configs:
- targets: ['<IP of reef-pi server>']