Files
progcode/web/public/assets/editorial/2026/end-to-end-observability-2026-cardinality-sampling-tradeoff.svg
T
huncode c331bb5939
Build and deploy / deploy (push) Successful in 17s
revise August 2026 observability plan articles
2026-07-31 19:48:30 +03:00

13 lines
2.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 900" role="img" aria-labelledby="title desc">
<title id="title">Cardinality и sampling — разные оси решения</title><desc id="desc">Слева низкокардинальные классы, справа индивидуальные данные; внизу sampling относится только к traces.</desc>
<rect width="720" height="900" fill="#101827"/><style>text{font-family:Arial,sans-serif;fill:#f8fafc}.h{font-size:29px;font-weight:700}.s{font-size:19px;fill:#cbd5e1}.n{font-size:23px;font-weight:700}.b{font-size:20px}.safe{fill:#103b39;stroke:#59dbc8;stroke-width:3}.risk{fill:#3b202b;stroke:#fb7185;stroke-width:3}.line{stroke:#94a3b8;stroke-width:4}</style>
<text x="40" y="55" class="h">Cardinality не лечится sampling</text><text x="40" y="85" class="s">Сначала форма поля, затем объём будущей trace-выборки.</text>
<line x1="360" y1="135" x2="360" y2="610" class="line"/><text x="65" y="145" class="n">МАЛЫЙ СЛОВАРЬ</text><text x="425" y="145" class="n">ЛИЧНЫЕ ПОЛЯ</text>
<rect x="48" y="180" width="270" height="115" rx="16" class="safe"/><text x="75" y="222" class="b">job-kind</text><text x="75" y="260" class="s">ограниченный класс</text>
<rect x="48" y="330" width="270" height="115" rx="16" class="safe"/><text x="75" y="372" class="b">outcome-class</text><text x="75" y="410" class="s">ограниченный исход</text>
<rect x="402" y="180" width="270" height="115" rx="16" class="risk"/><text x="429" y="222" class="b">email / raw user id</text><text x="429" y="260" class="s">не metric label</text>
<rect x="402" y="330" width="270" height="115" rx="16" class="risk"/><text x="429" y="372" class="b">URL query / text</text><text x="429" y="410" class="s">не свободный attribute</text>
<rect x="48" y="525" width="624" height="170" rx="16" class="safe"/><text x="78" y="570" class="n">SAMPLING — ОТДЕЛЬНЫЙ PLAN RULE</text><text x="78" y="610" class="b">fixed error-or-1-of-20</text><text x="78" y="650" class="s">Выбирает synthetic traces. Не разрешает новые поля.</text>
<text x="48" y="790" class="n">Сначала fields, потом trace rule</text><text x="48" y="830" class="s">Нет measured cost, coverage или production configuration.</text>
</svg>