-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathzilla.yaml
56 lines (56 loc) · 1.09 KB
/
zilla.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
name: example
bindings:
north_tcp_server:
type: tcp
kind: server
options:
host: 0.0.0.0
port:
- 7114
routes:
- when:
- port: 7114
exit: north_http_server
telemetry:
metrics:
- stream.*
north_http_server:
type: http
kind: server
routes:
- when:
- headers:
:scheme: http
:authority: localhost:7114
exit: north_echo_server
telemetry:
metrics:
- http.*
north_echo_server:
type: echo
kind: server
telemetry:
metrics:
- http.request.size
- http.response.size
- stream.active.received
- stream.active.sent
- stream.opens.received
- stream.opens.sent
- stream.data.received
- stream.data.sent
- stream.errors.received
- stream.errors.sent
- stream.closes.received
- stream.closes.sent
exporters:
stdout_logs_exporter:
type: stdout
prometheus_endpoint:
type: prometheus
options:
endpoints:
- scheme: http
path: /metrics
port: 7190