Files
zooqueen 9d4f1fc9e1 the ZAP receiver binds a socket, and stops when told
Endpoint takes a path or unix:// and binds a Unix socket, so a process on the
same host reaches the agent without a port. A host:port still binds TCP. The
socket is created 0666 and a stale one is removed first; a path over ~100 bytes
is refused with its length, because the kernel rejects it as "invalid argument".

Shutdown closes the listener. It only closed the server, which does not own the
listener Serve is blocked in Accept on, so wg.Wait never returned. The serve
goroutine captures its server and listener rather than reading the fields
Shutdown clears. Start/Shutdown/Start now runs clean 100 times.

conf/default.yaml named clickhousetraces and dialed tcp://clickhouse:9000. The
component registers datastoretraces and the service is datastore, so that
pipeline could not have started.
2026-08-14 17:55:07 -07:00

82 lines
1.9 KiB
YAML

receivers:
otlp/spanmetrics:
protocols:
grpc:
endpoint: "localhost:12345"
otlp:
protocols:
grpc:
http:
jaeger:
protocols:
grpc:
thrift_http:
hostmetrics:
collection_interval: 30s
scrapers:
cpu:
load:
memory:
disk:
filesystem:
network:
processors:
batch:
send_batch_size: 1000
timeout: 10s
o11yspanmetrics/prometheus:
metrics_exporter: prometheus
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
dimensions_cache_size: 10000
dimensions:
- name: service.namespace
default: default
- name: deployment.environment
default: default
# memory_limiter:
# # 80% of maximum memory up to 2G
# limit_mib: 1500
# # 25% of limit up to 2G
# spike_limit_mib: 512
# check_interval: 5s
#
# # 50% of the maximum memory
# limit_percentage: 50
# # 20% of max memory usage spike expected
# spike_limit_percentage: 20
# queued_retry:
# num_workers: 4
# queue_size: 100
# retry_on_failure: true
extensions:
zpages: {}
exporters:
datastoretraces:
datasource: tcp://localhost:9000/o11y_traces
retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 30s
max_elapsed_time: 300s
sending_queue:
enabled: true
queue_size: 100
num_consumers: 5
o11ydatastoremetrics:
dsn: tcp://datastore:9000/o11y_metrics
prometheus:
endpoint: "0.0.0.0:8889"
service:
extensions: [zpages]
pipelines:
traces:
receivers: [jaeger, otlp]
processors: [o11yspanmetrics/prometheus, batch]
exporters: [datastoretraces]
metrics:
receivers: [otlp, hostmetrics]
processors: [batch]
exporters: [o11ydatastoremetrics]
metrics/spanmetrics:
receivers: [otlp/spanmetrics]
exporters: [prometheus]