VictoriaMetrics/app/vmagent/prometheusimport
Aliaksandr Valialkin f7acdb13db
app/{vmagent,vminsert}: follow-up for 1cfa183c2b
- Call httpserver.GetQuotedRemoteAddr() and httpserver.GetRequestURI() only when the error occurs.
  This saves CPU time on fast path when there are no parsing errors.
- Create a helper function - httpserver.LogError() - for logging the error with the request uri and remote addr context.
2023-01-23 22:26:53 -08:00
..
request_handler_test.go app/{vmagent,vminsert}: follow-up for 1cfa183c2b 2023-01-23 22:26:53 -08:00
request_handler.go app/{vmagent,vminsert}: follow-up for 1cfa183c2b 2023-01-23 22:26:53 -08:00