Documentation ¶
Overview ¶
Package redis contains wiring and observability for the go-redis Redis client.
There is support for: - observability (both for queries and connection info) - health checks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthCheck ¶
type HealthCheck struct {
// contains filtered or unexported fields
}
func NewHealthCheck ¶
func NewHealthCheck(client *redis.Client) *HealthCheck
func (*HealthCheck) HealthChecks ¶
func (r *HealthCheck) HealthChecks() (name string, ready, live func(ctx context.Context) error)
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func (*Metrics) MetricName ¶
Click to show internal directories.
Click to hide internal directories.