diff --git a/lib/storage/index_db.go b/lib/storage/index_db.go index 87fc4c4948..97e42acadb 100644 --- a/lib/storage/index_db.go +++ b/lib/storage/index_db.go @@ -1893,7 +1893,7 @@ func (is *indexSearch) searchMetricIDs(tfss []*TagFilters, tr TimeRange, maxMetr return nil, err } if metricIDs.Len() > maxMetrics { - return nil, fmt.Errorf("the number or unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics) + return nil, fmt.Errorf("the number of unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics) } // Stop the iteration, since we cannot find more metric ids with the remaining tfss. break @@ -1902,7 +1902,7 @@ func (is *indexSearch) searchMetricIDs(tfss []*TagFilters, tr TimeRange, maxMetr return nil, err } if metricIDs.Len() > maxMetrics { - return nil, fmt.Errorf("the number or matching unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics) + return nil, fmt.Errorf("the number of matching unique timeseries exceeds %d; either narrow down the search or increase -search.maxUniqueTimeseries", maxMetrics) } } if metricIDs.Len() == 0 {