diff --git a/examples/advanced-project-js/checkly.config.js b/examples/advanced-project-js/checkly.config.js index 763eab27f..e12d0aba5 100644 --- a/examples/advanced-project-js/checkly.config.js +++ b/examples/advanced-project-js/checkly.config.js @@ -18,15 +18,15 @@ const config = defineConfig({ /* A default for how often your Check should run in minutes */ frequency: 10, /* Checkly data centers to run your Checks as monitors */ - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], /* An optional array of tags to organize your Checks */ tags: ['mac'], /** The Checkly Runtime identifier, determining npm packages and the Node.js version available at runtime. * See https://www.checklyhq.com/docs/cli/npm-packages/ */ runtimeId: '2025.04', - /* Failed check runs will be retried before triggering alerts */ - retryStrategy: RetryStrategyBuilder.fixedStrategy({ baseBackoffSeconds: 60, maxRetries: 4, sameRegion: true }), + /* Failed check runs will not be retried per default. See `browserChecks` below for a retry example. */ + retryStrategy: RetryStrategyBuilder.noRetries(), alertEscalationPolicy: AlertEscalationBuilder.runBasedEscalation(1), /* A glob pattern that matches the Checks inside your repo, see https://www.checklyhq.com/docs/constructs/including-checks/#checks-checkmatch */ checkMatch: '**/__checks__/**/*.check.js', @@ -56,7 +56,7 @@ const config = defineConfig({ }, cli: { /* The default datacenter location to use when running npx checkly test */ - runLocation: 'eu-west-1', + runLocation: 'eu-central-1', /* An array of default reporters to use when a reporter is not specified with the "--reporter" flag */ reporters: ['list'], /* How many times to retry a failing test run when running `npx checkly test` or `npx checkly trigger` (max. 3) */ diff --git a/examples/advanced-project-js/src/__checks__/synthetics/06-multi-step-api.check.js b/examples/advanced-project-js/src/__checks__/synthetics/06-multi-step-api.check.js index a159f3f1f..4b0a5c535 100644 --- a/examples/advanced-project-js/src/__checks__/synthetics/06-multi-step-api.check.js +++ b/examples/advanced-project-js/src/__checks__/synthetics/06-multi-step-api.check.js @@ -6,7 +6,7 @@ new MultiStepCheck('multistep-check-1', { name: 'Multistep API check', group: syntheticGroup, frequency: Frequency.EVERY_1H, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], code: { entrypoint: path.join(__dirname, '05-multi-step-api.spec.js') }, diff --git a/examples/advanced-project-js/src/__checks__/utils/website-groups.check.js b/examples/advanced-project-js/src/__checks__/utils/website-groups.check.js index 284424074..9ec0cd529 100644 --- a/examples/advanced-project-js/src/__checks__/utils/website-groups.check.js +++ b/examples/advanced-project-js/src/__checks__/utils/website-groups.check.js @@ -9,7 +9,7 @@ const syntheticGroup = new CheckGroupV2('check-group-synthetics', { activated: true, muted: false, frequency: Frequency.EVERY_15M, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], tags: ['synthetics'], // By setting an alertEscalationPolicy, these settings will override those on individual checks alertEscalationPolicy: AlertEscalationBuilder.runBasedEscalation( diff --git a/examples/advanced-project/src/__checks__/synthetics/06-multi-step-api.check.ts b/examples/advanced-project/src/__checks__/synthetics/06-multi-step-api.check.ts index e123e10dc..90e940e28 100644 --- a/examples/advanced-project/src/__checks__/synthetics/06-multi-step-api.check.ts +++ b/examples/advanced-project/src/__checks__/synthetics/06-multi-step-api.check.ts @@ -6,7 +6,7 @@ new MultiStepCheck('multistep-check-1', { name: 'Multistep API check', group: syntheticGroup, frequency: Frequency.EVERY_1H, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], code: { entrypoint: path.join(__dirname, '05-multi-step-api.spec.ts') }, diff --git a/examples/advanced-project/src/__checks__/utils/website-groups.check.ts b/examples/advanced-project/src/__checks__/utils/website-groups.check.ts index d03eb1f7c..92fe8f3bb 100644 --- a/examples/advanced-project/src/__checks__/utils/website-groups.check.ts +++ b/examples/advanced-project/src/__checks__/utils/website-groups.check.ts @@ -9,7 +9,7 @@ export const syntheticGroup = new CheckGroupV2('check-group-synthetics', { activated: true, muted: false, frequency: Frequency.EVERY_15M, - locations: ['us-east-1', 'eu-west-1'], + locations: ['us-east-1', 'eu-central-1'], tags: ['synthetics'], // By setting an alertEscalationPolicy, these settings will override those on individual checks alertEscalationPolicy: AlertEscalationBuilder.runBasedEscalation(