Skip to content

Commit

Permalink
fix: add delete_cache metrics (#167)
Browse files Browse the repository at this point in the history
Signed-off-by: rfyiamcool <rfyiamcool@163.com>
  • Loading branch information
rfyiamcool committed Sep 13, 2023
1 parent c83e06d commit 3bb726a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cache/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var cacheDeletes = prometheus.NewCounter(

// nolint: gochecknoinits
func init() {
prometheus.MustRegister(cacheGets, cachePuts)
prometheus.MustRegister(cacheGets, cachePuts, cacheDeletes)
}

// Redis cache.
Expand Down

0 comments on commit 3bb726a

Please sign in to comment.