Gnoseed
Observability · Flashcard

What does http_requests_total return with no brackets?

Why this is the answer

A bare selector evaluates to an instant vector: the most recent sample for each matching series, taken from within the lookback window. Returning every sample in a window needs a range selector such as [5m], summing across series needs sum(), and values always come back with the series.

Read more in the docs
Study in Gnoseed →