Files
moby/otelcol-ci-config.yml
Cory Snider 517ae20be8 .github: collect all the OTEL traces
Jaeger does not make it easy to dump all the collected trace spans from
all services at once. Switch to using the OpenTelemetry Collector with
the OTLP File exporter which writes the traces straight to disk in a
format that Jaeger UI can natively consume.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2025-11-21 18:12:25 -05:00

25 lines
427 B
YAML

receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
exporters:
file:
flush_interval: 1s
rotation:
max_megabytes: 18 # Jaeger will reject file uploads larger than 20MB by default
# path: /data/metrics.json
service:
pipelines:
traces:
receivers: [otlp]
processors: [batch]
exporters: [file]