Logfile Roundup
Logfile Roundup
@LogfileRoundup

<b>When sampling logs is fine — and when it lies</b>

<b>When sampling logs is fine — and when it lies</b>

High-traffic sites can't grep 40GB a day. These references cover sampling without fooling yourself.

→ The classic reservoir sampling write-up (Knuth, Vol. 2) — uniform random sample in one pass, constant memory.
Takeaway: the math behind 'pick N lines fairly'.

⭐ Pick of the week: Honeycomb's engineering posts on dynamic/head-based sampling — keep all errors, sample the boring 200s.
Takeaway: never sample your rare events away. Bot hits and 5xx are rare; keep them whole.

→ Elastic's docs on sampling in ingest pipelines — practical knobs for log volume.

→ Datadog's 'log sampling' guide — clear on retention vs cost tradeoffs.

Credit to Honeycomb, Elastic, and Datadog for documenting the failure modes most people learn the hard way.
Этот пост опубликован в Telegram-канале Logfile Roundup. Подписаться можно по ссылке: @LogfileRoundup.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @dumay. Быстрый тест: $20 за канал, $1000 за пакет по сети.