You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The job name is added as a label job=<job_name> to any timeseries scraped from this config.
job_name: "prometheus"
metrics_path defaults to '/metrics'
scheme defaults to 'http'.
static_configs:
targets: ["localhost:9090"]
job_name: 'ultrafeeder'
static_configs:
targets: ['ultrafeeder:9273']
I don't know if it's the spacing or the quote marks (and now I have it working I don't want to break it again just to check ;) ) but when I changed it to match the existing format like this:
scrape_configs:
The job name is added as a label job=<job_name> to any timeseries scraped from this config.
job_name: "prometheus"
metrics_path defaults to '/metrics'
scheme defaults to 'http'.
static_configs:
targets: ["localhost:9090"]
job_name: "ultrafeeder"
static_configs:
targets: ["ultrafeeder:9273"]
.. it worked.
The text was updated successfully, but these errors were encountered:
Hi,
After following the instructions at https://sdr-enthusiasts.gitbook.io/ads-b/useful-extras/alternative-graphing-with-prometheus-grafana in section Deploying, my Prometheus container was starting then immediately stopping citing an error in the config file. The 'docker exec -it' command listed produces a prometheus.yml file that ends like this:
scrape_configs:
The job name is added as a label
job=<job_name>
to any timeseries scraped from this config.job_name: "prometheus"
metrics_path defaults to '/metrics'
scheme defaults to 'http'.
static_configs:
job_name: 'ultrafeeder'
static_configs:
targets: ['ultrafeeder:9273']
I don't know if it's the spacing or the quote marks (and now I have it working I don't want to break it again just to check ;) ) but when I changed it to match the existing format like this:
scrape_configs:
The job name is added as a label
job=<job_name>
to any timeseries scraped from this config.job_name: "prometheus"
metrics_path defaults to '/metrics'
scheme defaults to 'http'.
static_configs:
job_name: "ultrafeeder"
static_configs:
.. it worked.
The text was updated successfully, but these errors were encountered: