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.

34 lines
805 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'game-session-service'
static_configs:
- targets: ['host.docker.internal:8080']
metrics_path: /metrics
- job_name: 'question-bank-service'
static_configs:
- targets: ['host.docker.internal:8081']
metrics_path: /metrics
- job_name: 'user-service'
static_configs:
- targets: ['host.docker.internal:8082']
metrics_path: /metrics
- job_name: 'leaderboard-service'
static_configs:
- targets: ['host.docker.internal:8083']
metrics_path: /metrics
- job_name: 'gateway-service'
static_configs:
- targets: ['host.docker.internal:8086']
metrics_path: /metrics