VictoriaMetrics/app/vmagent/remotewrite
Zhu Jiekun 73ae5dcfc5
vmagent: remote write respect Retry-After in header (#6124)
### Describe Your Changes
related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6097

#### Changed
- Remote write retry policy in `vmagent` is changed into:
  1. Respect `Retry-After` duration if exists.
2. Otherwise, calculate next retry duration by backoff policy (x2) and
max retry duration limit.

#### Docs
- `CHANGELOG.md`.

---
### Checklist
The following checks are mandatory:

- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Co-authored-by: Zakhar Bessarab <me@zekker-dev.tk>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 5319acb8ed)
2024-09-24 16:58:16 +02:00
..
client_test.go vmagent: remote write respect Retry-After in header (#6124) 2024-09-24 16:58:16 +02:00
client.go vmagent: remote write respect Retry-After in header (#6124) 2024-09-24 16:58:16 +02:00
pendingseries_test.go Revert "Exemplar support (#5982)" 2024-07-03 16:09:18 +02:00
pendingseries_timing_test.go lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-16 20:48:30 +02:00
pendingseries.go Revert "Exemplar support (#5982)" 2024-07-03 16:09:18 +02:00
relabel_test.go app/vmagent/remotewrite: fix data race when extra labels are added to samples before sending them to multiple remote storage systems 2023-09-08 23:26:40 +02:00
relabel.go all: consistently use 'any' instead of 'interface{}' 2024-07-10 00:23:26 +02:00
remotewrite_test.go app/vmagent/remotewrite: follow-up for f153f54d11 2024-07-15 20:25:36 +02:00
remotewrite.go stream aggregation: perform deduplication for all received data when … (#6711) 2024-09-03 10:49:38 +02:00
streamaggr.go stream aggregation: perform deduplication for all received data when … (#6711) 2024-09-03 10:49:38 +02:00