mirror of
https://github.com/zoriya/snow.git
synced 2026-08-15 18:44:14 +00:00
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
apiVersion: opentelemetry.io/v1beta1
|
|
kind: OpenTelemetryCollector
|
|
metadata:
|
|
name: otel
|
|
spec:
|
|
mode: daemonset
|
|
config:
|
|
receivers:
|
|
hostmetrics:
|
|
scrapers:
|
|
cpu:
|
|
disk:
|
|
filesystem:
|
|
load:
|
|
memory:
|
|
network:
|
|
process:
|
|
processes:
|
|
paging:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
endpoint: 0.0.0.0:4317
|
|
http:
|
|
endpoint: 0.0.0.0:4318
|
|
|
|
processors:
|
|
memory_limiter:
|
|
check_interval: 5s
|
|
limit_mib: 4000
|
|
spike_limit_mib: 500
|
|
batch:
|
|
send_batch_size: 2000
|
|
send_batch_max_size: 2000
|
|
timeout: 5s
|
|
|
|
exporters:
|
|
debug: {}
|
|
|
|
extensions:
|
|
health_check:
|
|
endpoint: 0.0.0.0:13133
|
|
pprof:
|
|
endpoint: 0.0.0.0:1777
|
|
zpages:
|
|
endpoint: 0.0.0.0:55679
|
|
|
|
service:
|
|
extensions: [health_check, pprof, zpages]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [memory_limiter, batch]
|
|
exporters: [debug]
|
|
metrics:
|
|
receivers: [otlp, hostmetrics]
|
|
processors: [memory_limiter, batch]
|
|
exporters: [debug]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [memory_limiter, batch]
|
|
exporters: [debug]
|