-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprometheus.yml
More file actions
33 lines (28 loc) · 915 Bytes
/
prometheus.yml
File metadata and controls
33 lines (28 loc) · 915 Bytes
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
global:
scrape_interval: 1s
evaluation_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'temporal-workflow-api'
static_configs:
- targets: ['metrics-server:3000'] # index.ts server
metrics_path: '/metrics'
scrape_interval: 1s
- job_name: 'temporal-worker'
static_configs:
- targets: ['worker:9464'] # worker.ts server
metrics_path: '/metrics'
scrape_interval: 1s
- job_name: 'temporal-client'
static_configs:
- targets: ['client:3001'] # client.ts server
metrics_path: '/metrics'
scrape_interval: 1s
# Uncomment only if Temporal server itself exposes metrics on a proper HTTP port
# - job_name: 'temporal-server'
# static_configs:
# - targets: ['temporal:8080'] # check your temporal config
# metrics_path: '/metrics'
# scrape_interval: 4s