VictoriaMetrics/app/vmagent/remotewrite
viperstars 3661373cc2
app/vmagent/remotewrite: skip sending empty block to downstream server (#6241)
Occasionally, vmagent sends empty blocks to downstream servers. If a
downstream server returns an unexpected response, vmagent gets stuck in
a retry loop. While vmagent handles 400 and 409 errors, there are
various prometheus remote write implementations that return different
error codes. For example, vector returns a 422 error. To mitigate the
risk of vmagent getting stuck in a retry loop, it is advisable to skip
sending empty blocks to downstream servers.

Co-authored-by: hao.peng <hao.peng@smartx.com>
Co-authored-by: Zhu Jiekun <jiekun.dev@gmail.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-05-17 14:55:17 +02:00
..
client.go app/vmagent/remotewrite: skip sending empty block to downstream server (#6241) 2024-05-17 14:55:17 +02:00
pendingseries.go Exemplar support (#5982) 2024-05-07 12:09:44 +02:00
pendingseries_test.go Exemplar support (#5982) 2024-05-07 12:09:44 +02:00
pendingseries_timing_test.go lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-14 23:04:45 +02:00
relabel.go app/vmagent: removed deprecated -remoteWrite.multitenantURL flag support (#6253) 2024-05-13 15:22:37 +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:24:00 +02:00
remotewrite.go app/vmagent: add global aggregator (#6268) 2024-05-17 14:00:47 +02:00
remotewrite_test.go Feature allow configuring disableOnDiskQueue and dropSamplesOnOverload per url (#6248) 2024-05-10 12:09:21 +02:00
statconn.go app/vmagent: support for DNS SRV urls at -remoteWrite.url, scrape target urls and service discovery urls 2024-04-17 20:54:39 +02:00
streamaggr.go app/vmagent: add global aggregator (#6268) 2024-05-17 14:00:47 +02:00