HTTP metrics improvements

- Switch to ochttp plugin
- Add HTTP request metrics
- Relabel for consistency
This commit is contained in:
Travis Groth 2019-07-11 20:11:17 -04:00
parent 8e4a54c6ca
commit e635c9bb3b
8 changed files with 139 additions and 129 deletions

View file

@ -168,9 +168,11 @@ Name | Type | Description
:------------------------------ | :-------- | :--------------------------------------------
http_server_requests_total | Counter | Total HTTP server requests handled by service
http_server_response_size_bytes | Histogram | HTTP server response size by service
http_server_request_size_bytes | Histogram | HTTP server request size by service
http_server_request_duration_ms | Histogram | HTTP server request duration by service
http_client_requests_total | Counter | Total HTTP client requests made by service
http_client_response_size_bytes | Histogram | HTTP client response size by service
http_client_request_size_bytes | Histogram | HTTP client request size by service
http_client_request_duration_ms | Histogram | HTTP client request duration by service
grpc_client_requests_total | Counter | Total GRPC client requests made by service
grpc_client_response_size_bytes | Histogram | GRPC client response size by service