Prometheus is shifting from storing composite metrics (histograms, summaries) as multiple primitive float samples to native composite samples in its TSDB. This architectural change improves efficiency by 30%+, enables transactionality across metric components, and simplifies the data model. The migration includes native histogram custom buckets (NHCB), upcoming native summaries and statesets, OpenMetrics 2.0 with composite values, and Remote Write 2.0 support. Compatibility modes will allow transparent migration by expanding native types back to classic representation for existing PromQL queries and consumers.

11m read timeFrom prometheus.io
Post cover image
Table of contents
Classic Representation: Primitive SamplesSummary

Sort: