forked from transferwise/prometheus-envoy-dashboards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
statsd_exporter.yml
45 lines (45 loc) · 1.37 KB
/
statsd_exporter.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
39
40
41
42
43
44
45
mappings: # Requires statsd exporter >= v0.6.0 since it uses the "drop" action.
- match: 'envoy.cluster.*.upstream_cx_connect_ms'
name: "envoy_cluster_upstream_cx_connect_time"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.cluster.*.upstream_cx_length_ms'
name: "envoy_cluster_upstream_cx_length"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.cluster.*.upstream_rq_time'
name: "envoy_cluster_upstream_rq_time"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.cluster.*.internal.upstream_rq_time'
name: "envoy_cluster_internal_upstream_rq_time"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.cluster.*.external.upstream_rq_time'
name: "envoy_cluster_external_upstream_rq_time"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.cluster.*.canary.upstream_rq_time'
name: "envoy_cluster_canary_upstream_rq_time"
timer_type: 'histogram'
labels:
cluster_name: "$1"
- match: 'envoy.http.*.downstream_cx_length_ms'
name: "envoy_http_downstream_cx_length"
timer_type: 'histogram'
labels:
http_conn_manager_prefix: "$1"
- match: 'envoy.http.*.downstream_rq_time'
name: "envoy_http_downstream_rq_time"
timer_type: 'histogram'
labels:
http_conn_manager_prefix: "$1"
- match: '.'
match_type: 'regex'
action: 'drop'
name: 'dropped'