-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[0.9.6.1] Nth percentile for derivative series #5150
Comments
As mentioned in my post to the mailing list we are experimenting with simplifying our open GitHub Issues. This feature request has been rolled into an aggregate issue for all function requests, so that we can close this issue until we are ready to work on it. You may continue to make comments here. Closing the issue does not mean we are rejecting this idea. |
The query SELECT percentile(derivative(mean(value), 1s), 95) FROM xx where xx gives me the error { Im trying to calculate 95th percentile for bandwidth Influx 1.0.2 |
@mrmike1 |
Why are people trying it? |
@mrmike1 presumably for the same reason you did, because they want it to work. If you read that issue and the associated PR, the fix was that running a query with nested functions inside |
Hi,
It seems that currently calculating Nth percentile for a
DERIVATIVE()
series is not possible, asPERCENTILE()
only supports onefield_key
as an argument, and not another function.It would be really useful to have
PERCENTILE()
accept a function as an argument, e.g.SELECT percentile(derivative(mean(value), 1s), 95) FROM [...]
Use case: calculating Nth percentile of bandwidth used (in bits/sec) when the database actually stores COUNTER type data, i.e. the bytes transferred since a device is powered up (this is what SNMP pollers usually get from network devices). Calculating the Nth percentile of the COUNTER type data is useless.
This is probably a feature request, but I think it's quite essential for a time-series database. If there is a way to do this currently, please let me know.
The text was updated successfully, but these errors were encountered: