Giter Site home page Giter Site logo

inch's Issues

influxdb 2.0 authorization token required mandatorily

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:

Wrong Total Number of Series

./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.

InfluxDB 2.0 Authorization Token: unexpected status code: 401

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

connect: cannot assign requested address

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

unexpected status code: 400

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.