mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: use WARNING instead of INFO level for logging dropped labels
This commit is contained in:
parent
ce9e163e94
commit
76027093ca
1 changed files with 1 additions and 1 deletions
|
@ -503,7 +503,7 @@ func trackDroppedLabels(labels, droppedLabels []prompb.Label) {
|
|||
}
|
||||
droppedLabelsLogOnce.Do(func() {
|
||||
atomic.StoreUint64(&droppedLabelsLogNextTimestamp, ct+5)
|
||||
logger.Infof("dropping %d labels for %s; dropped labels: %s; either reduce the number of labels for this metric "+
|
||||
logger.Warnf("dropping %d labels for %s; dropped labels: %s; either reduce the number of labels for this metric "+
|
||||
"or increase -maxLabelsPerTimeseries=%d command-line flag value",
|
||||
len(droppedLabels), labelsToString(labels), labelsToString(droppedLabels), maxLabelsPerTimeseries)
|
||||
droppedLabelsLogOnce = &sync.Once{}
|
||||
|
|
Loading…
Reference in a new issue