mirror of
https://github.com/prometheus/prometheus.git
synced 2025-10-28 23:11:26 +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>