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

QueryMultiSeriesAsync should return "partial" if responses are truncated by InfluxDB #82

Closed
tbraun-hk opened this issue Nov 27, 2019 · 0 comments

Comments

@tbraun-hk
Copy link
Contributor

tbraun-hk commented Nov 27, 2019

InfluxDB offers the possibility to restrict the amount of rows returned by a (multi-)query. In order to do so, you need to set the configuration variable max-row-limit to a value > 0.

If a result is truncated because of this, InfluxDB indicates it by returning partial: true in the response. See https://docs.influxdata.com/influxdb/v1.7/administration/config/ , section "max-row-limit" for details.

I'd be happy to provide a pull request to your library that includes this information in QueryMultiSeriesAsync , but I'm not really sure how this information would fit best into the current response model. Would it be OK to include an additional field bool? partial in IInfluxSeries and to optionally set this field in every instance of IInfluxSeries if InfluxDB truncated a response?

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

No branches or pull requests

2 participants