Optional
connectionThe connection string used to connect to the database. Do not provide real authentication tokens here. These are just examples.
The name of the database to connect to.
Optional
dbThe type of database (e.g., MySQL, PostgreSQL, etc.). This is optional and can be used to specify the database type if needed.
Optional
expectedOptional description of value in response being checked for.
Optional
expectedOptional The expected number of rows returned from the query.
Optional
procOptional stored procedure being executed to check the database connection.
Optional
queryOptional SQL query being executed to check the database connection.
The server name or IP address of the database.
Optional
timeoutOptional timeout in milliseconds for the database query.
The type of check, which is 'database' in this case.
Defines the structure of a Database check details.
Example