Config DB Query
Runs a config-db query.
apiVersion: canaries.flanksource.com/v1
kind: Canary
metadata:
name: configdb-check
spec:
interval: 30
configDB:
- name: ConfigDB Check
query: <insert-query>
Field | Description | Scheme | Required |
---|---|---|---|
name | Name of the check | string | Yes |
query | Query that needs to be executed on the server | string | Yes |
name | Name of the check, must be unique within the canary | string | Yes |
description | Description for the check | string | |
icon | Icon for overwriting default icon on the dashboard | string | |
labels | Labels for check | map[string]string | |
test | Evaluate whether a check is healthy | Expression | |
display | Expression to change the formatting of the display | Expression | |
transform | Transform data from a check into multiple individual checks | Expression | |
metrics | Metrics to export from | []Metrics |