influxdb-comparisons icon indicating copy to clipboard operation
influxdb-comparisons copied to clipboard

feat: add influxv1 auth.

Open Super-long opened this issue 2 years ago • 0 comments

When I tried to perform tests on an instance of influx1.8, I found that influxdb-comparisons did not implement the standard auth functionality in influxv1:.

  1. authentication using basic authentication
  2. credentials as query parameters

In https://docs.influxdata.com/influxdb/v1.8/administration/authentication_and_authorization/#authenticate-with-basic-authentication You can see the description of both auth methods in.

Now bulk_load_influx and bulk_query_gen can perform tests using the following.

  1. bulk_load_influx --batch-size=5000 --basic-authentication=time_series_test_ account:test_password -urls='http://172.17.0.5:8086'
  2. bulk_load_influx --batch-size=5000 --user=time_series_test_account --password=test_password -urls='http://172.17.0.5:8086'
  3. bulk_query_gen -db=time_series_test_db -user=time_series_test_account -password=test_password -queries=30 -use-case=devops -query-type=1-host-12-hr -format=influx-http

Super-long avatar Jan 31 '23 12:01 Super-long