VictoriaMetrics/app
Aliaksandr Valialkin 7edb5f77f1
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-04-03 02:41:11 +03:00
..
victoria-logs all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
vlinsert Add _stream fields log (#5068) 2023-11-17 16:04:13 +01:00
vlselect fix typo in kyiv city name 2024-03-25 15:42:53 +01:00
vlstorage app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
vmagent app/vmagent: properly shutdown when -maxIngestionRate limit is reached 2024-04-03 02:41:11 +03:00
vmalert vmalert: fix sending alert messages (#6028) 2024-04-02 23:51:06 +03:00
vmalert-tool docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmauth vmauth: support other auth header names besides Authorization (#6009) 2024-04-02 18:41:00 +03:00
vmbackup lib/snapshot: move Time, Validate and NewName into lib/snapshot/snapshotutil package 2024-02-09 04:19:30 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmctl app/vmctl: break explore phase in vm-native mode by time intervals 2024-03-25 15:42:24 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vminsert app/{vmagent,vminsert}: fixed firehose response (#6016) 2024-04-02 18:03:12 +03:00
vmrestore all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
vmselect app/vmselect: make vmselect resilient to absence of cache folder (#5987) 2024-03-26 15:27:32 +01:00
vmstorage lib/storage: adds metrics for downsampling (#382) 2024-04-03 02:36:05 +03:00
vmui fix typo in kyiv city name 2024-03-25 15:42:53 +01:00