---
title: "The three villains to agentic observability: retention, sampling and rollups"
description: "Retention limits, trace sampling and metric roll-ups are framed as workarounds for storage engines that struggle with cost and high cardinality, not observability best practices."
url: "https://swe.quest/articles/the-three-villains-to-agentic-observability-retention-sampling-and-rollups-8717547c3ecf409f"
canonical: "https://clickhouse.com/blog/three-villains-agentic-observability"
source: "ClickHouse"
published: "2026-04-08"
difficulty: "easy"
kind: "Opinion"
reading_minutes: 16
tags: ["observability","analytics","cost-optimization","ai-agents"]
---

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

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2026-04-08, 16 min read, Opinion. Original: [https://clickhouse.com/blog/three-villains-agentic-observability](https://clickhouse.com/blog/three-villains-agentic-observability)

## Summary

Retention limits, trace sampling and metric roll-ups are framed as workarounds for storage engines that struggle with cost and high cardinality, not observability best practices. The workarounds become hard limits when AI agents do root-cause analysis, because agents lack the human intuition to fill gaps left by missing history, dropped traces or aggregated-away dimensions like customer ID. The proposed fix is column-oriented storage with high compression (around 50x) on object storage (around $0.025/GB). That makes full-fidelity, long-retention telemetry affordable and leaves sampling and roll-ups as optional optimizations rather than defaults.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)

## Prerequisites

- observability signals (logs, metrics, traces) ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- time series cardinality

## Keywords

ClickHouse, ClickStack, Prometheus, tail sampling, high cardinality, object storage

## Related posts

- [How Much Should I Be Spending On Observability?](https://swe.quest/articles/how-much-should-i-be-spending-on-observability-cff76a2782772f53.md): Honeycomb · 2025-04-23 · Easy · 20 min read · Observability, Cost optimization
  Observability costs are driven by different technical factors depending on the storage model.
- [Breaking free from rising observability costs with open, cost-efficient architectures](https://swe.quest/articles/breaking-free-from-rising-observability-costs-with-open-cost-efficient-61de55dabc4b7b6a.md): ClickHouse · 2025-09-18 · Easy · 11 min read · Observability, Analytics & OLAP, Cost optimization
  Observability costs balloon at scale because of ingest- and per-host pricing (Splunk, Datadog), while cheaper pillar-specific stores like Prometheus, Loki and Tempo fragment data into silos that block high-cardinality, exploratory analysis.
- [Observability At Scale — Every Byte Counts](https://swe.quest/articles/observability-at-scale-every-byte-counts-3491ffe2c3088798.md): Wise Engineering · 2026-10-20 · Medium · 14 min read · Observability, Cost optimization, Performance engineering, Kubernetes
  Five observability changes at Wise cut monthly spend by 40%.
- [The State of SQL-based Observability](https://swe.quest/articles/the-state-of-sql-based-observability-672099654427a9bd.md): ClickHouse · 2023-12-06 · Easy · 16 min read · Observability, Analytics & OLAP, Databases, Cost optimization
  Observability is increasingly treated as a SQL analytics problem, with OLAP column stores like ClickHouse replacing the NoSQL backends (Cassandra, Elasticsearch, Splunk) that dominated after Twitter's 2013 observability stack.
- [Your AI SRE needs better observability, not bigger models.](https://swe.quest/articles/your-ai-sre-needs-better-observability-not-bigger-models-2fd1d44f22e0b806.md): ClickHouse · 2026-01-01 · Medium · 20 min read · Observability, AI agents, Analytics & OLAP, Incidents & postmortems, SRE
  AI SRE copilots fail at root cause analysis mainly because of their data, not their models: legacy inverted-index observability stacks keep only 7-14 days of logs, drop high-cardinality fields like request and user IDs, answer queries slowly, and often charge per query.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
