Set of checks that are run through k6.
Install k6 on macOS as follows
brew install k6
For other platforms check the instructions available here.
Set up the npm project
npm install .
The checks are available in the src directory. They can be executed as follows:
Run the HTTP health check
k6 run src/https/healthcheck.js
Run the gRPC health check
k6 run src/grpc/healthcheck.js
k6 run -e AUTH_TOKEN=xxx src/https/list-databases.js