Skip to content

Commit

Permalink
update prometheus.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
prajjwalyd committed Jul 12, 2024
1 parent e604cd3 commit 581a14a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ global:
scrape_configs:
- job_name: 'api'
static_configs:
- targets: ['api-service:5000']
- targets: ['api:5000']

- job_name: 'url-shortener'
static_configs:
- targets: ['url-shortener-service:5001']
- targets: ['url-shortener:5001']

- job_name: 'qr-code-generator'
static_configs:
- targets: ['qr-code-generator-service:5002']
- targets: ['qr-code-generator:5002']

- job_name: 'analytics'
static_configs:
- targets: ['analytics-service:5003']
- targets: ['analytics:5003']

- job_name: 'kube-state-metrics'
static_configs:
- targets: ['prometheus-kube-state-metrics:8080']

0 comments on commit 581a14a

Please sign in to comment.