From f10c67e0e746f7d949b7dc2e83c5bdf6037493f4 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Mon, 9 Jan 2023 17:59:44 +0200 Subject: [PATCH] Add custom.plausible.io to checkly monitoring --- test/e2e/main.tf | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/test/e2e/main.tf b/test/e2e/main.tf index b7d5c0cbd..a6a29fba7 100644 --- a/test/e2e/main.tf +++ b/test/e2e/main.tf @@ -65,6 +65,27 @@ resource "checkly_check" "plausible-io-api-health" { } } +resource "checkly_check" "plausible-io-custom-domain-server-health" { + name = "Check custom.plausible.io" + type = "API" + activated = true + frequency = 1 + double_check = true + + group_id = checkly_check_group.reachability.id + + request { + url = "https://custom.plausible.io" + follow_redirects = false + skip_ssl = false + assertion { + source = "STATUS_CODE" + comparison = "EQUALS" + target = "200" + } + } +} + resource "checkly_check" "plausible-io-ingestion" { name = "Check plausible.io/api/event" type = "API"