MCPcopy
hub / github.com/redis/go-redis / StatGetter

Interface StatGetter

extra/redisprometheus/collector.go:10–12  ·  extra/redisprometheus/collector.go::StatGetter

StatGetter provides a method to get pool statistics.

Source from the content-addressed store, hash-verified

8
9// StatGetter provides a method to get pool statistics.
10type StatGetter interface {
11 PoolStats() *redis.PoolStats
12}
13
14// Collector collects statistics from a redis client.
15// It implements the prometheus.Collector interface.

Callers 2

reportPoolStatsFunction · 0.65
CollectMethod · 0.65

Implementers 4

ClusterClientosscluster.go
Clientredis.go
Ringring.go

Calls

no outgoing calls

Tested by

no test coverage detected