Core Concept

Time-Series & Metrics Storage

Purpose-built storage for timestamped measurements — counters, gauges, and histograms — with append-only ingestion, label cardinality discipline, rollup tiers, and retention policies tuned for observability and IoT workloads.


What:

A storage and query engine optimized for time-ordered numeric samples — each point is a metric name, value, timestamp, and optional label set (tags).

Primary purpose:

Ingest high-volume measurements cheaply, aggregate them over time windows, and alert when trends cross thresholds — without treating metrics like relational rows.

Usually used for:

Infrastructure monitoring, application APM, IoT telemetry, business KPI dashboards, and capacity planning — not general user profile storage.

Think in three dimensions:

⏱ Time

Every sample is anchored to a timestamp; queries are range scans, not primary-key lookups.

🏷 Labels

Dimensions like service=api, region=us-east — cardinality of label combinations drives memory cost.

📈 Aggregation

Raw points are rarely queried forever; rollups (sum, avg, max) at 1m/5m/1h tiers shrink storage and query cost.