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

Add -pps argument to influx write CLI #19335

Closed
abalone23 opened this issue Aug 14, 2020 · 2 comments · Fixed by #19660
Closed

Add -pps argument to influx write CLI #19335

abalone23 opened this issue Aug 14, 2020 · 2 comments · Fixed by #19660

Comments

@abalone23
Copy link

It would be convenient if the influx 2.0 CLI write command had a -pps argument to throttle points in order to alleviate write rate limit errors.

@sranka
Copy link
Contributor

sranka commented Sep 21, 2020

@abalone23 I am not much familiar with overall clients' POV, but I guess that the rate limits are specified in megabytes per minute. Wouldn't be better to specify --limitRate=number to specify max written megabytes per minute?

The cost of the implementation is the same independently on the chosen units (pps or MB/minute).

@abalone23
Copy link
Author

abalone23 commented Sep 21, 2020

@sranka I based it on the 1.x CLI:

-pps How many points per second the import will allow. By default, pps is zero and influx will not throttle importing. Use with -import.

Your idea for limitRate would be better I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants