Skip to main content

manage-telemetry-sampling

Manage telemetry sampling with explicit coverage, bias, cost, rare-event retention, and correction metadata. Use when complete event capture is too expensive or unsafe at production scale.

소스 정보

저장소
protosphinx/sphinxstack
최근 소스 활동
2026년 7월 29일 13:55
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
manage-telemetry-sampling
category
data
description
Manage telemetry sampling with explicit coverage, bias, cost, rare-event retention, and correction metadata. Use when complete event capture is too expensive or unsafe at production scale.
# manage-telemetry-sampling Preserve the evidence needed for decisions and make selection probability visible to every downstream consumer. ## Procedure 1. Inventory telemetry classes, volumes, costs, objectives, queries, alerts, and compliance needs. 2. Identify rare failures, high-value journeys, security events, and audit evidence that must not be sampled casually. 3. Choose deterministic, probabilistic, rate-limited, priority, or tail-based sampling by signal. 4. Apply decisions at the stage that has enough context without wasting upstream work. 5. Propagate sampling state and effective probability through related spans or events. 6. Keep strata for service, operation, outcome, region, and bounded risk class where useful. 7. Weight or label aggregate analysis so sampled counts are not mistaken for raw totals. 8. Measure accepted, dropped, late, error-retained, and budget-limited telemetry. 9. Replay known incidents and traffic shifts against proposed policy. 10. Stage changes, compare coverage, and retain a fast rollback. ## Guardrails - Never sample legally required audit evidence through an ordinary cost-control rule. - Uniform request sampling can erase rare failures and low-volume customers. - Do not extrapolate counts without known inclusion probability and assumptions. ## Done - A sampling policy report documents strata, probabilities, exceptions, and consumers - Incident replay and traffic-shift tests are verified - Sampled estimates reconcile with unsampled control windows
GitHub에서 보기