There are some problems in executeRequestAndUpdateMetrics function (pkg/event/skr_events_listener.go)
- The response code detection is invalid.
request.Response is NOT related to the HttpServer response: It is valid for a Response received from remote server when using HTTP Client to send a request.
- The
metrics.RecordHTTPInflightRequests increase/decrease seems to be wrongly placed. It should "wrap" the call to next.ServeHTTP(), but it does not.