-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathotel-local.yaml
45 lines (41 loc) · 988 Bytes
/
otel-local.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
apiVersion: opentelemetry.io/v1alpha1
kind: OpenTelemetryCollector
metadata:
name: local
spec:
mode: deployment
image: ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.95.0
volumes:
- name: logs
volumeMounts:
- mountPath: /tmp/rejekts-local
name: logs
observability:
metrics:
enableMetrics: true
config: |
# our local collector, under our control
extensions:
file_storage:
directory: /tmp/rejekts-local
receivers:
otlp:
protocols:
grpc:
processors:
batch:
exporters:
otlp:
endpoint: backend-collector:5317
sending_queue:
storage: file_storage
queue_size: 600_000 # 1000 logs/sec, 600_000 for 10m
tls:
insecure: true
service:
extensions: [ file_storage ]
pipelines:
logs:
receivers: [otlp]
processors: [batch]
exporters: [otlp]