Commit Graph

549 Commits

Author SHA1 Message Date
Carl Pulley
69d4a30600
Bug fix: use retries to manage logger/metrics race condition (#16647) 2023-04-03 15:02:45 +01:00
Carl Pulley
c0a9bdd4b9
Refactor of numberOfActiveContracts to expose a mre abstact ACS view (#16644) 2023-04-03 08:53:05 +01:00
Carl Pulley
dbedb5523d
Refactored Converter.to* methods to be static (#16643) 2023-04-03 08:49:06 +01:00
Brian Healey
6a3a7a84a4
implement updateUser in ledger client (#16589)
* implement updateUser in ledger client

* Use unique parties for updateUser trigger test

* scalafmt
2023-03-23 00:12:54 +00:00
Carl Pulley
be078d0e7c
extend rule simulation tests with expected (jn general) logging metric changes (#16508) 2023-03-20 13:28:49 +00:00
Carl Pulley
163abba444
trigger rule simulation test (with naive/simple data generators) to prove out heartbeating logging metrics (#16507) 2023-03-20 11:11:40 +00:00
Carl Pulley
9993566359
Ensure trigger span starts and ends are always logged (#16542) 2023-03-15 16:44:53 +00:00
Carl Pulley
ad2fb6353d
bazel build changes to separate trigger simulation code into its own "build module" (#16506) 2023-03-14 19:13:06 +00:00
Carl Pulley
a8e9ee3937
simulation bridge code to populate trigger metric data structures using logging (#16505) 2023-03-14 18:05:04 +00:00
Carl Pulley
08f80f2a3a
definition of Scala data structures for representing trigger logging metric data (#16504) 2023-03-14 15:54:36 +00:00
Carl Pulley
cdb007f6da
Trigger Runner code to extract information from internal trigger state (#16502) 2023-03-14 13:17:30 +00:00
Carl Pulley
861d917531
modification to trigger logging context to enable testing code to leak logging metric data (#16501) 2023-03-10 18:28:38 +00:00
Carl Pulley
de7b34ffb1
additional Trigger converter changes to enable converting high level data structures into Speedy values (#16500) 2023-03-10 15:12:00 +00:00
Luc Bourlier
dde8c66ae7
Align format for value in service label. (#16481)
CHANGELOG_BEGIN
CHANGELOG_END
2023-03-08 16:31:20 +01:00
mziolekda
d8d55ca412
upgrade to scala 2.13.10 (#16423)
* update build system to scala 2.13.10

* fix failing scala files

* format

* fix compatibility

* resolve conflict on maven_install_2.13.json
2023-02-28 23:21:53 +00:00
Carl Pulley
28423a354f
Trigger logging context fix for speedy machine evaluations (#16410) 2023-02-28 15:25:33 +00:00
Nicu Reut
7e87912cd5
Add ability to configure histograms through the config files [PLEN-159] (#16387) 2023-02-28 10:50:26 +00:00
Sergey Kisel
b33d635beb
Customizable JWT audiences (#16330) 2023-02-27 16:05:38 +01:00
Carl Pulley
87d79f3eae
Small logging and configuration bug fixes for trigger (#16382) 2023-02-27 14:43:14 +00:00
Carl Pulley
e70d2bda6a
Core trigger rule simulator library (#16354) 2023-02-21 20:04:55 +00:00
Carl Pulley
45086dec07
Refactor Runner to aid building a trigger rule simulator (#16349) 2023-02-21 18:16:28 +00:00
Carl Pulley
814415806c
Trigger rule and step interpreter timeout hard limits (#16296) 2023-02-21 17:21:06 +00:00
mziolekda
1a3980bf89
Separate test-common from the rest of the ledger code (#16307)
* move files

* format

* wrong file

* fix conformance tests

* add readme

* fix compatibility tests

* fix haskell tests
2023-02-14 15:29:13 +00:00
mziolekda
d9974984fd
Remove circular dependency on the //ledger project caused by ledger-resources [DPP-1410] (#16295)
* remove circular dependency on the //ledger project caused by ledger-resources

* format
2023-02-13 08:38:44 +00:00
Carl Pulley
e582860ea3
Bug fix for trigger backwards compatibility issues (#16283) 2023-02-09 18:39:44 +00:00
Carl Pulley
7413bf80d2
Add in trigger trace logging of state and (full) batch message lists (#16072) 2023-02-09 16:11:50 +00:00
Carl Pulley
73271b219b
Ensure trigger service stops runners that throw trigger overflow exceptions (#16232) 2023-02-08 15:52:48 +00:00
Carl Pulley
46e10a662c
Added in missing metrics for trigger initialization (#16253) 2023-02-08 10:07:20 +00:00
Carl Pulley
cac12f085a
Bug fix to ensure trigger metric code is backwards compatible (#16244) 2023-02-06 17:23:51 +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
Carl Pulley
42cdc86e15
Trigger rule evaluation metric logging (#16215) 2023-02-02 16:50:25 +00:00
Carl Pulley
45de0c20f6
Daml code to manage trigger in-flight and ACS hard limits (#16203) 2023-02-02 08:34:37 +00:00
Carl Pulley
1e967d0ea3
ACS Overflow detection (#16195) 2023-02-01 13:48:56 +00:00
Carl Pulley
c0c965c83f
Trigger should always perform message batching (#16194) 2023-01-31 13:04:50 +00:00
Sergey Kisel
c04019de4e
Restrict the use of non-allocated party in User Mnmgt API for ParticipantAdmin [DPP-1385] (#16111) 2023-01-28 11:49:11 +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
atriantafyllos-da
a05de7d248
Upgrade toxiproxy-java, circe, spray-json, spray-json-derived-codecs versions. (#15949)
Upgraded toxiproxy-java, circe, spray-json and spray-json-derived-codecs.

changelog_begin
changelog_end
2023-01-24 17:05:57 +00:00
Nicu Reut
85eff2930f
Configure OpenTelemetry using the sdk [PLEN-68] (#16083) 2023-01-24 08:53:25 +01:00
Carl Pulley
398efbe3c7
Trigger back pressure Daml signals and in-flight command controls 2023-01-17 17:36:15 +00:00
Nicu Reut
f370124518
Rename telemetry to tracing [PLEN-70] (#16073) 2023-01-17 09:22:31 +01:00
Carl Pulley
edeadc44a7
Refactor batch trigger to wrap arguments in a record type 2023-01-13 17:13:02 +00:00
Carl Pulley
4f4ce50fe2
Ensure logging context is present in release logback.xml and trigger logging is INFO by default 2023-01-13 15:07:40 +00:00
Moisés Ackerman
3633d3bb52
Require HasAgreement t in template-only daml-script/daml-trigger functions (#16039) 2023-01-12 13:55:30 +01:00
Sergey Kisel
f184892125
Authorization rule changes for IDPs isolation [DPP-1336] (#15848) 2023-01-12 13:43:48 +01:00
Remy
3ac1505844
Revert "[Triggers] disable tests flaky on windows (#15955)" 2023-01-06 08:59:15 +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
Remy
dcbf9947f4
[Triggers] make message batch size configurable (#15929) 2023-01-03 13:32:10 +00:00
Remy
a40938d71a
[Triggers] fix versioning (#15992)
- fix wrong comparison for create event
- add patch number in scala version names
- change 2.6 -> 2.5.1 in anticipantion of #15902 backport
2023-01-03 12:45:57 +00:00
Remy
8201064bbf
[Triggers] disable tests flaky on windows (#15955) 2022-12-21 15:43:48 +00:00
atriantafyllos-da
68ba24ab58
Upgrade daml libraries (junit, auth0, caffeine, guava, awaitility) (#15916)
Upgraded:
* junit
* auth0
* caffeine
* guava
* awaitility
2022-12-20 09:50:10 +01:00