diff --git a/infra/otel-collector.yaml b/infra/otel-collector.yaml index 4e207ee..0eaea97 100644 --- a/infra/otel-collector.yaml +++ b/infra/otel-collector.yaml @@ -6,6 +6,16 @@ receivers: http: endpoint: 0.0.0.0:4318 +processors: + memory_limiter: + check_interval: 1s + limit_mib: 256 + spike_limit_mib: 64 + batch: + timeout: 1s + send_batch_size: 256 + send_batch_max_size: 512 + exporters: prometheus: endpoint: 0.0.0.0:9464 @@ -25,10 +35,13 @@ service: pipelines: metrics: receivers: [otlp] + processors: [memory_limiter, batch] exporters: [prometheus] logs: receivers: [otlp] + processors: [memory_limiter, batch] exporters: [opensearch] traces: receivers: [otlp] + processors: [memory_limiter, batch] exporters: [otlp/jaeger]