redis

package
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package redis implements a health check for Redis / Valkey using a minimal in-tree RESP client (no third-party dependency). It reads INFO and flags: unreachability, dataset still loading, memory near maxmemory, broken/lagging replication, and failed persistence (RDB/AOF). Read-only commands only.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// contains filtered or unexported fields
}

func New

func New(cfg engine.RedisConfig) *Check

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (c *Check) Run(ctx context.Context) []engine.Finding

func (*Check) Targets

func (c *Check) Targets() ([]string, error)

Targets resolves explicit targets plus inventory hosts to host:port pairs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL