mirror of
https://github.com/hanzoai/o11y.git
synced 2026-11-02 14:03:38 +00:00
- opamp mocks + config parser: koanf v1 monolith -> koanf/v2 + split parser/provider modules, evicting the ambiguous bundled koanf/maps. - pin hanzoai/otel-collector v0.144.13 -> v1.2.0 (koanf-v2, ZAP-native; the v0.144.x tags are stale upstream-numbered, semver-below v1.x). - opamp otelconfig testdata (service.yaml, basic.yaml): stale clickhouse* component names -> datastoretraces / o11ydatastoremetrics (the fork's current registered types; clickhousemetricswrite was removed upstream). Fixes the pre-existing TestServiceConfig failure.
75 lines
1.8 KiB
YAML
75 lines
1.8 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/cumulative:
|
|
metrics_exporter: o11ydatastoremetrics
|
|
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
|
|
o11ydatastoremetrics:
|
|
endpoint: tcp://localhost:9000/o11y_metrics
|
|
resource_to_telemetry_conversion:
|
|
enabled: true
|
|
prometheus:
|
|
endpoint: "0.0.0.0:8889"
|
|
service:
|
|
extensions: [zpages]
|
|
pipelines:
|
|
traces:
|
|
receivers: [jaeger, otlp]
|
|
processors: [o11yspanmetrics/cumulative, batch]
|
|
exporters: [datastoretraces]
|
|
metrics:
|
|
receivers: [otlp, hostmetrics]
|
|
processors: [batch]
|
|
exporters: [o11ydatastoremetrics]
|
|
metrics/spanmetrics:
|
|
receivers: [otlp/spanmetrics]
|
|
exporters: [prometheus] |