mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
b8b3ef02e4
This adds tooling to debug and inspect traces locally, please refer to the README.md in this commit for more details.
54 lines
1.1 KiB
YAML
54 lines
1.1 KiB
YAML
receivers:
|
|
otlp:
|
|
protocols:
|
|
grpc:
|
|
|
|
# Dummy receiver that's never used, because a pipeline is
|
|
# required to have one.
|
|
otlp/spanmetrics:
|
|
protocols:
|
|
grpc:
|
|
endpoint: "localhost:65535"
|
|
|
|
exporters:
|
|
prometheus:
|
|
endpoint: "0.0.0.0:8889"
|
|
|
|
logging:
|
|
|
|
jaeger:
|
|
endpoint: jaeger-all-in-one:14250
|
|
tls:
|
|
insecure: true
|
|
|
|
processors:
|
|
batch:
|
|
spanmetrics:
|
|
metrics_exporter: prometheus
|
|
|
|
extensions:
|
|
health_check:
|
|
pprof:
|
|
endpoint: :1888
|
|
zpages:
|
|
endpoint: :55679
|
|
|
|
service:
|
|
extensions: [zpages, pprof, health_check]
|
|
pipelines:
|
|
traces:
|
|
receivers: [otlp]
|
|
processors: [spanmetrics, batch]
|
|
exporters: [logging, jaeger]
|
|
metrics:
|
|
receivers: [otlp]
|
|
processors: [batch]
|
|
exporters: [logging, prometheus]
|
|
# The exporter name in this pipeline must match the
|
|
# spanmetrics.metrics_exporter name. The receiver is just a
|
|
# dummy and never used; added to pass validation requiring at
|
|
# least one receiver in a pipeline.
|
|
metrics/spanmetrics:
|
|
receivers: [otlp/spanmetrics]
|
|
exporters: [prometheus]
|