Uptime checks are defined in opentofu and runs against both the staging and production cluster.
These are using the google_monitoring_uptime_check_config resource and requires a wiki to be manually setup with some content that the uptime checks are looking for.
For staging, a developer has created a wiki like https://coffeebase.wikibase.dev on their own account and created a single item (Q1) with the english label Arabica
. The uptime checks uses GET
requests for validating that this and other expected responses is accessible through different endpoints and services.
The full list of checks are defined in the variables.tf file of the uptime module.
To view the last state of all the uptime checks for every region, visit the Uptime checks section in the cloud console.
These checks will be available as four different metrics under the monitoring.googleapis.com/uptime_check/
category.
- check_passed
- content_mismatch
- request_latency
- time_until_ssl_cert_expires