Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 2.25 KB

uptime-checks.md

File metadata and controls

25 lines (15 loc) · 2.25 KB

< Back to index

Uptime checks

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.

Setup example

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.

Uptime check overview

To view the last state of all the uptime checks for every region, visit the Uptime checks section in the cloud console.

Viewing the metrics

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