diff --git a/src/__checks__/dashboard.ts b/src/__checks__/dashboard.ts deleted file mode 100644 index 5766748..0000000 --- a/src/__checks__/dashboard.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { v4 as uuidv4 } from "uuid"; -import { Dashboard } from "checkly/constructs"; - -new Dashboard("acme-dashboard-1", { - header: "ACME production", - description: "service availability and response times", - tags: ["prod", "api"], - logo: "https://assets.acme.com/images/acme-logo.png", - customUrl: `status-test-cli-${uuidv4()}` - // customCSS: { - // entrypoint: path.join(__dirname, "dashboard.css") - // } -}); diff --git a/src/__checks__/secrets/secrets-group.check.ts b/src/__checks__/secrets/secrets-group.check.ts index 8976433..ff26cca 100644 --- a/src/__checks__/secrets/secrets-group.check.ts +++ b/src/__checks__/secrets/secrets-group.check.ts @@ -1,6 +1,8 @@ import { CheckGroup } from "checkly/constructs"; import { pagerDutyChannel } from "../../alert-channels"; import { getLocations } from "../../locations"; +import { v4 as uuidv4 } from "uuid"; +import { Dashboard } from "checkly/constructs"; export const secretsGroup = new CheckGroup(`secrets-group`, { name: `Secrets Group Check [${process.env.INSTANCE_ID?.toUpperCase()}]`, @@ -11,3 +13,14 @@ export const secretsGroup = new CheckGroup(`secrets-group`, { alertChannels: [pagerDutyChannel], ...getLocations() }); + +new Dashboard("acme-dashboard-1", { + header: "ACME production", + description: "service availability and response times", + tags: ["prod", "api"], + logo: "https://assets.acme.com/images/acme-logo.png", + customUrl: `status-test-cli-${uuidv4()}` + // customCSS: { + // entrypoint: path.join(__dirname, "dashboard.css") + // } +});