- Overseer now supports some new test options:
-
min-duration: when defined, an alert will NOT be triggered until the test error is repeated for AT LEASTmin-durationtime.Example:
https://google.com must run http with min-duration 1mwill not generate alerts until the same test fails for more than a minute. -
test-label: when defined, offers more flexibility to test result messages, where the fieldtestLabelis now passed as it is. This option is useful to have "clean" test result messages, where the test label can be shown instead of the original test input.Example:
https://google.com must run http with test-label "Google test"
-
-
Overseer now supports two new runtime period-test variables for HTTP test:
__pt-index__: current period test index__pt-time-ms__: current period test start time
Example:
https://google.com?testIdx=__pt-index__ must run http with connect-timeout 2.5s with connect-retries 2 with pt-duration 1m with pt-sleep 1s with pt-threshold 0%
- Sort targets alphabetically when using
max-targets, which increases the chance of pointing to the same target on subsequent runs.
- HTTP test has new option:
follow-redirect true|(\d+): allows following HTTP redirects.follow-redirect true: allows max 10 redirectsfollow-redirect 25: allows max 25 (or any other used number) redirects
- All tests which resolve hostnames have a new option:
max-targets 2: forces the test to run against only the first 2 (or any other number) found targets of the hostname, instead of all of them.
- BREAKING: new behavior for
k8s-event-watcherrules. Events will now be marked as errors only iferrorRulesrules exist and are matched:
filters:
- rules:
involvedObject.kind: Job
involvedObject.name: "^*.fail"
reason: BackoffLimitExceeded
errorRules:
# Any matched event is an error
type: .*- BREAKING: new version of k8s-event-watcher:
- Filters configuration now accepts any field name, and a new
ruleskeyword has been introduced:
filters: - rules: involvedObject.kind: Job involvedObject.name: "^*.fail" reason: BackoffLimitExceeded
- Filters configuration now accepts any field name, and a new
- You can now use the
connect-retriesflag for HTTP tests, which will have Overseer retry the connection to a server in case of connect timeout.
- You can now use a per-test
timeoutflag, which will override the worker one if set. - HTTP test has new timeouts:
connect-timeout: fails if worker takes too long to establish a connection to the server.tls-timeout: fails if worker takes too long to perform the TLS handshake with the server.resp-header-timeout: fails if server takes too long to send headers back.
- More reasonable release tag names.
- You can now perform period-tests:
What if you want to test how many times your web service fails in 1 minute?
- Overseer runs now by default multiple tests in parallel (defaults to num of CPUs). This behavior is tunable with the cli flag
-parallel:
overseer worker -parallel 9
- Added support to accept multiple status codes when performing HTTP checks:
https://www.google.com must run http with status 200,301
- Added support for queue-bridge filters. Destination queues (
-dest-queue=overseer.results.email) can now be filtered by various test result tags:-dest-queue=overseer.results.cronjobs[type=k8s-event,target=my-namespace/Job]. More in the Kubernetes example and source code.