Skip to content

Commit

Permalink
chore: change name from prometheus.yml to prometheus yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kckoh committed Jan 21, 2023
1 parent 251b2aa commit 5901b95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
- ./prometheus.yaml:/etc/prometheus/prometheus.yml:ro
networks:
- mynet
grafana:
Expand Down
10 changes: 10 additions & 0 deletions prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']
- job_name: backend
static_configs:
- targets: ['backend:8000']

0 comments on commit 5901b95

Please sign in to comment.