k6-to-honeycomb

command
v0.0.0-...-b823a51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2021 License: ISC Imports: 7 Imported by: 0

Documentation

Overview

Command k6-to-honeycomb streams k6 load test output into a Honeycomb dataset.

This program is meant to be used to operate over the streamed output produced by the https://k6.io/ load testing tool.

Configuration

The Honeycomb write API key can be provided with the `-k` command line flag. If not provided it will attempt to be read from the `HC_API_KEY` environment variable.

Example Usage

Here is an exmaple of running k6 with streaming JSON output that this program can ingest and ship off to honeycomb.

Example k6 invocation (note --out json= parameter):

$ k6 run -u 1 -d 10s --out json=./output.json

You can then ship these events to honeycomb like so:

$ k6-to-honeycomb output.json

By default this will send to a `k6-load-tests` dataset but this is configurable with the -d parameter like so:

$ k6-to-honeycomb -d k6-load-test-results output.json

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL