mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-13 13:11:37 +01:00
lib/storage: mention the accountID and projectID in error message when filtering out other (accountID, projectID) entries
This commit is contained in:
parent
d54f5fec0b
commit
0ccedbdfd2
@ -1714,7 +1714,7 @@ func (is *indexSearch) getMetricIDsForRecentHours(tr TimeRange, maxMetrics int,
|
||||
}
|
||||
}
|
||||
if err := ts.Error(); err != nil {
|
||||
return nil, false, fmt.Errorf("cannot filter out metricIDs by (accountID, projectID): %s", err)
|
||||
return nil, false, fmt.Errorf("cannot filter out metricIDs by (accountID=%d, projectID=%d): %s", accountID, projectID, err)
|
||||
}
|
||||
return metricIDs, true, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user