This repository contains examples of Elastic Synthetics configurations, and instructions for running them both locally, via CI, and via Heartbeat.
- The
todos
folder contains basic examples ofelastic-synthetics
usage. Start here. This folder is equivalent to runningnpx @elastic/synthetics init <foldername>
, which generates a basic project with a few simple examples. - The
advanced-examples
folder contains more advanced examples of more complex use cases. - The
inline-examples
folder demonstrates the use ofelastic-synthetics
to test scripts in theinline
format used in the Kibana UI.
We run the tests suites contained in each on all PRs and merges. See the .github/workflows
directory to see sample CI configurations.
For deploying via Heartbeat see the heartbeat
folder.