diff --git a/kube_cache/server/cache.go b/kube_cache/server/cache.go index ed67cb4..f08bc96 100644 --- a/kube_cache/server/cache.go +++ b/kube_cache/server/cache.go @@ -79,6 +79,7 @@ func (s *Server) GetKubeImage(c *gin.Context) { c.Data(200, "image/png", image) c.Header("Cache-Control", cacheControlHeader) s.Metrics.IncrementCacheHits() + s.Metrics.IncrementImagesRetrieved() } func (s *Server) GetAllKubes(c *gin.Context) {