Skip to content

Commit d4a91b8

Browse files
fix(metrics): add missing tag to view
1 parent 40706be commit d4a91b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/metrics/metrics.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ var views = []*view.View{
2929
Name: "cache_hits",
3030
Measure: CounterCacheHit,
3131
Description: "Number of cache hits",
32-
TagKeys: []tag.Key{TagCacheKey},
32+
TagKeys: []tag.Key{TagCacheKey, TagCacheKeyPrefix},
3333
Aggregation: view.Count(),
3434
},
3535
{
3636
Name: "cache_misses",
3737
Measure: CounterCacheMiss,
3838
Description: "Number of cache misses",
39-
TagKeys: []tag.Key{TagCacheKey},
39+
TagKeys: []tag.Key{TagCacheKey, TagCacheKeyPrefix},
4040
Aggregation: view.Count(),
4141
},
4242
}

0 commit comments

Comments
 (0)