mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-30 15:22:07 +00:00
app/vmselect: simplify wording for too many samples
error (#5827)
This commit is contained in:
parent
bb1279bfc4
commit
17cf031fa1
1 changed files with 2 additions and 2 deletions
|
@ -1193,8 +1193,8 @@ func ProcessSearchQuery(qt *querytracer.Tracer, sq *storage.SearchQuery, deadlin
|
||||||
if *maxSamplesPerQuery > 0 && samples > *maxSamplesPerQuery {
|
if *maxSamplesPerQuery > 0 && samples > *maxSamplesPerQuery {
|
||||||
putTmpBlocksFile(tbf)
|
putTmpBlocksFile(tbf)
|
||||||
putStorageSearch(sr)
|
putStorageSearch(sr)
|
||||||
return nil, fmt.Errorf("cannot select more than -search.maxSamplesPerQuery=%d samples; possible solutions: to increase the -search.maxSamplesPerQuery; "+
|
return nil, fmt.Errorf("cannot select more than -search.maxSamplesPerQuery=%d samples; possible solutions: increase the -search.maxSamplesPerQuery; "+
|
||||||
"to reduce time range for the query; to use more specific label filters in order to select lower number of series", *maxSamplesPerQuery)
|
"reduce time range for the query; use more specific label filters in order to select fewer series", *maxSamplesPerQuery)
|
||||||
}
|
}
|
||||||
|
|
||||||
buf = br.Marshal(buf[:0])
|
buf = br.Marshal(buf[:0])
|
||||||
|
|
Loading…
Reference in a new issue