Files
mtusi2026lab6/bench/otel/tail-typical.yaml
T
ricoromaandClaude Opus 5.5 509afca89e feat: telemetry cost profile with head sampling, coarse buckets and balanced tail sampling
- [telemetry] trace_sample_ratio (ParentBased(TraceIdRatioBased), 1 keeps
  ParentBased(ALWAYS_ON)) and metric_buckets (default|coarse with SLO bounds),
  export interval <= 30 s; otel.sdk.span.started, span.live dropped; startup
  records name ratio, buckets and interval
- bench: telemetry services on mtusi-bench, TELEMETRY=on switch for uploads
  and queue, make bench_telemetry[_quick] with off/full/full-aa/head/tail/
  metrics/balanced, rare events, lookup from Tempo/Loki/Prometheus, cost
  sampler, verdicts H1-H8 and B1-B5; collector layers and lean Prometheus in
  bench/otel with preflight checks
- REPORT: telemetry cost hypotheses and criteria before the label

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 19:17:25 +03:00

34 lines
1.7 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Слой Collector варианта `tail` профиля цены телеметрии (design change
# track1-telemetry-cost, решения 2 и 6): типовой tail sampling, каким его
# включают по документации, — трассы со span в статусе ошибки, трассы не
# короче 0,25 с (граница SLO задержки, slo-alerts SA-1) и 10 % остальных.
# Остальное по умолчанию: decision_wait 30 с, num_traces 50 000, кэшей решений
# нет. Только для стенда bench/: рабочий стенд — со всеми трассами (решение 5).
#
# Запуск — вторым `--config` после infra/otel/collector.yaml: карты сливаются,
# списки заменяются. Слой меняет только процессор выбора трасс и список
# процессоров pipeline трасс; это проверяет run.py до стенда (validate и
# сравнение print-config со слоем и без него, решение 6).
processors:
tail_sampling:
policies:
- name: errors
type: status_code
status_code:
status_codes: [ERROR]
# длительность трассы целиком: у асинхронной цепочки загрузки
# (API → relay → worker) она больше 0,25 с всегда
- name: slow-traces
type: latency
latency:
threshold_ms: 250
- name: rest
type: probabilistic
probabilistic:
sampling_percentage: 10
service:
pipelines:
traces:
processors: [memory_limiter, tail_sampling, batch]