New
CLI version v4.1.0 just came out and provides support for the new smart retry strategies we just released. Adding a retry strategy is simple. Just use the RetryStrategyBuilder
and add it to any ApiCheck
, BrowserCheck
or CheckGroup
construct.
import { ApiCheck, RetryStrategyBuilder } from 'checkly/constructs'
new ApiCheck('retrying-check-01', {
name: 'ACME API production',
retryStrategy: RetryStrategyBuilder.linearStrategy({
baseBackoffSeconds: 30,
maxRetries: 4,
sameRegion: false,
}),
request: {
method: 'GET',
url: 'https://danube-web.shop/api/books'
}
})
Read more about smart retries and retry strategies on our changelog.
Further enhancements and fixes include:
HeartbeatCheck
's now print their ping URL to the console on creation.
HeartbeatCheck
's are now part of our advanced example repo.
Various bugfixes on timeouts and typos.
To get started with the Checkly CLI just run
npm create checkly
Or upgrade your existing installation with
npm install checkly@latest
Check the full release note on GitHub here
Questions or feedback? Join our Slack community.