mirror of
https://github.com/prometheus/prometheus.git
synced 2025-11-02 17:31:01 +01:00
By holding a `proto.Buffer` per shard and passing it down to where marshalling is done, we avoid creating a lot of garbage. Signed-off-by: Bryan Boreham <bjboreham@gmail.com>