45 lines
858 B
YAML
45 lines
858 B
YAML
# docker run -p 4317:4317 --network host --rm -v $(pwd)/tests/resources/otel/otel-collector-config.yaml:/etc/otelcol/config.yaml otel/opentelemetry-collector
|
|
|
|
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
|
|
exporters:
|
|
zipkin:
|
|
endpoint: "http://zipkin-all-in-one:9411/api/v2/spans"
|
|
format: proto
|
|
|
|
otlp:
|
|
endpoint: jaeger-all-in-one:4317
|
|
tls:
|
|
insecure: true
|
|
debug:
|
|
verbosity: detailed
|
|
|
|
processors:
|
|
batch:
|
|
|
|
extensions:
|
|
health_check:
|
|
pprof:
|
|
endpoint: :1888
|
|
zpages:
|
|
endpoint: :55679
|
|
|
|
service:
|
|
extensions: [pprof, zpages, health_check]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [zipkin, otlp]
|
|
logs:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [debug]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [debug]
|