MCPcopy
hub / github.com/grafana/tempo / RedisCache

Struct RedisCache

pkg/cache/redis_cache.go:19–24  ·  pkg/cache/redis_cache.go::RedisCache

RedisCache type caches chunks in redis

Source from the content-addressed store, hash-verified

17
18// RedisCache type caches chunks in redis
19type RedisCache struct {
20 name string
21 redis *RedisClient
22 logger log.Logger
23 requestDuration *instr.HistogramCollector
24}
25
26// NewRedisCache creates a new RedisCache
27func NewRedisCache(name string, redisClient *RedisClient, reg prometheus.Registerer, logger log.Logger) *RedisCache {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected