influxdb-comparisons
influxdb-comparisons copied to clipboard
feat: add influxv1 auth.
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:.
- authentication using basic authentication
- 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.
- bulk_load_influx --batch-size=5000 --basic-authentication=time_series_test_ account:test_password -urls='http://172.17.0.5:8086'
- bulk_load_influx --batch-size=5000 --user=time_series_test_account --password=test_password -urls='http://172.17.0.5:8086'
- 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