What metrics does go-http-metrics measure?
masterThe middleware measures the following key metrics based on the [RED] and [Four Golden Signals] principles:
- Request Duration: The time taken to process requests (labeled with
code,handler, andmethod). - Request Count: The total number of requests (labeled with
code,handler, andmethod). - Response Size: The size of the responses (labeled with
code,handler, andmethod). - Inflight Requests: The number of requests currently being handled concurrently (labeled with
handler).