wow a lot of changes happend since I set this up in October. I locked down the Prometheus version to 0.16.1, fixed the docker-compose to align the new config commands, and updated the prometheus.yml format to the new standard.
This commit is contained in:
commit
1129344fd8
@ -37,7 +37,11 @@ promdash:
|
|||||||
- /tmp/prom:/tmp/prom
|
- /tmp/prom:/tmp/prom
|
||||||
environment:
|
environment:
|
||||||
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
||||||
|
<<<<<<< HEAD
|
||||||
name: "promdash"
|
name: "promdash"
|
||||||
|
=======
|
||||||
|
name: promdash
|
||||||
|
>>>>>>> 8fd61f32ac17388fe8505e41ddbd2fb91babe945
|
||||||
|
|
||||||
cadvisor:
|
cadvisor:
|
||||||
image: "google/cadvisor"
|
image: "google/cadvisor"
|
||||||
@ -50,4 +54,8 @@ cadvisor:
|
|||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
expose:
|
expose:
|
||||||
- "8080"
|
- "8080"
|
||||||
|
<<<<<<< HEAD
|
||||||
name: "cadvisor"
|
name: "cadvisor"
|
||||||
|
=======
|
||||||
|
name: cadvisor
|
||||||
|
>>>>>>> 8fd61f32ac17388fe8505e41ddbd2fb91babe945
|
||||||
|
@ -14,7 +14,7 @@ rule_files:
|
|||||||
# - "first.rules"
|
# - "first.rules"
|
||||||
# - "second.rules"
|
# - "second.rules"
|
||||||
|
|
||||||
# A scrape configuration containing exactly one endpoint to scrape:
|
# A scrape configuration containing exactly one endpoint to scrape:
|
||||||
# Here it's Prometheus itself.
|
# Here it's Prometheus itself.
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user