-
Notifications
You must be signed in to change notification settings - Fork 1
/
prometheus.yaml
41 lines (33 loc) · 915 Bytes
/
prometheus.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
global: # configuracao global
scrape_interval: 15s # intervalo de tempo entre uma coleta de metrica e outra
scrape_timeout: 10s # tempo maximo para coletar metricas
scrape_configs: # configuracao de coleta de metricas
- job_name: prometheus
metrics_path: /prometheus/metrics
static_configs:
- targets:
- prometheus:9090
- job_name: gateway
static_configs:
- targets:
- gateway:8000
- job_name: auth-service
static_configs:
- targets:
- auth-service:8000
- job_name: game-service
static_configs:
- targets:
- game-service:8000
- job_name: tournament-service
static_configs:
- targets:
- tournament-service:8000
- job_name: user-service
static_configs:
- targets:
- user-service:8000
- job_name: stats-service
static_configs:
- targets:
- stats-service:8000