Syntax
Arguments
db_name- The name of the database where a TimeSeries table is located.time_series_table- The name of a TimeSeries table.instant_query- An instant selector written in PromQL syntax, without@oroffsetmodifiers.min_time- Start timestamp, inclusive.max_time- End timestamp, inclusive.
min_time and max_time can have fractions of a second even if the timestamps in the table are whole seconds:
the function selects the samples with min_time <= timestamp <= max_time exactly, without rounding the bounds to the type of the timestamps.
Returned value
The function returns three columns:id- Contains the identifiers of time series matching the specified selector.timestamp- Contains timestamps.value- Contains values.