VictoriaMetrics/vendor/github.com/cheggaaa/pb/v3
Dmytro Kozlov b2294d1cf1
vmctl/vm: added datapoints collection bar (#2486)
add progress bars to the VM importer

The new progress bars supposed to display the processing speed per each
VM importer worker. This info should help to identify if there is a bottleneck
on the VM side during the import process, without waiting for its finish.
The new progress bars can be disabled by passing `vm-disable-progress-bar` flag.

Plotting multiple progress bars requires using experimental progress bar pool
from github.com/cheggaaa/pb/v3. Switch to progress bar pool required changes
in all import modes.

The openTSDB mode wasn't changed due to its implementation, which implies individual progress
bars per each series. Because of this, using the pool wasn't possible.

Signed-off-by: dmitryk-dk <kozlovdmitriyy@gmail.com>

Co-authored-by: hagen1778 <roman@victoriametrics.com>
2022-05-02 09:06:34 +02:00
..
termutil vmctl/vm: added datapoints collection bar (#2486) 2022-05-02 09:06:34 +02:00
element.go vendor: make vendor-update 2021-04-24 01:34:07 +03:00
io.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
LICENSE app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
pb.go vmctl/vm: added datapoints collection bar (#2486) 2022-05-02 09:06:34 +02:00
pool.go vmctl/vm: added datapoints collection bar (#2486) 2022-05-02 09:06:34 +02:00
pool_win.go vmctl/vm: added datapoints collection bar (#2486) 2022-05-02 09:06:34 +02:00
pool_x.go vmctl/vm: added datapoints collection bar (#2486) 2022-05-02 09:06:34 +02:00
preset.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
speed.go app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl 2021-02-01 01:10:20 +02:00
template.go vendor: make vendor-update 2021-02-16 22:24:52 +02:00
util.go vendor: make vendor-update 2021-02-16 22:24:52 +02:00