Open xander973 opened 4 years ago
@xander973
just run ./influx-stress insert cpu,host=server,location=us-west,id=myid busy=100,idle=10,random=5i -r 30s --host http://127.0.0.1:9096
, and http://127.0.0.1:9096
is the url of influxdb
I have same issue, influxdb is 2.0.4(version)
Failed to create database: Bad status code during Create(CREATE DATABASE stress): 401, body: {"code":"unauthorized","message":"unauthorized access"}
influxdb is 2.0.4(version)
./influx-stress insert -r 60s --strict --pps 20 --host http://localhost:8086
influx-stress currently only targets influxdb v1
influx-stress currently only targets influxdb v1
Do you have a plan for 2.0
@shaolimin There is no plan yet, my main work is on the new version of influx-proxy and apache/dolphinscheduler ps: There are some bugs and has been no repair and update on influxdata/influx-stress. I have fixed some problems on forked chengshiwen/influx-stress
[root@53 bin]# ./influx-stress insert cpu,host=server,location=us-west,id=myid busy=100,idle=10,random=5i -r 30s --host http://127.0.0.1:9096/write?u=admin&p=admin [1] 2695 [root@53 bin]# Using point template: cpu,host=server,location=us-west,id=myid busy=100,idle=10,random=5i
Using batch size of 10000 line(s)
Spreading writes across 100000 series
Throttling output to ~200000 points/sec
Using 20 concurrent writer(s)
Running until ~18446744073709551615 points sent or until ~30s has elapsed
Failed to create database: Bad status code during Create(CREATE DATABASE stress): 400, body: "missing parameter: db"
Aborting.