Commit Graph

21 Commits

Author SHA1 Message Date
Nicu Reut
a9ff1376f4
Use in-memory metrics for indexer benchmark banner [PLEN-99] (#16218) 2023-02-03 16:16:12 +00:00
Luc Bourlier
313aaad4a6
Common metrics reporter config format [PLEN-91] (#16213)
* Common metrics reporter config format

Fixed the config for metrics reporter for trigger service and oauth
middleware.
They are using a common config definition, as well as the JSON API
service.
The format matches the one used in canton configs.

CHANGELOG_BEGIN
CHANGELOG_END
2023-02-03 09:10:10 +01:00
Nicu Reut
234e7a1fad
[metrics] Improve the gauges API to allow closing a gauge [PLEN-107] (#16208) 2023-02-02 11:51:44 +00:00
Nicu Reut
dca7da1fd8
In memory metrics: Keep track of created metrics [PLEN-98] (#16199) 2023-02-01 16:26:01 +00:00
Nicu Reut
9da7d910b9
[metrics] Allow extension of no-op metrics factory (#16209) 2023-02-01 13:53:19 +00:00
Nicu Reut
b331572aef
Save initial gauge value for the in memory metrics [PLEN-67] (#16198) 2023-02-01 08:53:12 +01:00
Nicu Reut
a87412b68c
Introduce LabeledMetricsFactory trait to mark metrics factories that support labels [PLEN-98] (#16159) 2023-01-26 16:01:37 +00:00
Luc Bourlier
e809344c00
Metrics for node status [PLEN-63] (#16052)
* Metrics for node status [PLEN-63]

CHANGELOG_BEGIN

* Node status metric: daml_health_status

CHANGELOG_END
2023-01-26 12:01:14 +01:00
Nicu Reut
fee45895d8
[metrics] Remove the API allowing us to read the state of a counter [PLEN-97] (#16141) 2023-01-26 09:05:56 +01:00
Nicu Reut
17596abd1b
Expose opentelemetry jvm metrics alongside dropwizard metrics [PLEN-67] (#16133) 2023-01-24 19:58:20 +01:00
Nicu Reut
85eff2930f
Configure OpenTelemetry using the sdk [PLEN-68] (#16083) 2023-01-24 08:53:25 +01:00
Luc Bourlier
8f5b25fc1f
Adds metric around pruning in the participant [PLEN-32] (#15883)
* Move track functions to Tracked

* Adds metric around pruning in the participant [PLEN-32]

CHANGELOG_BEGIN

* Pruning metric: daml_services_pruning_prune

CHANGELOG_END

Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>

Co-authored-by: Luc Bourlier <lb@skyluc.org>
Co-authored-by: Miklos <57664299+miklos-da@users.noreply.github.com>
2023-01-13 16:47:52 +01:00
Nicu Reut
bce74e171e
[metrics] Add application id label to the received events counter [PLEN-70] (#16038)
Co-authored-by: Luc Bourlier <luc.bourlier@digitalasset.com>
2023-01-12 10:54:54 +01:00
Nicu Reut
758deffc4e
Decouple the metrics from the internals of the metrics libraries [PLEN-87] (#15954) 2023-01-10 12:15:19 +01:00
Nicu Reut
a7b7a9af1f
Fix race condition in gauge update [PLEN-86] (#16009) 2023-01-09 09:06:26 +01:00
Nicu Reut
90786f6180
Add no-op metrics factory (#15990) 2023-01-05 19:07:51 +00:00
Gary Verhaegen
151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00
atriantafyllos-da
642049616c
Generate doc instances for metrics groupable by name [DPP-1355]. (#15908) 2022-12-16 13:26:11 +00:00
Nicu Reut
c8c5eaa11f
Add metrics to execution services [PLEN-64] (#15861) 2022-12-15 15:34:25 +00:00
Luc Bourlier
9279f610ca
Use counters for non-monotonic metric values (#15870)
Meters should never decrease. Counter can increase and decrease [PLEN-49]

CHANGELOG_BEGIN
CHANGELOG_END
2022-12-14 09:31:05 +01:00
Nicu Reut
25f1254120
Move the metrics API to the observability module [PLEN-35] (#15831) 2022-12-12 09:35:55 +00:00