Skip to main content

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>
FieldDescriptionSchemeRequired
nameName of the checkstringYes
queryQuery that needs to be executed on the serverstringYes
nameName of the check, must be unique within the canarystringYes
descriptionDescription for the checkstring
iconIcon for overwriting default icon on the dashboardstring
labelsLabels for checkmap[string]string
testEvaluate whether a check is healthyExpression
displayExpression to change the formatting of the displayExpression
transformTransform data from a check into multiple individual checksExpression
metricsMetrics to export from[]Metrics