Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/advanced-project-js/checkly.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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) */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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')
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading