forked from linkerd/linkerd2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.prometheus.dev.yml
38 lines (35 loc) · 953 Bytes
/
.prometheus.dev.yml
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
# used in docker-compose configurations
global:
scrape_interval: 10s
scrape_configs:
- job_name: 'conduit-controller'
static_configs:
- targets:
- 'destination:9999'
- 'prometheus:9090'
- 'proxy-api:9996'
- 'public-api:9995'
- 'tap:9998'
- 'web:9994'
relabel_configs:
- action: labelmap
regex: __address__
replacement: component
- action: replace
source_labels: [component]
regex: ^(.*):.*$
target_label: component
- job_name: 'conduit-proxy'
static_configs:
# use this to generate: https://play.golang.org/p/e7uvgT5sUo9
- targets:
- 'simulate-proxy:10000'
- 'simulate-proxy:10001'
- 'simulate-proxy:10002'
- 'simulate-proxy:10003'
- 'simulate-proxy:10004'
- 'simulate-proxy:10005'
- 'simulate-proxy:10006'
- 'simulate-proxy:10007'
- 'simulate-proxy:10008'
- 'simulate-proxy:10009'