Skip to main content

Redis

The Redis check connects to a specified Redis database instance to check its availability.

redis.yaml
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: redis-succeed
namespace: canaries
spec:
schedule: "@every 5m"
redis:
- addr: "redis.canaries.svc.cluster.local:6379"
name: redis ping check
db: 0
description: "The redis pass test"
FieldDescriptionScheme
db*

Database to be selected after connecting to the server

integer

name*

Name of the check, must be unique within the canary

string

url*

Redis instance

description

Description for the check

string

display

Expression to change the formatting of the display

Expression

icon

Icon for overwriting default icon on the dashboard

Icon

labels

Labels for check

map[string]string

metrics

Metrics to export from

[]Metrics

test

Evaluate whether a check is healthy

Expression

transform

Transform data from a check into multiple individual checks

Expression

username

EnvVar

password

EnvVar