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 581a14a commit da9eb0b
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,28 @@ global:
scrape_configs:
- job_name: 'api'
static_configs:
- targets: ['api:5000']
- targets: ['api.default.svc.cluster.local:5000']

- job_name: 'url-shortener'
static_configs:
- targets: ['url-shortener:5001']
- targets: ['url-shortener.default.svc.cluster.local:5001']

- job_name: 'qr-code-generator'
static_configs:
- targets: ['qr-code-generator:5002']
- targets: ['qr-code-generator.default.svc.cluster.local:5002']

- job_name: 'analytics'
static_configs:
- targets: ['analytics:5003']
- targets: ['analytics.default.svc.cluster.local:5003']

- job_name: 'kube-state-metrics'
static_configs:
- targets: ['prometheus-kube-state-metrics:8080']
- targets: ['prometheus-kube-state-metrics.default.svc.cluster.local:8080']

- job_name: 'node-exporter'
static_configs:
- targets: ['prometheus-prometheus-node-exporter.default.svc.cluster.local:9100']

- job_name: 'pushgateway'
static_configs:
- targets: ['prometheus-prometheus-pushgateway.default.svc.cluster.local:9091']

0 comments on commit da9eb0b

Please sign in to comment.