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>
This commit is contained in:
+9
-1
@@ -193,7 +193,15 @@ failure_pause_seconds = 2
|
||||
# применяют. Переменные OTEL_* настройками не являются.
|
||||
# deployment.environment.name ресурса
|
||||
environment = "lab"
|
||||
# секунды между отправками метрик
|
||||
# доля корней трасс, выбранных в голове по trace_id: 0…1, 1 — все трассы;
|
||||
# span с родителем (в том числе worker из задания) следует его флагу, журнал и
|
||||
# метрики не выбираются (OTEL_TRACES_SAMPLER_ARG skeleton)
|
||||
trace_sample_ratio = 1.0
|
||||
# набор границ histogram: "default" или "coarse" (меньше границ, те же
|
||||
# границы SLO 0,25 с и 30 с)
|
||||
metric_buckets = "default"
|
||||
# секунды между отправками метрик; не больше 30 — половины срока рядов
|
||||
# экспортёра Collector
|
||||
metric_export_interval_seconds = 15
|
||||
# секунды на одну отправку пакета
|
||||
export_timeout_seconds = 2
|
||||
|
||||
Reference in New Issue
Block a user