ZeroTierOne/ext/opentelemetry-cpp-1.21.0/functional/otlp/otel-config-http.yaml
2025-07-11 10:37:21 -07:00

33 lines
545 B
YAML

# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
#
# To use directly:
# otelcol --config ...
#
receivers:
otlp:
protocols:
http:
endpoint: 0.0.0.0:4318
processors:
batch:
memory_limiter:
# 75% of maximum memory up to 4G
limit_mib: 1536
# 25% of limit up to 2G
spike_limit_mib: 512
check_interval: 5s
exporters:
debug:
verbosity: detailed
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [debug]