Closed yeya24 closed 4 years ago
An example result of running two up instances using range query. One send requests to Thanos querier, one to query frontend.
Two small nits
Done.
:+1:
The only problem with this is that we run two queries in same time :thinking:
Signed-off-by: Ben Ye yb532204897@gmail.com
Changes I made in this pr:
type
label toup_custom_query_last_duration
,up_custom_query_executed_total
andup_custom_query_errors_total
. The value can be eitherquery
andquery_range
.step
flag which defines the default range query step if no step value configured for that query.There are two new fields
duration
andstep
.Duration
is the duration of the range query, if duration is not set, then that query will be considered as an instant query.Step
is the step value for the range query, if not set then it will use the default step value.