Add metric for store gateway chunk pool usage
Author: lukeyeagerCreated Sep 30, 2026Updated Sep 30, 2026
Is your proposal related to a problem?
I'd like to be able to use metrics from thanos-store itself when picking a value for --chunk-pool-size.
Describe the solution you'd like
Add prometheus gauges for both the pool limit and the current pool usage.
Describe alternatives you've considered
I looked through the existing metrics but couldn't find what I wanted.
I was hoping for something similar to these metrics from thanos-query which I can graph to see how close to a different limit I'm currently getting:
thanos_query_concurrent_gate_queries_in_flightthanos_query_concurrent_gate_queries_max
Additional context
See also https://github.com/thanos-io/thanos/issues/4895, which requested new metrics for thanos-store (but different ones).
Source: thanos-io/thanos