Skip to content

vvarp/xk6-influxdbv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xk6-influxdbv2

Go

This is a influxdb(v2) output library for k6, implemented as an extension using the xk6 system.

❗ This is a proof of concept, isn't supported by the k6 team, and may break in the future. USE AT YOUR OWN RISK!

The extension in this current repo served as an example for an xk6 output tutorial, but using one or the other is up to the user. :)

Build

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

Then:

  1. Install xk6:
go get -u github.com/k6io/xk6/cmd/xk6
  1. Build the binary:
xk6 build v0.31.0 --with github.com/li-zhixin/xk6-influxdbv2

Run

To run a k6 case with this extension, first ensure you have environment variables:

  • influxDBv2Url
  • influxDBv2Token
  • influxDBv2Organization
  • influxDBv2Bucket

Then run case:

k6 run ./test.js --out influxdbv2

About

A k6 extension output to influxdb.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages