promql.instantRate() function
promql.instantRate()
is a helper function that calculates instant rates over
counters and is used to implement PromQL’s
irate()
and
idelta()
functions.
Important: The internal/promql
package is not meant for external use.
Function type signature
(<-tables: stream[{A with _value: float, _time: time}], ?isRate: bool) => stream[{B with _value: float}]
Parameters
tables
Input data. Defaults is piped-forward data (<-
).
isRate
Data represents a rate.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.