--- title: promql.resets() function description: > `promql.resets()` implements functionality equivalent to [PromQL's `resets()` function](https://prometheus.io/docs/prometheus/latest/querying/functions/#resets). menu: flux_v0_ref: name: promql.resets parent: internal/promql identifier: internal/promql/resets weight: 201 --- `promql.resets()` implements functionality equivalent to [PromQL's `resets()` function](https://prometheus.io/docs/prometheus/latest/querying/functions/#resets). **Important**: The `internal/promql` package is not meant for external use. ##### Function type signature ```js (<-tables: stream[{A with _value: float}]) => stream[{B with _value: float}] ``` {{% caption %}} For more information, see [Function type signatures](/flux/v0/function-type-signatures/). {{% /caption %}} ## Parameters ### tables Input data. Defaults is piped-forward data (`<-`).