sabnzbd_exporter
sabnzbd_exporter copied to clipboard
api and base url for the py file as question
How do i set the right prometuehes server in the docker command my prometheus server runs on a diffrent machine.
And now i can push the data the exporter gets to a db to load to the grafana dashboard
Is it posible that a question is coming up to enter the api key and base url when tarting to py file for xport
The prometheus server isn't setup in the exporter the exporter is referenced in your prometheus server scrape configuration.
So you tell the exporter where your SAB install is via base url and api key. Then you setup you prometheus scrape to scrape the exporter once it's running with something like this:
- job_name: sabnzbd-exporter
honor_timestamps: true
scrape_interval: 5s
scrape_timeout: 5s
metrics_path: /metrics
scheme: http
follow_redirects: true
static_configs:
- targets:
- <exporter machine name/ip>:9387