mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
all: refer to https://docs.victoriametrics.com/#resource-usage-limits in the error message about -search.max* limit
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4827
This commit is contained in:
parent
a0f695f5de
commit
ac6c40e896
@ -1243,7 +1243,8 @@ func setupTfss(qt *querytracer.Tracer, tr storage.TimeRange, tagFilterss [][]sto
|
|||||||
}
|
}
|
||||||
if len(paths) >= maxMetrics {
|
if len(paths) >= maxMetrics {
|
||||||
return nil, fmt.Errorf("more than %d time series match Graphite query %q; "+
|
return nil, fmt.Errorf("more than %d time series match Graphite query %q; "+
|
||||||
"either narrow down the query or increase the corresponding -search.max* command-line flag value", maxMetrics, query)
|
"either narrow down the query or increase the corresponding -search.max* command-line flag value; "+
|
||||||
|
"see see https://docs.victoriametrics.com/#resource-usage-limits", maxMetrics, query)
|
||||||
}
|
}
|
||||||
tfs.AddGraphiteQuery(query, paths, tf.IsNegative)
|
tfs.AddGraphiteQuery(query, paths, tf.IsNegative)
|
||||||
continue
|
continue
|
||||||
|
@ -2216,7 +2216,7 @@ func (is *indexSearch) updateMetricIDsForTagFilters(qt *querytracer.Tracer, metr
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, errFallbackToGlobalSearch) {
|
if errors.Is(err, errFallbackToGlobalSearch) {
|
||||||
return fmt.Errorf("the number of matching timeseries exceeds %d; either narrow down the search "+
|
return fmt.Errorf("the number of matching timeseries exceeds %d; either narrow down the search "+
|
||||||
"or increase -search.max* command-line flag values at vmselect", maxMetrics)
|
"or increase -search.max* command-line flag values at vmselect; see https://docs.victoriametrics.com/#resource-usage-limits", maxMetrics)
|
||||||
}
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user