Skip to content

Commit

Permalink
Update prometheus.yml (update to new manager hostnames)
Browse files Browse the repository at this point in the history
  • Loading branch information
adeveloper-wq committed May 27, 2024
1 parent 2b0c2f4 commit a1ad500
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ scrape_configs:
params:
api_key: ['TRACKING_SERVICE_API_KEY']
static_configs:
- targets: ['tracking-service:8000']
- targets: ['tracking-service-manager:8000']
- job_name: 'predictor-nginx'
metrics_path: /metrics.txt
static_configs:
Expand All @@ -28,20 +28,13 @@ scrape_configs:
- job_name: 'node' # 'node' is Required by dashboard
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'biker-swarm-monitor'
metrics_path: /crashReports/metrics
# Add the api key to the GET params.
params:
api_key: ['BIKER_SWARM_MONITOR_API_KEY']
static_configs:
- targets: ['biker-swarm-monitor:8000']
- job_name: 'load-service'
metrics_path: /monitoring/metrics
# Add the api key to the GET params.
params:
api_key: ['LOAD_SERVICE_API_KEY']
static_configs:
- targets: ['load-service:8000']
- targets: ['load-service-manager:8000']
- job_name: 'traefik-metrics'
metrics_path: '/metrics'
static_configs:
Expand Down

0 comments on commit a1ad500

Please sign in to comment.