VictoriaMetrics/app/vmalert/remotewrite
Roman Khavronenko 9afd19d375 app/vmalert: add retries to remotewrite (#605)
* app/vmalert: add retries to remotewrite

Remotewrite pkg now does limited number of retries if write request failed.
This suppose to make vmalert state persisting more reliable.

New metrics were added to remotewrite in order to track rows/bytes sent/dropped.

defaultFlushInterval was increased from 1s to 5s for sanity reasons.

* fix

* wip

* wip

* wip

* fix bits alignment bug for 32-bit systems

* fix mistakenly dropped field
2020-07-05 18:47:38 +03:00
..
init.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
remotewrite_test.go app/vmalert: add retries to remotewrite (#605) 2020-07-05 18:47:38 +03:00
remotewrite.go app/vmalert: add retries to remotewrite (#605) 2020-07-05 18:47:38 +03:00