mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
[VMAlert] Fix error log when remoteWrite queue size is full (#602)
* Fix Auto metrics relabeled errors * Finalize auto-genenated Labels * Fix Test Errors * fix error logs when queue is full Co-authored-by: xinyulong <xinyulong@kuaishou.com>
This commit is contained in:
parent
0b2086b7a5
commit
d59cdbe90c
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ func NewClient(ctx context.Context, cfg Config) (*Client, error) {
|
||||||
baPass: cfg.BasicAuthPass,
|
baPass: cfg.BasicAuthPass,
|
||||||
flushInterval: cfg.FlushInterval,
|
flushInterval: cfg.FlushInterval,
|
||||||
maxBatchSize: cfg.MaxBatchSize,
|
maxBatchSize: cfg.MaxBatchSize,
|
||||||
|
maxQueueSize: cfg.MaxQueueSize,
|
||||||
doneCh: make(chan struct{}),
|
doneCh: make(chan struct{}),
|
||||||
input: make(chan prompbmarshal.TimeSeries, cfg.MaxQueueSize),
|
input: make(chan prompbmarshal.TimeSeries, cfg.MaxQueueSize),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue