Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add influxv1 auth. #217

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Super-long
Copy link

@Super-long Super-long commented Jan 31, 2023

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 Super-long force-pushed the feat_add_influxv1_auth branch from b679ac3 to 8f9492d Compare February 2, 2023 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant