---
title: "The three villains to agentic observability: retention, sampling and rollups"
description: "Observability practices increasingly depend on data sampling, short retention windows, and rollups to control storage costs. While human operators historically compensated for these compromises with intuition, AI agents lack implicit operational context and require full-fidelity telemetry to diagnose issues and justify conclusions. Head sampling drops unobserved spans early, tail sampling risks missing implicit non-error anomalies, and aggressive log expiration prevents long-term cyclical trend analysis. Addressing these constraints requires decoupling storage and compute via high-compression object storage and dedicated compute pools. Deploying real-time analytical databases such as ClickHouse enables high-concurrency, low-latency SQL querying, log clustering, and structured in-database summarization necessary for automated reasoning loops."
---

# The three villains to agentic observability: retention, sampling and rollups

[Clickhouse](https://yomu.fyi/company/clickhouse) · Mike Shi · Apr 8, 2026

**Type:** Problem & solution

## Summary

Observability practices increasingly depend on data sampling, short retention windows, and rollups to control storage costs. While human operators historically compensated for these compromises with intuition, AI agents lack implicit operational context and require full-fidelity telemetry to diagnose issues and justify conclusions. Head sampling drops unobserved spans early, tail sampling risks missing implicit non-error anomalies, and aggressive log expiration prevents long-term cyclical trend analysis. Addressing these constraints requires decoupling storage and compute via high-compression object storage and dedicated compute pools. Deploying real-time analytical databases such as ClickHouse enables high-concurrency, low-latency SQL querying, log clustering, and structured in-database summarization necessary for automated reasoning loops.

## Context

Storage engine scaling limitations and high-cardinality costs force teams to limit log retention, sample traces, and aggregate metrics, depriving AI diagnostic agents of critical context.

## Approach / What changed

Store raw observability telemetry using high-ratio compression on object storage, provision workload-specific compute pools, and leverage high-concurrency analytical SQL engines like ClickHouse for in-database summarization.

## Takeaways

- Combining object storage at roughly $0.025 per gigabyte with 50x compression makes 30-day, 60-day, or annual raw data retention economically feasible.
- Both head sampling and tail sampling drop telemetry data at ingestion, distorting metrics aggregates and breaking wide-event analysis required for agent reasoning.
- Agents need high query concurrency, sub-second latency, and standard SQL access to execute iterative root cause analysis loops without datastore bottlenecks.

**Tags:** [Architecture](https://yomu.fyi/topic/architecture), [Data Pipelines](https://yomu.fyi/topic/data-pipelines), [LLMs](https://yomu.fyi/topic/llm), [Observability](https://yomu.fyi/topic/observability), [Scalability](https://yomu.fyi/topic/scalability)

- Source: [Clickhouse](https://clickhouse.com/blog/three-villains-agentic-observability)
- Source URL: https://clickhouse.com/blog/three-villains-agentic-observability
- Ingested by Yomu: 2026-08-28T01:23:55.869Z

[Read original post](https://clickhouse.com/blog/three-villains-agentic-observability)
