Skip to content

Commit

Permalink
Devenv: Fix prometheus config so that it scrapes your dev instance li…
Browse files Browse the repository at this point in the history
…ke before (grafana#32583)

* Devenv: Fix prometheus config so that it scrapes your dev instance like before

* prom1
  • Loading branch information
torkelo authored Apr 1, 2021
1 parent 71a8579 commit e499585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devenv/docker/blocks/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ scrape_configs:

- job_name: 'grafana'
static_configs:
- targets: ['grafana:3000']
- targets: ['localhost:3000']

- job_name: 'prometheus-random-data'
static_configs:
Expand Down
2 changes: 1 addition & 1 deletion devenv/docker/blocks/prometheus2/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ scrape_configs:

- job_name: 'grafana'
static_configs:
- targets: ['grafana:3000']
- targets: ['127.0.0.1:3000']

- job_name: 'prometheus-random-data'
static_configs:
Expand Down

0 comments on commit e499585

Please sign in to comment.