| 56 | } |
| 57 | |
| 58 | type instrumentedCache struct { |
| 59 | name string |
| 60 | Cache |
| 61 | |
| 62 | fetchedKeys, hits prometheus.Counter |
| 63 | storedValueSize, fetchedValueSize prometheus.Observer |
| 64 | requestDuration *instr.HistogramCollector |
| 65 | } |
| 66 | |
| 67 | func (i *instrumentedCache) Store(ctx context.Context, keys []string, bufs [][]byte) { |
| 68 | for j := range bufs { |
nothing calls this directly
no outgoing calls
no test coverage detected