commit | 9f37a5dcbc2bdd8608c26d08c99200266d3aa094 | [log] [tgz] |
---|---|---|
author | Marcin Czech <maczech@gmail.com> | Fri Jan 20 01:13:46 2023 +0100 |
committer | Marcin Czech <maczech@gmail.com> | Fri Jan 20 19:49:18 2023 +0100 |
tree | 088b702f96436ee355d62a4db347d4d98f06e7b5 | |
parent | ad767696e5aaf5bae4dbde6df9f0a4626648b69c [diff] |
Add global-refdb operations latency metrics Record and expose latency metrics for following global-refdb operations: * compareAndPut - metric name: global_refdb_compare_and_put_latency * get - metric name: global_refdb_get_latency * lockRef - metric name: global_refdb_lock_ref_latency * isUpToDate - metric name: global_refdb_is_up_to_date_latency * exists - metric name: global_refdb_exists_latency * remove - metric name: global_refdb_remove_latency Bump the global-refdb version to 3.4.8.1. Change-Id: Ibbd105cb716d24df9e111a7eba0a2fffca18cde9
Global ref-database interface for use with Gerrit Code Review.
Enables the de-coupling between Gerrit, its libModules and the different implementations of a globally shared ref-database.
The design for a global ref-db interface can be found as part of the multi-site design documentation, where it first originated and was approved by the community.
In order to consume this library, some Guice bindings need to be registered appropriately. More information in the relevant documentation.
Global ref-database expose metrics to measure the global ref-database operation latency. List of the available metrics can be found here.