mozilla-releng / balrog

Mozilla's Update Server
http://mozilla-balrog.readthedocs.io/en/latest/index.html
Mozilla Public License 2.0
100 stars 149 forks source link

Better metrics for in-memory caches #2766

Open bhearsum opened 1 year ago

bhearsum commented 1 year ago

Balrog has a number of in-memory caches for, primarily, results from the database and autograph. At the moment, we have zero insight into how well these perform: the hit rates, the refresh rates, whether or not we dump things out to make room for new things. It would be wonderful to have this information produced in a way that we can graph in graphana (or somewhere else).

@jcristau - does this cover what you were thinking of?

jbuck commented 1 year ago

as a first pass at this, could you output some statsd metrics on cache requests, hits, and misses?