-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotel-config.yaml
44 lines (39 loc) · 931 Bytes
/
otel-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
extensions:
memory_ballast:
size_mib: 512
zpages:
endpoint: localhost:55679
receivers:
otlp:
protocols:
http:
cors:
allowed_origins: [ "http://localhost:8888" ]
allowed_headers: ["*"]
endpoint: localhost:4318
processors:
batch:
memory_limiter:
# 75% of maximum memory up to 4G
limit_mib: 1536
# 25% of limit up to 2G
spike_limit_mib: 512
check_interval: 5s
resource:
attributes:
- key: workspace.id
value: ${env:WORKSPACE_ID}
action: insert
exporters:
logging:
verbosity: detailed
otlphttp:
traces_endpoint: "https://telemetry.mentoracademy.org/telemetry-edtech-labs-si-umich-edu/dev/otel"
compression: none
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch, resource]
exporters: [logging, otlphttp]
extensions: [memory_ballast, zpages]