TS.QUERYLABELS

Since 1.1.0Time series

Syntax

TS.QUERYLABELS <LABELS | VALUES label> [FILTER filter ...]
  • ACL categories: @read, @slow, @timeseries
  • Arity: -1

Returns the label names in use, with LABELS, or the values of one label, with VALUES label, across the time series that match the FILTER conditions, or all of them (Redis 8.10).

Examples

> TS.QUERYLABELS LABELS
1) "kind"
2) "room"
> TS.QUERYLABELS VALUES room
1) "hall"
2) "kitchen"