otel-config-http.yaml 545 B

123456789101112131415161718192021222324252627282930313233
  1. # Copyright The OpenTelemetry Authors
  2. # SPDX-License-Identifier: Apache-2.0
  3. #
  4. # To use directly:
  5. # otelcol --config ...
  6. #
  7. receivers:
  8. otlp:
  9. protocols:
  10. http:
  11. endpoint: 0.0.0.0:4318
  12. processors:
  13. batch:
  14. memory_limiter:
  15. # 75% of maximum memory up to 4G
  16. limit_mib: 1536
  17. # 25% of limit up to 2G
  18. spike_limit_mib: 512
  19. check_interval: 5s
  20. exporters:
  21. debug:
  22. verbosity: detailed
  23. service:
  24. pipelines:
  25. traces:
  26. receivers: [otlp]
  27. processors: [memory_limiter, batch]
  28. exporters: [debug]