-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathmigration-receiver-v2.yaml
More file actions
351 lines (351 loc) · 9.37 KB
/
Copy pathmigration-receiver-v2.yaml
File metadata and controls
351 lines (351 loc) · 9.37 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
version: "2.0"
policy:
default_action: exclude
match_order: first_match_wins
poll_interval: 0s
min_process_age: 5s
rules:
- action: exclude
name: exclude-obi-and-collectors
description: Exclude OBI and collector binaries to avoid self-instrumentation and collector recursion.
match:
process:
exe_path_glob:
- '{*/obi,obi,*otelcol,*otelcol-contrib,*otelcol-contrib[!/]*}'
- action: exclude
name: exclude-system-namespaces
description: Exclude common platform/system Kubernetes namespaces from instrumentation by default.
match:
kubernetes:
namespace_glob:
- kube-system
- kube-node-lease
- local-path-storage
- cert-manager
- monitoring
- gke-connect
- gke-gmp-system
- gke-managed-cim
- gke-managed-filestorecsi
- gke-managed-metrics-server
- gke-managed-system
- gke-system
- gke-managed-volumepopulator
- gatekeeper-system
- action: exclude
name: exclude-otlp-exporters
description: Exclude services that already export OTLP to prevent duplicate telemetry pipelines.
match:
process:
exports_otlp:
port: 4317
protocol: protobuf
- action: include
name: ""
description: ""
match:
process:
open_ports: "8080"
exe_path_glob:
- /srv/cart-*
instrumentation:
http:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
track_request_headers: false
request_timeout: 0s
go_http_client_buffer_timeout: 1s
buffer_size: 0
routes:
incoming:
unmatched: heuristic
patterns:
- /cart/{id}
ignored_patterns:
- /health
ignore_mode: all
wildcard_char: '*'
max_path_segment_cardinality: 10
outgoing:
unmatched: heuristic
patterns:
- /cart/{id}
ignored_patterns:
- /health
ignore_mode: all
wildcard_char: '*'
max_path_segment_cardinality: 10
discovery:
timeout: 10s
disabled_languages: []
java:
delay: 5s
payload_extraction:
enabled: []
sqlpp:
endpoint_patterns:
- /query/service
enrichment:
policy:
default_action:
headers: exclude
body: exclude
obfuscation_string: '***'
rules: []
openai_compatible:
gateways: []
grpc:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
sql:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
heuristic_detect: false
mysql:
buffer_size: 0
prepared_statements_cache_size: 1024
postgres:
buffer_size: 0
prepared_statements_cache_size: 1024
mssql:
buffer_size: 0
prepared_statements_cache_size: 1024
redis:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
db_cache:
enabled: false
max_size: 1000
kafka:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
buffer_size: 0
topic_uuid_cache_size: 1024
mongo:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
requests_cache_size: 1024
couchbase:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
db_cache_size: 1024
dns:
enabled:
traces: false
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
request_timeout: 5s
gpu:
enabled:
traces: false
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
enabled_mode: auto
aerospike:
enabled:
traces: true
metrics: true
filters:
traces:
http.request.method:
not_match: OPTIONS
metrics:
http.request.method:
not_match: OPTIONS
runtimes:
go:
enabled: true
nodejs:
enabled: true
java:
enabled: true
debug:
enabled: false
bytecode_instrumentation: false
attach_timeout: 10s
network:
capture:
enabled: false
source: socket_filter
buffer_size: 0
endpoint_identity:
agent_ip: ""
agent_ip_interface: external
agent_ip_family: any
selection:
interfaces:
include: []
exclude:
- lo
protocols:
include: []
exclude: []
direction: both
cidrs: []
filters:
traces: {}
metrics: {}
flow_lifecycle:
max_tracked_flows: 5000
active_timeout: 5s
deduplication:
strategy: first_come
first_come_ttl: 0s
sampling: 0
guess_ports: disable
interface_discovery:
mode: watch
poll_interval: 10s
enrichment:
geo_ip:
ipinfo:
path: ""
maxmind:
country_path: ""
asn_path: ""
cache:
size: 512
ttl: 1h0m0s
reverse_dns:
mode: none
cache:
size: 256
ttl: 1h0m0s
diagnostics:
print_flows: false
stats:
enabled: false
features: []
endpoint_identity:
agent_ip: ""
agent_ip_interface: external
agent_ip_family: any
selection:
cidrs: []
filters:
traces: {}
metrics: {}
enrichment:
geo_ip:
ipinfo:
path: ""
maxmind:
country_path: ""
asn_path: ""
cache:
size: 512
ttl: 1h0m0s
reverse_dns:
mode: none
cache:
size: 256
ttl: 1h0m0s
diagnostics:
print_stats: false
limits:
network_packets: 5000
metric_span_names: 100
engine:
debug:
bpf: false
protocol_print: false
pid_filter:
disabled: false
batching:
wakeup_len: 500
batch_length: 100
batch_timeout: 1s
propagation:
context_propagation: disabled
override_bpfloop_enabled: false
disable_black_box_cp: false
traffic:
control_backend: auto
high_request_volume: false
force_map_reader: auto
transactions:
max_duration: 5m0s
maps:
global_scale_factor: 0
bpf_filesystem:
path: /sys/fs/bpf/
safety:
enforce_system_capabilities: false
channels:
buffer_len: 50
send_timeout: 1m0s
panic_on_send_timeout: false
telemetry:
traces:
reporters_cache_len: 256
metrics:
reporters_cache_len: 256
ttl: 5m0s