-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathotelcol-config.yaml
72 lines (62 loc) · 1.16 KB
/
otelcol-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
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
exporters:
# otlp:
# endpoint: otelcol:4317
loki:
endpoint: ${env:COLLECTOR_LOKI_URL}
auth:
authenticator: bearertokenauth/scw
otlphttp/loki:
endpoint: ${env:LOKI_OLTP_URL}
auth:
authenticator: bearertokenauth/scw
encoding: json
compression: none
otlphttp/tempo:
endpoint: ${env:TEMPO_URL}
auth:
authenticator: bearertokenauth/scw
encoding: json
compression: none
debug:
extensions:
# health_check:
# pprof:
# zpages:
bearertokenauth/scw:
scheme: "Bearer"
token: ${env:SCW_TOKEN}
service:
extensions:
# - health_check
# - pprof
# - zpages
- bearertokenauth/scw
pipelines:
traces:
receivers: [otlp]
processors:
# - batch
exporters:
- otlphttp/tempo
- debug
# metrics:
# receivers: [otlp]
# processors: [batch]
# exporters: [otlp]
logs:
receivers: [otlp]
processors:
# - batch
exporters:
- loki
# - otlphttp/loki
- debug