influxdata / inch Goto Github PK
View Code? Open in Web Editor NEWAn InfluxDB benchmarking tool.
License: MIT License
An InfluxDB benchmarking tool.
License: MIT License
environment
influxdb: 1.8 (auth disabled)
inch: latest
can't run inch without auth token
root@9df1bf7dfbc4:/# inch -host http://10.43.142.118:8086
Host: http://10.43.142.118:8086
Concurrency: 1
Virtual Hosts: 0
Measurements: 1
Tag cardinalities: [10 10 10]
Points per series: 100
Total series: 1000
Total points: 100000
Total fields per point: 1
Randomized field values: false
Multiple writes per point: false
Batch Size: 5000
Database: stress (Shard duration: 7d)
Write Consistency: any
Writing into InfluxDB 2.0: false
InfluxDB 2.0 Authorization Token:
./inch -host http://localhost:8086 -t 2,2,3,3,3,3,3,3,3,3 -user abc -password abc-m 200 -p 1000000 -f 20
This should generate Total series: 5248800. But it is generating only 1312200.Show series cardinality on stress, Command is used.
I'm trying to install this using the command listed in the readme but no executable is created in $GOPATH/bin or anywhere else I can see. Tried using both Go 1.8 and 1.9.
I envision this to be similar to the -t
flag and would operate the same way. This will help for testing the effects of different field key cardinalities.
Hello people , thanks in advance.
I am trying to benchmark influxdb using inch benchmarking tool.
started influxdb with the command : "influxd"
then ran inch executable as following
./inch
Host: http://localhost:8086
Concurrency: 1
Virtual Hosts: 0
Measurements: 1
Tag cardinalities: [10 10 10]
Points per series: 100
Total series: 1000
Total points: 100000
Total fields per point: 1
Randomized field values: false
Batch Size: 5000
Database: stress (Shard duration: 7d)
Write Consistency: any
Writing into InfluxDB 2.0: false
InfluxDB 2.0 Authorization Token:
unexpected status code: 401
Hi ,
inch -v -c 8 -b 100 -t 200 -db TestData -host http://18.188.109.199:8086 -f 1 -p 50000
So its should insert 10,000,000 records
after 9,000,000 records its throwing error like "Post http://18.188.109.199:8086/write?db=TestData&precision=ns&consistency=any: dial tcp 18.188.109.199:8086: connect: cannot assign requested address" but inserting all the 10,000,000 records in db.
came across below thread while searching for error :
golang/go#16012
Thanks,
Sharda
Influxdb is installed on Windows systems, and the version of Influxdb is 2.7,When I used inch to perform performance testing on Influxdb, the following error occurred. How should I handle it
E:\Program Files\Go\bin\inch-master\cmd\inch>inchinch -b 5000 -db "stress-stats" -token "EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==" -v2 -v
Host: http://localhost:8086
Concurrency: 1
Virtual Hosts: 0
Measurements: 1
Tag cardinalities: [10 10 10]
Points per series: 100
Total series: 1000
Total points: 100000
Total fields per point: 1
Randomized field values: false
Multiple writes per point: false
Batch Size: 5000
Database: stress-stats (Shard duration: 7d)
Write Consistency: any
Writing into InfluxDB 2.0: true
InfluxDB 2.0 Authorization Token: EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==
Content-Type:[application/x-www-form-urlencoded]
Authorization:[Token EudZDMn-pLBzcRq8kAN7PH7v8VbyDy-7XBsjyKrJA5J_Ei9OWQyqpfsAn4XqGu7Xb0xLE0C99ZXzpcVRohp5rg==]
unexpected status code: 400
The running logs of Influxdb are as follows
2024-06-10T11:02:14.489958Z info executing new query {"log_id": "0phObylW000", "query": "CREATE DATABASE stress-stats WITH DURATION 7d
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.