MCPcopy Create free account
hub / github.com/cortexproject/cortex / instrumentedCache

Struct instrumentedCache

pkg/chunk/cache/instrumented.go:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected