template

package module
v0.0.0-...-003f762 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

xk6-output-template

Is template for k6 output extensions

You should make a repo from this template and go through the code and replace everywhere where it says template in order to use it. There are more instructions and comments inline.

⚠ 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 with xk6:
xk6 build --with github.com/grafana/xk6-output-template

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

  1. Run with the just build `k6:
./k6 run -o xk6-template <script.js>

Documentation

Overview

Package template registers the extension for output

Directories

Path Synopsis
pkg
template
Package template performs output operations for the extension
Package template performs output operations for the extension

Jump to

Keyboard shortcuts

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