Skip to content

Commit

Permalink
fix(metrics): add missing tag to view
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Feb 10, 2023
1 parent 40706be commit d4a91b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ var views = []*view.View{
Name: "cache_hits",
Measure: CounterCacheHit,
Description: "Number of cache hits",
TagKeys: []tag.Key{TagCacheKey},
TagKeys: []tag.Key{TagCacheKey, TagCacheKeyPrefix},
Aggregation: view.Count(),
},
{
Name: "cache_misses",
Measure: CounterCacheMiss,
Description: "Number of cache misses",
TagKeys: []tag.Key{TagCacheKey},
TagKeys: []tag.Key{TagCacheKey, TagCacheKeyPrefix},
Aggregation: view.Count(),
},
}
Expand Down

0 comments on commit d4a91b8

Please sign in to comment.