VictoriaMetrics/app
Aliaksandr Valialkin 830b871baf
app/vmagent: properly shutdown when -maxIngestionRate limit is reached
The remotewrite.Stop() expects that there are no pending calls to TryPush().
This means that the ingestionRateLimiter.Register() must be unblocked inside TryPush() when calling remotewrite.Stop().
Provide remotewrite.StopIngestionRateLimiter() function for unblocking the rate limiter before calling the remotewrite.Stop().

While at it, move the rate limiter into lib/ratelimiter package, since it has two users.
Also move the description of the feature to the correct place at docs/CHANGELOG.md.
Also cross-reference -remoteWrite.rateLimit and -maxIngestionRate command-line flags.

This is a follow-up for 02bccd1eb9
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5900
2024-03-30 06:43:48 +02:00
..
victoria-logs all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:15:04 +02:00
victoria-metrics app/{vminsert,vmagent}: allow using -streamAggr.dedupInterval without -streamAggr.config 2024-03-05 00:45:30 +02:00
vlinsert Add _stream fields log (#5068) 2023-11-17 15:58:52 +01:00
vlselect fix typo in kyiv city name 2024-03-23 21:56:31 +01:00
vlstorage app/vlselect: follow-up for 451d2abf50 2024-02-18 23:05:51 +02:00
vmagent app/vmagent: properly shutdown when -maxIngestionRate limit is reached 2024-03-30 06:43:48 +02:00
vmalert app/vmalert: respect batch size limit for remote write on shutdown (#6039) 2024-03-29 14:27:50 +01:00
vmalert-tool all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:15:04 +02:00
vmauth vmauth: support other auth header names besides Authorization (#6009) 2024-03-26 13:21:07 +01:00
vmbackup lib/snapshot: move Time, Validate and NewName into lib/snapshot/snapshotutil package 2024-02-09 04:18:45 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmctl app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-18 12:18:32 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vminsert app/{vmagent,vminsert}: fixed firehose response (#6016) 2024-03-26 13:20:41 +01:00
vmrestore all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:15:04 +02:00
vmselect lib/storage: add ability to use downsampling for the given series filter (#733) 2024-03-30 04:12:23 +02:00
vmstorage lib/storage: adds metrics for downsampling (#382) 2024-03-30 01:11:49 +02:00
vmui fix typo in kyiv city name 2024-03-23 21:56:31 +01:00