includes
Initial commit with 2 health checks (#1)src
Fix the http API path (#5).gitignore
Initial commit with 2 health checks (#1).gitmodules
Initial commit with 2 health checks (#1).pre-commit-config.yaml
Initial commit with 2 health checks (#1)LICENSE
Initial commitpackage-lock.json
Initial commit with 2 health checks (#1)package.json
Initial commit with 2 health checks (#1)README.md
Add authenticated list databases check (#3)k6-checks
Set of checks that are run through k6.
Installation
Install k6 on macOS as follows
brew install k6For other platforms check the instructions available here.
Set up the npm project
npm install .Usage
The checks are available in the src directory. They can be executed as follows:
Run the HTTP health check
k6 run src/https/healthcheck.jsRun the gRPC health check
k6 run src/grpc/healthcheck.jsRunning authenticated checks
k6 run -e AUTH_TOKEN=xxx src/https/list-databases.js