Skip to content

Unit test not considering the entire time series #9721

Answered by roidelapluie
martinohansen asked this question in Q&A
Discussion options

You must be logged in to vote

You are looking for:
max by(target)(max_over_time(http_status[10m]))

Same for min.

Without the over time, indeed only the instant you query is used.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@martinohansen
Comment options

Answer selected by martinohansen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9720 on November 11, 2021 14:01.