Commit Graph

55 Commits

Author SHA1 Message Date
Luc Bourlier
3728919b66
Enables metrics for trigger-service [PLEN-13] (#15577)
* 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
2022-11-22 16:09:57 +01:00
Luc Bourlier
e24ce7ab4f
Adds labels to the Akka HTTP metrics [PLEN-12] (#15436)
* Adds labels to the Akka HTTP metrics

CHANGELOG_BEGIN
CHANGELOG_END

* code improvements

* A bit of headroom for the latency tests
2022-11-16 11:08:45 +01:00
Nicu Reut
5b958ae9b7
Use the testing metrics instead of opentelemetry testing sdk [PLEN-43] (#15555) 2022-11-14 13:15:21 +00:00
Luc Bourlier
fb1c7e7c66
Improve akka http metrics tests (#15534)
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
2022-11-11 14:17:25 +01:00
Luc Bourlier
4354c5d06b
Support for golden signals metrics on akka-http APIs [PLEN-12] (#15310)
* 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>
2022-11-09 16:55:12 +01:00