-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathlading-otel-metrics.yaml
More file actions
63 lines (61 loc) · 2 KB
/
lading-otel-metrics.yaml
File metadata and controls
63 lines (61 loc) · 2 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
generator:
- http:
seed: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53,
59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131]
headers:
content-type: "application/x-protobuf"
target_uri: "http://127.0.0.1:4318/v1/metrics"
bytes_per_second: "50 MiB"
parallel_connections: 5
method:
post:
maximum_prebuild_cache_size_bytes: "1 GiB"
variant:
# all numbers arbitraray
opentelemetry_metrics:
metric_weights:
gauge: 50
sum: 50
contexts:
total_contexts:
constant: 100
# host., service. etc
attributes_per_resource:
inclusive:
min: 1
max: 64
# auto-instrumentation in client libraries, DB connection etc
scopes_per_resource:
inclusive:
min: 1
max: 32
# rare? build info possibly
attributes_per_scope:
inclusive:
min: 0
max: 4
# exported instruments / telemetry by libraries and custom code
metrics_per_scope:
inclusive:
min: 1
max: 128
# stuff like exit code, user id, cgroup id
attributes_per_metric:
inclusive:
min: 0
max: 255
blackhole:
- http:
binding_addr: "127.0.0.1:9091"
- http:
binding_addr: "127.0.0.1:9092"
- http:
binding_addr: "127.0.0.1:4217" # OTLP HTTP endpoint
body_variant: "nothing"
# - grpc:
# binding_addr: "127.0.0.1:4318" # OTLP gRPC endpoint
target_metrics:
- prometheus:
uri: "http://127.0.0.1:8888/metrics" # OTel collector metrics endpoint
tags:
component: "otel-collector"