/xk6-output-clickhouse

k6 output extension for ClickHouse.

Primary LanguageGoApache License 2.0Apache-2.0

xk6-output-clickhouse

k6 output extension for ClickHouse.

⚠️ the API of k6 outputs will likely change in the future, so repos using it (like this repo) are not guaranteed to be working with any future version of k6.

Build

To build a k6 binary with this extension, first ensure you have the prerequisites:

  1. Build a k6 binary using xk6:
xk6 build --with github.com/sid-maddy/xk6-output-clickhouse

This will result in a k6 binary in the current directory.

  1. Run a test using the built k6 binary:
./k6 run -o clickhouse <script.js>