Skip to main content
READY SERIESSTORE LAB // PROMETHEUS OOM VS VICTORIAMETRICS TSDB BASELINE: 2026-11-11 | TARGET: 0.8-1.3 KB/SERIES | 0.4-0.9 B/SAMPLE ZSTD
VictoriaMetrics
VictoriaMetrics Disclosure: Outbound /go/ links marked rel="sponsored" may earn a partner commission at zero checkout cost (Disclosures).
Prometheus & TSDB Errors // SeriesStore Lab

Classic Histogram Bucket Cardinality Bloat

A single Envoy, Istio, or NGINX HTTP latency histogram with 20 le buckets multiplies every route, status code, and pod into 22x active time series.

Measured TSDB & Cardinality Telemetry

If 50 microservices each expose 25 API endpoints across 100 pods with 20 histogram buckets, classic Prometheus histograms generate 2.5 million active series from latency metrics alone—pushing Prometheus past 16 GB RAM and Grafana Cloud over $20,000/mo.

Subsystem / SignalMeasured FootprintOperational Impact
20-Bucket Classic Histogram22x series multiplierInflates active series and IndexDB lookup cost
Pruned / Relabeled Buckets60 - 75% series cutDrop redundant intermediate le buckets
VictoriaMetrics Storage Efficiency0.4 - 0.9 B/sampleZSTD compresses sparse zero-delta buckets near 0.2 B

Step-by-Step Diagnostic & Config Remediation

  1. Audit _bucket series share: Run seriesCountByMetricName in vmui and check if *_bucket dominates top 10.
  2. Drop unused high-cardinality labels: Strip path query strings, raw instance ports, or redundant le buckets via metric_relabel_configs.
  3. Switch to VictoriaMetrics + InterServer: Compress residual sparse bucket series with Gorilla+ZSTD on $6/TB Storage Slices.
# Drop redundant mid-range le buckets if only SLO thresholds (0.1s, 0.5s, 1s, 5s) are alerted:
metric_relabel_configs:
  - source_labels: [__name__, le]
    regex: "http_request_duration_seconds_bucket;(0\.005|0\.025|0\.075|0\.25|0\.75)"
    action: drop

Diagnostic FAQ

Why does ZSTD compress histogram buckets so well in VictoriaMetrics?

Unused histogram buckets stay constant (zero delta) across scrapes, allowing delta-of-delta + ZSTD to pack them to fractions of a byte.

Can VictoriaMetrics also ingest OpenTelemetry exponential histograms?

Yes. VictoriaMetrics supports compact VictoriaMetrics histograms and OpenTelemetry OTLP histogram ingestion natively.

Related Prometheus & TSDB Errors Guides

VictoriaMetrics: Cut Prometheus OOM RAM 80%+ on InterServer $6/TB Slice Launch $6/TB Slice