mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/streamaggr: add missing "s" suffix in the warning message when the de-duplication or aggregation couldnt be finished in a timely manner
This commit is contained in:
parent
d10932bd99
commit
9f81450b38
1 changed files with 2 additions and 2 deletions
|
@ -676,7 +676,7 @@ func (a *aggregator) dedupFlush(dedupInterval time.Duration) {
|
||||||
a.dedupFlushDuration.Update(d.Seconds())
|
a.dedupFlushDuration.Update(d.Seconds())
|
||||||
if d > dedupInterval {
|
if d > dedupInterval {
|
||||||
a.dedupFlushTimeouts.Inc()
|
a.dedupFlushTimeouts.Inc()
|
||||||
logger.Warnf("deduplication couldn't be finished in the configured dedup_interval=%s; it took %.03f; "+
|
logger.Warnf("deduplication couldn't be finished in the configured dedup_interval=%s; it took %.03fs; "+
|
||||||
"possible solutions: increase dedup_interval; use match filter matching smaller number of series; "+
|
"possible solutions: increase dedup_interval; use match filter matching smaller number of series; "+
|
||||||
"reduce samples' ingestion rate to stream aggregation", dedupInterval, d.Seconds())
|
"reduce samples' ingestion rate to stream aggregation", dedupInterval, d.Seconds())
|
||||||
}
|
}
|
||||||
|
@ -708,7 +708,7 @@ func (a *aggregator) flush(pushFunc PushFunc, interval time.Duration, resetState
|
||||||
a.flushDuration.Update(d.Seconds())
|
a.flushDuration.Update(d.Seconds())
|
||||||
if d > interval {
|
if d > interval {
|
||||||
a.flushTimeouts.Inc()
|
a.flushTimeouts.Inc()
|
||||||
logger.Warnf("stream aggregation couldn't be finished in the configured interval=%s; it took %.03f; "+
|
logger.Warnf("stream aggregation couldn't be finished in the configured interval=%s; it took %.03fs; "+
|
||||||
"possible solutions: increase interval; use match filter matching smaller number of series; "+
|
"possible solutions: increase interval; use match filter matching smaller number of series; "+
|
||||||
"reduce samples' ingestion rate to stream aggregation", interval, d.Seconds())
|
"reduce samples' ingestion rate to stream aggregation", interval, d.Seconds())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue