mirror of
https://github.com/hanzoai/otel-collector.git
synced 2026-10-30 18:26:25 +00:00
- Go module: github.com/SigNoz/signoz-otel-collector → github.com/hanzoai/otel-collector - All signoz-prefixed packages → o11y-prefixed - Docker: signoz/* → ghcr.io/hanzoai/otel-collector - ClickHouse exporter → Hanzo Datastore - Env vars: SIGNOZ_* → HANZO_* - Directory renames for all processor/receiver/exporter packages
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
# A minimal configuration where spanprocessor optional config entries are omitted,
|
|
# accepting defaults. Note that metrics are exported directly to prometheus in this case.
|
|
receivers:
|
|
jaeger:
|
|
protocols:
|
|
thrift_http:
|
|
endpoint: "0.0.0.0:14278"
|
|
|
|
# Dummy receiver that's never used, because a pipeline is required to have one.
|
|
otlp/spanmetrics:
|
|
protocols:
|
|
grpc:
|
|
endpoint: "localhost:12345"
|
|
|
|
exporters:
|
|
prometheus:
|
|
endpoint: "0.0.0.0:8889"
|
|
|
|
otlp:
|
|
endpoint: "localhost:4317"
|
|
tls:
|
|
insecure: true
|
|
|
|
processors:
|
|
batch:
|
|
o11yspanmetrics:
|
|
metrics_exporter: prometheus
|
|
|
|
service:
|
|
pipelines:
|
|
traces:
|
|
receivers: [jaeger]
|
|
# spanmetrics will pass on span data untouched to next processor
|
|
# while also accumulating metrics to be sent to the configured 'prometheus' exporter.
|
|
processors: [o11yspanmetrics, batch]
|
|
exporters: [otlp]
|
|
|
|
metrics:
|
|
# This receiver is just a dummy and never used.
|
|
# Added to pass validation requiring at least one receiver in a pipeline.
|
|
receivers: [otlp/spanmetrics]
|
|
# The metrics_exporter must be present in this list.
|
|
exporters: [prometheus]
|