Skip to content

Commit

Permalink
fix targets
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed May 1, 2023
1 parent ffb4dc0 commit 4ba0de7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,9 @@ scrape_configs:


- job_name: 'cadvisor'
scrape_interval: 5s
dns_sd_configs:
- names:
- 'tasks.cadvisor'
type: 'A'
port: 8080
scrape_interval: 15s
static_configs:
- targets: ['cadvisor:8080']

# static_configs:
# - targets: ['cadvisor:8080']
Expand All @@ -62,7 +59,7 @@ scrape_configs:
type: 'A'
port: 9091

- job_name: 'postgresql'
- job_name: 'postgresql-exporter'
scrape_interval: 15s
static_configs:
- targets: ['localhost:9187']
- targets: ['postgresql-exporter:9187']

0 comments on commit 4ba0de7

Please sign in to comment.