I have been able to use InfluxDB v1 successfully with K6. I’m trying to use InfluxDB v2, and followed a promising tutorial https://github.com/grafana/xk6-output-influxdb. After completing this I ran into issue, and do not know how to resolve it.
/\ |‾‾| /‾‾/ /‾‾/
/\ / \ | |/ / / /
/ \/ \ | ( / ‾‾\
/ \ | |\ \ | (‾) |
/ __________ \ |__| \__\ \_____/ .io
ERRO[0000] invalid output type 'xk6-influxdb', available types are: cloud, csv, influxdb, json, statsd
This is the command I ran on the terminal
K6_INFLUXDB_ORGANIZATION=organization \
K6_INFLUXDB_BUCKET=newsample \
K6_INFLUXDB_TOKEN=<token> \
./k6 run -o xk6-influxdb=http://localhost:8086 sample.js
How do I resolve this issue?