Redis
The Redis check connects to a specified Redis database instance to check its availability.
redis.yamlapiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
  name: redis-succeed
spec:
  schedule: "@every 5m"
  redis:
    - addr: "redis.canaries.svc.cluster.local:6379"
      name: redis ping check
      db: 0
      description: "The redis pass test"
| Field | Description | Scheme | 
|---|---|---|
db* | Database to be selected after connecting to the server  | int  | 
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  | |
icon | Icon for overwriting default icon on the dashboard  | |
labels | Labels for check  | map[string]string  | 
metrics | Metrics to export from  | |
test | Evaluate whether a check is healthy  | |
transform | Transform data from a check into multiple individual checks  | |
connection | The connection url to use, mutually exclusive with   | |
username | ||
password |