content/flux/v0/stdlib/internal/promql/instantrate.md
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.
(<-tables: stream[{A with _value: float, _time: time}], ?isRate: bool) => stream[{B with _value: float}]
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Input data. Defaults is piped-forward data (<-).
Data represents a rate.