You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
912 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['prometheus:9090']
- job_name: 'gateway-service'
metrics_path: /metrics
static_configs:
- targets: ['gateway-service:18086']
- job_name: 'game-session-service'
metrics_path: /metrics
static_configs:
- targets: ['game-session-service:8080']
- job_name: 'question-bank-service'
metrics_path: /metrics
static_configs:
- targets: ['question-bank-service:8081']
- job_name: 'user-service'
metrics_path: /metrics
static_configs:
- targets: ['user-service:8082']
- job_name: 'leaderboard-service'
metrics_path: /metrics
static_configs:
- targets: ['leaderboard-service:8083']
- job_name: 'admin-service'
metrics_path: /metrics
static_configs:
- targets: ['admin-service:8085']