VictoriaMetrics/app
Zakhar Bessarab 3f618c0485
app/vmauth: do not increment backend_errors when hitting concurrency limit (#6078)
* app/vmauth: do not increment backend_errors when hitting concurrency limit

Previously, both "vmauth_concurrent_requests_limit_reached_total" and "vmauth_user_request_backend_errors_total" were incremented.
This was based on the assumption that if concurrency limit is hit the backend must be failing to handle the request thus meaning an error.

This assumption does not work in case the endpoint can be overloaded by the misbehaving client sending too many requests within the timeframe.

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5565

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-04-17 12:34:33 +02:00
..
victoria-logs fixed EXPOSE port for VictoriaLogs' Dockerfiles (#6082) 2024-04-11 09:08:44 +02:00
vlinsert all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-03 03:00:45 +03:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after the recent changes at app/vmui 2024-04-04 02:09:39 +03:00
vlstorage app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
vmagent app/{vmagent,vminsert}: accept Prometheus remote write protocol requests at /prometheus/api/v1/push additionally to /api/v1/push 2024-04-04 02:17:10 +03:00
vmalert vmalert: support any status code from the range 200-299 from alertmanager as successful (#6111) 2024-04-16 09:58:09 +02: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 app/vmauth: do not increment backend_errors when hitting concurrency limit (#6078) 2024-04-17 12:34:33 +02: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: properly close file descriptor in verify-block action (#6106) 2024-04-17 09:40:23 +02: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}: accept Prometheus remote write protocol requests at /prometheus/api/v1/push additionally to /api/v1/push 2024-04-04 02:17:10 +03:00
vmrestore all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
vmselect chore: fix function names in comment (#6076) 2024-04-08 15:38:51 +02:00
vmstorage lib/storage: adds metrics for downsampling (#382) 2024-04-03 02:36:05 +03:00
vmui vmui/vmanomaly: integrate vmanomaly query_server (#6017) 2024-04-16 09:58:03 +02:00