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 |
---|---|---|
name* | Name of the check, must be unique within the canary |
|
addr | Redis address (deprecated - use url instead) |
|
connection | Connection name e.g. connection://redis/prod |
|
db | Database to be selected after connecting to the server |
|
password | Password for authentication | |
password | ||
url | Redis connection URL |
|
username | Username for authentication | |
username | ||
description | Description for the check |
|
display | Expression to change the formatting of the display | |
icon | Icon for overwriting default icon on the dashboard | |
labels | Labels for check |
|
markFailOnEmpty | If a transformation or datasource returns empty results, the check should fail |
|
metrics | Metrics to export from | |
test | Evaluate whether a check is healthy | |
transform | Transform data from a check into multiple individual checks |