-
Notifications
You must be signed in to change notification settings - Fork 1
/
otel-collector-config.yaml
47 lines (43 loc) · 999 Bytes
/
otel-collector-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
extensions:
#Facultatif
health_check:
pprof:
endpoint: :1888
zpages:
endpoint: :55679
receivers:
# Data sources: traces, metrics, logs
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
#Possible to process data with processors
processors:
resourcedetection:
detectors: [ env, system ]
batch:
send_batch_size: 10000
timeout: 10s
exporters:
otlp/uptrace:
endpoint: http://uptrace:14317
tls: { insecure: true }
headers: { 'uptrace-dsn': 'http://project1_secret_token@localhost:14318?grpc=14317' }
#Pipeline
service:
extensions: [pprof, zpages, health_check]
pipelines:
traces:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlp/uptrace ]
logs:
receivers: [ otlp ]
processors: [ batch ]
exporters: [ otlp/uptrace ]
metrics:
receivers: [ otlp ]
processors: [ batch, resourcedetection ]
exporters: [ otlp/uptrace ]