-
Notifications
You must be signed in to change notification settings - Fork 2.5k
/
Copy pathconfig.yaml
80 lines (80 loc) · 1.97 KB
/
config.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
signalfx:
access_token: testToken
realm: ap0
signalfx/allsettings:
access_token: testToken
realm: "us1"
timeout: 2s
max_idle_conns: 70
max_idle_conns_per_host: 70
sending_queue:
enabled: true
num_consumers: 2
queue_size: 10
retry_on_failure:
enabled: true
initial_interval: 10s
max_interval: 60s
max_elapsed_time: 10m
headers:
added-entry: "added value"
dot.test: test
access_token_passthrough: false
translation_rules:
- action: rename_dimension_keys
mapping:
k8s.cluster.name: kubernetes_cluster
- action: drop_dimensions
dimension_pairs:
foo:
foo1:
bar: true
- action: drop_dimensions
metric_name: metric
dimension_pairs:
foo:
foo1:
bar: true
- action: drop_dimensions
metric_names:
metric1: true
metric2: true
dimension_pairs:
foo:
foo1:
bar: true
exclude_metrics:
- metric_name: metric1
- metric_names: [metric2, metric3]
- metric_name: metric4
dimensions:
dimension_key: dimension_val
- metric_name: metric5
dimensions:
dimension_key: [dimension_val1, dimension_val2]
# Apart from exact matches these fields also take regex and globs
- metric_name: /cpu\..*/
- metric_names: [cpu.util*, memory.util*]
- metric_name: cpu.utilization
dimensions:
container_name: /^[A-Z][A-Z]$/
include_metrics:
- metric_name: metric1
- metric_names: [metric2, metric3]
log_dimension_updates: true
dimension_client:
max_buffered: 1
send_delay: 1h
max_idle_conns: 100
max_idle_conns_per_host: 10
max_conns_per_host: 10000
idle_conn_timeout: 2h
exclude_properties:
- property_name: globbed*
- property_value: '!globbed*value'
- dimension_name: globbed*
- dimension_value: '!globbed*value'
- property_name: globbed*
property_value: '!globbed*value'
dimension_name: globbed*
dimension_value: '!globbed*value'