buchgr / bazel-remote

A remote cache for Bazel
https://bazel.build
Apache License 2.0
594 stars 154 forks source link

[metrics] initialize hits/misses for each cache entry kind #705

Closed martijndegouw closed 10 months ago

martijndegouw commented 12 months ago

This makes sure all hit/miss counters appear on the metrics endpoints and avoids having to fill missing metrics with zero at the client side.

mostynb commented 10 months ago

This slipped off my radar, sorry for the delay. I added this to the master branch.