VictoriaMetrics/app
Zakhar Bessarab b4d8837917
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 09:38:19 +02:00
..
victoria-logs fixed EXPOSE port for VictoriaLogs' Dockerfiles (#6082) 2024-04-09 13:54:52 -07:00
victoria-metrics all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-02 23:16:29 +03:00
vlinsert all: fix golangci-lint(revive) warnings after 0c0ed61ce7 2024-04-02 23:16:29 +03:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after the recent changes at app/vmui 2024-04-04 02:08:24 +03:00
vlstorage app/vlselect: follow-up for 451d2abf50 2024-02-18 23:05:51 +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:15:52 +03:00
vmalert vmalert: support any status code from the range 200-299 from alertmanager as successful (#6111) 2024-04-16 09:33:11 +02:00
vmalert-tool all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:15:04 +02:00
vmauth app/vmauth: do not increment backend_errors when hitting concurrency limit (#6078) 2024-04-17 09:38:19 +02: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: properly close file descriptor in verify-block action (#6106) 2024-04-16 11:33:04 +02: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}: accept Prometheus remote write protocol requests at /prometheus/api/v1/push additionally to /api/v1/push 2024-04-04 02:15:52 +03:00
vmrestore all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:15:04 +02:00
vmselect chore: fix function names in comment (#6076) 2024-04-08 01:11:12 -07:00
vmstorage lib/storage: adds metrics for downsampling (#382) 2024-03-30 01:11:49 +02:00
vmui vmui/vmanomaly: integrate vmanomaly query_server (#6017) 2024-04-15 09:25:52 +02:00