VictoriaMetrics/lib/httpserver
venkatbvc 85fd4917b1
vmauth: add counter metrics for auth successes and failures (#5166)
New labels `reason="wrong basic auth creds"` and `reason="wrong auth key"` were
added to metric `vm_http_request_errors_total`  to help identify auth errors.

https://github.com/victoriaMetrics/victoriaMetrics/issues/4590

Co-authored-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
(cherry picked from commit 0638bbe69c)
2023-10-31 12:54:57 +01:00
..
httpserver.go vmauth: add counter metrics for auth successes and failures (#5166) 2023-10-31 12:54:57 +01:00
httpserver_test.go vmauth: add counter metrics for auth successes and failures (#5166) 2023-10-31 12:54:57 +01:00
path.go lib/httpserver: link to url format docs in error message emitted on parse error for the provided url path 2022-11-28 18:49:03 -08:00