VictoriaMetrics/app/vminsert/prometheusimport
Aliaksandr Valialkin 4b3a207705
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:41:08 -08:00
..
request_handler.go app/{vmagent,vminsert}: follow-up for 1cfa183c2b 2023-01-23 22:41:08 -08:00