* Adds the standard metrics to the HTTP endpoint
Refactors akka http metrics support to be used by both json-api and trigger-service
CHANGELOG_BEGIN
* Trigger Service - basic and HTTP endpoint metrics
CHANGELOG_END
Removes possible flakiness.
With chunked data, if the request is not executed, the request data might not be processed, and its size not recorded.
CHANGELOG_BEGIN
CHANGELOG_END
* Support for golden signals metrics on akka-http
Adds metrics support needed for throughput, error rate, latency,
and data size on both the classic http endpoints and
the websocket endpoints.
Installed the support on the JSON API endpoints.
CHANGELOG_BEGIN
JSON API - additional metrics for endpoints
daml_http_json_api_requests_total
daml_http_json_api_errors_total
daml_http_json_api_requests_duration_seconds
daml_http_json_api_requests_size_bytes
daml_http_json_api_responses_size_bytes
daml_http_json_api_websocket_messages_received_total
daml_http_json_api_websocket_messages_received_size_bytes
daml_http_json_api_websocket_messages_sent_total
daml_http_json_api_websocket_messages_sent_size_bytes
CHANGELOG_END
Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>