Summary
Prometheus 2.13.0 introduces a streamed version of the Remote Read API, addressing significant memory usage issues with the previous implementation. The new API utilizes a chunked, iterative approach—similar to how Prometheus processes queries internally—allowing clients to receive data series by series without buffering the entire response in memory. This improvement enables more efficient querying of Prometheus data, especially for large datasets and use cases like seamless upgrades and integration with long-term storage systems like Thanos.