blob: 6c9dfeff85841e74238ef0661c3fe9c0b888509d [file] [log] [blame]
David Pursehouse8ad11732016-08-29 15:00:14 +09001= Gerrit Code Review - Metrics
2
3Metrics about Gerrit's internal state can be sent to external monitoring systems
4via plugins. See the link:dev-plugins.html#metrics[plugin documentation] for
5details of plugin implementations.
6
7== Metrics
8
9The following metrics are reported.
10
11=== General
12
13* `build/label`: Version of Gerrit server software.
14* `events`: Triggered events.
Edwin Kempin6343a802021-09-21 16:44:16 +020015** `type`:
16 The type of the event.
David Pursehouse8ad11732016-08-29 15:00:14 +090017
Edwin Kempin9c6f12c2018-01-04 14:21:40 +010018=== Actions
19
Patrick Hiesel256be8d2019-04-25 09:46:56 +020020* `action/retry_attempt_count`: Number of retry attempts made
Edwin Kempin6343a802021-09-21 16:44:16 +020021 by RetryHelper to execute an action (0 == single attempt, no retry)
22** `action_type`:
23 The type of the action that was retried.
24** `operation_name`:
25 The name of the operation that was retried.
26** `cause`:
27 The original cause that triggered the retry.
Edwin Kempin9c6f12c2018-01-04 14:21:40 +010028* `action/retry_timeout_count`: Number of action executions of RetryHelper
Edwin Kempin6343a802021-09-21 16:44:16 +020029 that ultimately timed out
30** `action_type`:
31 The type of the action that was retried.
32** `operation_name`:
33 The name of the operation that was retried.
34** `cause`:
35 The original cause that triggered the retry.
Edwin Kempinae843322019-08-02 13:16:55 +020036* `action/auto_retry_count`: Number of automatic retries with tracing
Edwin Kempin6343a802021-09-21 16:44:16 +020037** `action_type`:
38 The type of the action that was retried.
39** `operation_name`:
40 The name of the operation that was retried.
41** `cause`:
42 The cause for the retry.
Edwin Kempin755504f2019-08-21 10:40:56 +020043* `action/failures_on_auto_retry_count`: Number of failures on auto retry
Edwin Kempin6343a802021-09-21 16:44:16 +020044** `action_type`:
45 The type of the action that was retried.
46** `operation_name`:
47 The name of the operation that was retried.
48** `cause`:
49 The cause for the retry.
Edwin Kempin9c6f12c2018-01-04 14:21:40 +010050
Edwin Kempin40c29892021-09-01 15:58:05 +020051[[cancellations]]
Edwin Kempin63a3f242021-08-05 13:35:37 +020052=== Cancellations
53
Edwin Kempin0bc9df92021-08-05 16:15:09 +020054* `cancellation/advisory_deadline_count`: Exceeded advisory deadlines by request
Edwin Kempin6343a802021-09-21 16:44:16 +020055** `request_type`:
56 The type of the request to which the advisory deadline applied.
57** `request_uri`:
58 The redacted URI of the request to which the advisory deadline applied (only
59 set for request_type = REST).
60** `deadline_id`:
61 The ID of the advisory deadline.
Edwin Kempin63a3f242021-08-05 13:35:37 +020062* `cancellation/cancelled_requests_count`: Number of request cancellations by
63 request
Edwin Kempin6343a802021-09-21 16:44:16 +020064** `request_type`:
65 The type of the request that was cancelled.
66** `request_uri`:
67 The redacted URI of the request that was cancelled (only set for
68 request_type = REST).
69** `cancellation_reason`:
70 The reason why the request was cancelled.
Edwin Kempin81f27502021-08-10 13:27:24 +020071* `cancellation/receive_timeout_count`: Number of requests that are cancelled
72 because link:config.html#receive.timeout[receive.timout] is exceeded
Edwin Kempin6343a802021-09-21 16:44:16 +020073** `cancellation_type`:
74 The cancellation type (graceful or forceful).
Edwin Kempin63a3f242021-08-05 13:35:37 +020075
Edwin Kempin20ace9d2021-09-20 15:53:49 +020076[[performance]]
77=== Performance
78
79* `performance/operations`: Latency of performing operations
Edwin Kempin6343a802021-09-21 16:44:16 +020080** `operation_name`:
81 The operation that was performed.
Edwin Kempin6343a802021-09-21 16:44:16 +020082** `request`:
83 The request for which the operation was performed (format = '<request-type>
84 <redacted-request-uri>').
Edwin Kempin4bc8c942021-09-22 09:01:17 +020085** `plugin`:
86 The name of the plugin that performed the operation.
Edwin Kempinac9590f2021-10-14 15:18:28 +020087* `performance/operations_count`: Number of performed operations
88** `operation_name`:
89 The operation that was performed.
90** `request`:
91 The request for which the operation was performed (format = '<request-type>
92 <redacted-request-uri>').
93** `plugin`:
94 The name of the plugin that performed the operation.
Edwin Kempin4bc8c942021-09-22 09:01:17 +020095
Fabio Ponciroli05bb4032022-01-18 14:37:26 +010096Performance metrics can be enabled via the
97link:config.gerrit.html#tracing.exportPerformanceMetrics[`tracing.exportPerformanceMetrics`]
98setting.
Edwin Kempin20ace9d2021-09-20 15:53:49 +020099
Han-Wen Nienhuysf7f67122018-10-08 16:45:49 +0200100=== Pushes
101
Edwin Kempin6343a802021-09-21 16:44:16 +0200102* `receivecommits/changes`: histogram of number of changes processed in a single
103 upload
104** `type`:
105 type of push (create/replace, autoclose)
106* `receivecommits/latency_per_push`: processing delay for a processing single
107 push
108** `type`:
109 type of push (create/replace, autoclose, normal)
110* `receivecommits/latency_per_push_per_change`: Processing delay per push
111 divided by the number of changes in said push. (Only includes pushes which
112 contain changes.)
113** `type`:
114 type of push (create/replace, autoclose, normal)
115* `receivecommits/timeout`: rate of push timeouts
Edwin Kempin5ee82292021-09-23 09:34:10 +0200116* `receivecommits/ps_revision_missing`: errors due to patch set revision missing
Edwin Kempin8e425bc2021-09-23 09:36:24 +0200117* `receivecommits/push_count`: number of pushes
118** `kind`:
Edwin Kempina1b78c72021-10-27 16:18:50 +0200119 The push kind (magic, direct or direct_submit).
Edwin Kempin8e425bc2021-09-23 09:36:24 +0200120** `project`:
121 The name of the project for which the push is done.
Edwin Kempinef3c42e2021-09-23 10:20:36 +0200122** `type`:
123 The type of the update (CREATE, UPDATE, CREATE/UPDATE, UPDATE_NONFASTFORWARD,
124 DELETE).
Han-Wen Nienhuysf7f67122018-10-08 16:45:49 +0200125
David Pursehouse8ad11732016-08-29 15:00:14 +0900126=== Process
127
128* `proc/birth_timestamp`: Time at which the Gerrit process started.
129* `proc/uptime`: Uptime of the Gerrit process.
Matthias Sohne2b3f8e2020-03-06 13:22:26 +0100130* `proc/cpu/num_cores`: Number of processors available to the Java virtual machine.
David Pursehouse8ad11732016-08-29 15:00:14 +0900131* `proc/cpu/usage`: CPU time used by the Gerrit process.
Matthias Sohnfa8de022020-03-06 13:39:44 +0100132* `proc/cpu/system_load`: System load average for the last minute.
David Pursehouse8ad11732016-08-29 15:00:14 +0900133* `proc/num_open_fds`: Number of open file descriptors.
Matthias Sohnad6c8772023-02-17 01:49:38 +0100134* `proc/jvm/memory/allocated`: Total memory allocated by all threads since Gerrit process started.
David Pursehouse8ad11732016-08-29 15:00:14 +0900135* `proc/jvm/memory/heap_committed`: Amount of memory guaranteed for user objects.
136* `proc/jvm/memory/heap_used`: Amount of memory holding user objects.
137* `proc/jvm/memory/non_heap_committed`: Amount of memory guaranteed for classes,
138etc.
139* `proc/jvm/memory/non_heap_used`: Amount of memory holding classes, etc.
140* `proc/jvm/memory/object_pending_finalization_count`: Approximate number of
141objects needing finalization.
142* `proc/jvm/gc/count`: Number of GCs.
Edwin Kempin6343a802021-09-21 16:44:16 +0200143** `gc_name`:
144 The name of the garbage collector.
David Pursehouse8ad11732016-08-29 15:00:14 +0900145* `proc/jvm/gc/time`: Approximate accumulated GC elapsed time.
Edwin Kempin6343a802021-09-21 16:44:16 +0200146** `gc_name`:
147 The name of the garbage collector.
148* `proc/jvm/memory/pool/committed`: Committed amount of memory for pool.
149** `pool_name`:
150 The name of the memory pool.
151* `proc/jvm/memory/pool/max`: Maximum amount of memory for pool.
152** `pool_name`:
153 The name of the memory pool.
154* `proc/jvm/memory/pool/used`: Used amount of memory for pool.
155** `pool_name`:
156 The name of the memory pool.
David Pursehouse8ad11732016-08-29 15:00:14 +0900157* `proc/jvm/thread/num_live`: Current live thread count.
Matthias Sohn9fc47ca2020-03-06 13:15:10 +0100158* `proc/jvm/thread/num_daemon_live`: Current live daemon threads count.
Edwin Kempin6343a802021-09-21 16:44:16 +0200159* `proc/jvm/thread/num_peak_live`: Peak live thread count since the Java virtual
160 machine started or peak was reset.
161* `proc/jvm/thread/num_total_started`: Total number of threads created and also
162 started since the Java virtual machine started.
163* `proc/jvm/thread/num_deadlocked_threads`: Number of threads that are
164 deadlocked waiting for object monitors or ownable synchronizers.
165 If deadlocks waiting for ownable synchronizers can be monitored depends on the
166 capabilities of the used JVM.
David Pursehouse8ad11732016-08-29 15:00:14 +0900167
168=== Caches
169
170* `caches/memory_cached`: Memory entries.
Edwin Kempin6343a802021-09-21 16:44:16 +0200171** `cache_name`:
172 The name of the cache.
David Pursehouse8ad11732016-08-29 15:00:14 +0900173* `caches/memory_hit_ratio`: Memory hit ratio.
Edwin Kempin6343a802021-09-21 16:44:16 +0200174** `cache_name`:
175 The name of the cache.
David Pursehouse8ad11732016-08-29 15:00:14 +0900176* `caches/memory_eviction_count`: Memory eviction count.
Edwin Kempin6343a802021-09-21 16:44:16 +0200177** `cache_name`:
178 The name of the cache.
David Pursehouse8ad11732016-08-29 15:00:14 +0900179* `caches/disk_cached`: Disk entries used by persistent cache.
Edwin Kempin6343a802021-09-21 16:44:16 +0200180** `cache_name`:
181 The name of the cache.
David Pursehouse8ad11732016-08-29 15:00:14 +0900182* `caches/disk_hit_ratio`: Disk hit ratio for persistent cache.
Edwin Kempin6343a802021-09-21 16:44:16 +0200183** `cache_name`:
184 The name of the cache.
185* `caches/refresh_count`: The number of refreshes per cache with an indicator if
186 a reload was necessary.
187** `cache`:
188 The name of the cache.
189** `outdated`:
190 Whether the cache entry was outdated on reload.
191* `caches/diff/timeouts`: The number of git file diff computations that resulted
192 in timeouts.
193* `caches/diff/legacy/timeouts`: The number of git file diff computations (using
194 the legacy cache) that resulted in timeouts.
David Pursehouse8ad11732016-08-29 15:00:14 +0900195
Antoine Mussoeeebe412020-11-12 23:14:46 +0100196Cache disk metrics are expensive to compute on larger installations and are not
197computed by default. They can be enabled via the
198link:config.gerrit.html#cache.enableDiskStatMetrics[`cache.enableDiskStatMetrics`]
199setting.
200
Patrick Hiesel8b384282019-08-09 10:51:30 +0200201=== Change
202
Edwin Kempin5a578242023-02-15 11:01:51 +0100203* `change/count_rebases`: Total number of rebases
204** `on_behalf_of_uploader`:
205 Whether the rebase was done on behalf of the uploader.
Edwin Kempin8cf88172023-03-31 09:06:58 +0000206 If the uploader does a rebase with '`on_behalf_of_uploader = true`', the flag
207 is ignored and a normal rebase is done, hence such rebases are recorded as
208 '`on_behalf_of_uploader` = false`'.
Edwin Kempin5a578242023-02-15 11:01:51 +0100209** `rebase_chain`:
210 Whether a chain was rebased.
Edwin Kempinfb9baaa2023-03-30 13:38:00 +0000211** `allow_conflicts`:
212 Whether the rebase was done with allowing conflicts.
Edwin Kempin795ba052023-01-26 13:49:38 +0100213* `change/submitted_with_rebaser_approval`: Number of rebased changes that were
214 submitted with a Code-Review approval of the rebaser that would not have been
215 submittable if the rebase was not done on behalf of the uploader.
Edwin Kempin6343a802021-09-21 16:44:16 +0200216* `change/submit_rule_evaluation`: Latency for evaluating submit rules on a
217 change.
218* `change/submit_type_evaluation`: Latency for evaluating the submit type on a
219 change.
220* `change/post_review/draft_handling`: Total number of draft handling option
221 (KEEP, PUBLISH, PUBLISH_ALL_REVISIONS) selected by users while posting a
222 review.
223** `type`:
224 The type of the draft handling option (KEEP, PUBLISH, PUBLISH_ALL_REVISIONS).
Patrick Hiesel8b384282019-08-09 10:51:30 +0200225
Youssef Elghareeba5c25452021-02-03 19:36:49 +0100226=== Comments
227
Edwin Kempin6343a802021-09-21 16:44:16 +0200228* `ported_comments/as_patchset_level`: Total number of comments ported as
229 patchset-level comments.
230* `ported_comments/as_file_level`: Total number of comments ported as file-level
231 comments.
232* `ported_comments/as_range_comments`: Total number of comments having
233 line/range values in the ported patchset.
Youssef Elghareeba5c25452021-02-03 19:36:49 +0100234
David Pursehouse8ad11732016-08-29 15:00:14 +0900235=== HTTP
236
Matthias Sohndb1e7862020-01-31 10:37:47 +0100237==== Jetty
238
Edwin Kempin6343a802021-09-21 16:44:16 +0200239* `http/server/jetty/connections/connections`: The current number of open
240 connections
241* `http/server/jetty/connections/connections_total`: The total number of
242 connections opened
243* `http/server/jetty/connections/connections_duration_max`: The max duration of
244 a connection in ms
245* `http/server/jetty/connections/connections_duration_mean`: The mean duration
246 of a connection in ms
247* `http/server/jetty/connections/connections_duration_stdev`: The standard
248 deviation of the duration of a connection in ms
249* `http/server/jetty/connections/received_messages`: The total number of
250 messages received
251* `http/server/jetty/connections/sent_messages`: The total number of messages
252 sent
253* `http/server/jetty/connections/received_bytes`: Total number of bytes received
254 by tracked connections
255* `http/server/jetty/connections/sent_bytes`: Total number of bytes sent by
256 tracked connections
Matthias Sohnae4a73b2020-01-31 10:37:47 +0100257* `http/server/jetty/threadpool/active_threads`: Active threads
Matthias Sohndb1e7862020-01-31 10:37:47 +0100258* `http/server/jetty/threadpool/idle_threads`: Idle threads
Matthias Sohnae4a73b2020-01-31 10:37:47 +0100259* `http/server/jetty/threadpool/reserved_threads`: Reserved threads
Matthias Sohndb1e7862020-01-31 10:37:47 +0100260* `http/server/jetty/threadpool/max_pool_size`: Maximum thread pool size
261* `http/server/jetty/threadpool/min_pool_size`: Minimum thread pool size
262* `http/server/jetty/threadpool/pool_size`: Current thread pool size
Edwin Kempin6343a802021-09-21 16:44:16 +0200263* `http/server/jetty/threadpool/queue_size`: Queued requests waiting for a
264 thread
265* `http/server/jetty/threadpool/is_low_on_threads`: Whether thread pool is low
266 on threads
Matthias Sohndb1e7862020-01-31 10:37:47 +0100267
Luca Milanesioed2eb742021-05-04 23:26:47 +0100268==== LDAP
269
270* `ldap/login_latency`: Latency of logins.
271* `ldap/user_search_latency`: Latency for searching the user account.
Edwin Kempin6343a802021-09-21 16:44:16 +0200272* `ldap/group_search_latency`: Latency for querying the group memberships of an
273 account.
Luca Milanesioed2eb742021-05-04 23:26:47 +0100274* `ldap/group_expansion_latency`: Latency for expanding nested groups.
275
Matthias Sohndb1e7862020-01-31 10:37:47 +0100276==== REST API
277
David Pursehouse8ad11732016-08-29 15:00:14 +0900278* `http/server/error_count`: Rate of REST API error responses.
Edwin Kempin6343a802021-09-21 16:44:16 +0200279** `status`:
280 HTTP status code
David Pursehouse8ad11732016-08-29 15:00:14 +0900281* `http/server/success_count`: Rate of REST API success responses.
Edwin Kempin6343a802021-09-21 16:44:16 +0200282** `status`:
283 HTTP status code
David Pursehouse8ad11732016-08-29 15:00:14 +0900284* `http/server/rest_api/count`: Rate of REST API calls by view.
Edwin Kempin6343a802021-09-21 16:44:16 +0200285** `view`:
286 view implementation class
Patrick Hiesel010e49b2017-12-14 17:50:21 +0100287* `http/server/rest_api/change_id_type`: Rate of REST API calls by change ID type.
Edwin Kempin6343a802021-09-21 16:44:16 +0200288** `change_id_type`:
289 The type of the change identifier.
David Pursehouse8ad11732016-08-29 15:00:14 +0900290* `http/server/rest_api/error_count`: Rate of REST API calls by view.
Edwin Kempin6343a802021-09-21 16:44:16 +0200291** `view`:
292 view implementation class
293** `error_code`:
294 HTTP status code
295** `cause`:
296 The cause of the error.
David Pursehouse8ad11732016-08-29 15:00:14 +0900297* `http/server/rest_api/server_latency`: REST API call latency by view.
Edwin Kempin6343a802021-09-21 16:44:16 +0200298** `view`:
299 view implementation class
David Pursehouse8ad11732016-08-29 15:00:14 +0900300* `http/server/rest_api/response_bytes`: Size of REST API response on network
Edwin Kempin6343a802021-09-21 16:44:16 +0200301 (may be gzip compressed) by view.
302** `view`:
303 view implementation class
Patrick Hiesel1a4041f2018-04-06 10:20:05 +0200304* `http/server/rest_api/change_json/to_change_info_latency`: Latency for
Edwin Kempin6343a802021-09-21 16:44:16 +0200305 toChangeInfo invocations in ChangeJson.
Patrick Hiesel1a4041f2018-04-06 10:20:05 +0200306* `http/server/rest_api/change_json/to_change_infos_latency`: Latency for
Edwin Kempin6343a802021-09-21 16:44:16 +0200307 toChangeInfos invocations in ChangeJson.
Patrick Hiesel1a4041f2018-04-06 10:20:05 +0200308* `http/server/rest_api/change_json/format_query_results_latency`: Latency for
Edwin Kempin6343a802021-09-21 16:44:16 +0200309 formatQueryResults invocations in ChangeJson.
310* `http/server/rest_api/ui_actions/latency`: Latency for RestView#getDescription
311 calls.
312** `view`:
313 view implementation class
David Pursehouse8ad11732016-08-29 15:00:14 +0900314
315=== Query
316
317* `query/query_latency`: Successful query latency, accumulated over the life
Edwin Kempin6343a802021-09-21 16:44:16 +0200318 of the process.
319** `index`: index name
David Pursehouse8ad11732016-08-29 15:00:14 +0900320
Eryk Szymanski04586d82018-05-30 22:42:20 +0200321=== Core Queues
Eryk Szymanski366c3a62018-05-03 15:04:12 +0200322
Eryk Szymanski04586d82018-05-30 22:42:20 +0200323The following queues support metrics:
324
325* default `WorkQueue`
326* index batch
327* index interactive
328* receive commits
329* send email
330* ssh batch worker
331* ssh command start
332* ssh interactive worker
333* ssh stream worker
334
335Each queue provides the following metrics:
336
337* `queue/<queue_name>/pool_size`: Current number of threads in the pool
Edwin Kempin6343a802021-09-21 16:44:16 +0200338* `queue/<queue_name>/max_pool_size`: Maximum allowed number of threads in the
339 pool
340* `queue/<queue_name>/active_threads`: Number of threads that are actively
341 executing tasks
Eryk Szymanski04586d82018-05-30 22:42:20 +0200342* `queue/<queue_name>/scheduled_tasks`: Number of scheduled tasks in the queue
Edwin Kempin6343a802021-09-21 16:44:16 +0200343* `queue/<queue_name>/total_scheduled_tasks_count`: Total number of tasks that
344 have been scheduled
345* `queue/<queue_name>/total_completed_tasks_count`: Total number of tasks that
346 have completed execution
Eryk Szymanski366c3a62018-05-03 15:04:12 +0200347
David Pursehouse8ad11732016-08-29 15:00:14 +0900348=== SSH sessions
349
350* `sshd/sessions/connected`: Number of currently connected SSH sessions.
351* `sshd/sessions/created`: Rate of new SSH sessions.
352* `sshd/sessions/authentication_failures`: Rate of SSH authentication failures.
353
Han-Wen Nienhuys61f65652017-06-12 19:46:04 +0200354=== Topics
355
356* `topic/cross_project_submit`: number of cross-project topic submissions.
357* `topic/cross_project_submit_completed`: number of cross-project
Edwin Kempin6343a802021-09-21 16:44:16 +0200358 topic submissions that concluded successfully.
Han-Wen Nienhuys61f65652017-06-12 19:46:04 +0200359
David Pursehouse8ad11732016-08-29 15:00:14 +0900360=== JGit
361
Matthias Sohn11b517e2020-03-05 17:43:12 +0100362* `jgit/block_cache/cache_used` : Bytes of memory retained in JGit block cache.
363* `jgit/block_cache/open_files` : File handles held open by JGit block cache.
364* `avg_load_time` : Average time to load a cache entry for JGit block cache.
365* `total_load_time` : Total time to load cache entries for JGit block cache.
Matthias Sohn028a01d2020-02-05 11:29:16 +0100366* `eviction_count` : Cache evictions for JGit block cache.
367* `eviction_ratio` : Cache eviction ratio for JGit block cache.
368* `hit_count` : Cache hits for JGit block cache.
369* `hit_ratio` : Cache hit ratio for JGit block cache.
370* `load_failure_count` : Failed cache loads for JGit block cache.
371* `load_failure_ratio` : Failed cache load ratio for JGit block cache.
372* `load_success_count` : Successful cache loads for JGit block cache.
373* `miss_count` : Cache misses for JGit block cache.
374* `miss_ratio` : Cache miss ratio for JGit block cache.
Edwin Kempin6343a802021-09-21 16:44:16 +0200375* `cache_used_per_repository` : Bytes of memory retained per repository for the
376 top N repositories having most data in the cache. The number N of reported
377 repositories is limited to 1000.
378** `repository_name`: The name of the repository.
David Pursehouse8ad11732016-08-29 15:00:14 +0900379
380=== Git
381
382* `git/upload-pack/request_count`: Total number of git-upload-pack requests.
Edwin Kempin6343a802021-09-21 16:44:16 +0200383** `operation`:
384 The name of the operation (CLONE, FETCH).
David Pursehouse8ad11732016-08-29 15:00:14 +0900385* `git/upload-pack/phase_counting`: Time spent in the 'Counting...' phase.
Edwin Kempin6343a802021-09-21 16:44:16 +0200386** `operation`:
387 The name of the operation (CLONE, FETCH).
David Pursehouse8ad11732016-08-29 15:00:14 +0900388* `git/upload-pack/phase_compressing`: Time spent in the 'Compressing...' phase.
Edwin Kempin6343a802021-09-21 16:44:16 +0200389** `operation`:
390 The name of the operation (CLONE, FETCH).
David Pursehouse8ad11732016-08-29 15:00:14 +0900391* `git/upload-pack/phase_writing`: Time spent transferring bytes to client.
Edwin Kempin6343a802021-09-21 16:44:16 +0200392** `operation`:
393 The name of the operation (CLONE, FETCH).
David Pursehouse8ad11732016-08-29 15:00:14 +0900394* `git/upload-pack/pack_bytes`: Distribution of sizes of packs sent to clients.
Edwin Kempin6343a802021-09-21 16:44:16 +0200395** `operation`:
396 The name of the operation (CLONE, FETCH).
Patrick Hiesele77fae42021-03-25 10:08:36 +0100397* `git/auto-merge/num_operations`: Number of auto merge operations and context.
Edwin Kempin6343a802021-09-21 16:44:16 +0200398** `operation`:
399 The type of the operation (CACHE_LOAD, IN_MEMORY_WRITE, ON_DISK_WRITE).
Patrick Hiesele77fae42021-03-25 10:08:36 +0100400* `git/auto-merge/latency`: Latency of auto merge operations and context.
Edwin Kempin6343a802021-09-21 16:44:16 +0200401** `operation`:
402 The type of the operation (CACHE_LOAD, IN_MEMORY_WRITE, ON_DISK_WRITE).
Edwin Kempin516167d2016-11-25 14:42:11 +0100403
David Pursehouse8ad11732016-08-29 15:00:14 +0900404=== NoteDb
405
Edwin Kempin89006772019-12-30 15:57:23 +0100406* `notedb/update_latency`: NoteDb update latency for changes.
407* `notedb/stage_update_latency`: Latency for staging change updates to NoteDb.
408* `notedb/read_latency`: NoteDb read latency for changes.
409* `notedb/parse_latency`: NoteDb parse latency for changes.
Patrick Hiesel42b47b12019-07-22 09:32:37 +0200410* `notedb/external_id_cache_load_count`: Total number of times the external ID
411 cache loader was called.
Edwin Kempin6343a802021-09-21 16:44:16 +0200412** `partial`:
413 Whether the reload was partial.
414* `notedb/external_id_partial_read_latency`: Latency for generating a new
415 external ID cache state from a prior state.
Edwin Kempin69608c42017-03-30 17:20:22 +0200416* `notedb/external_id_update_count`: Total number of external ID updates.
417* `notedb/read_all_external_ids_latency`: Latency for reading all
Edwin Kempin6343a802021-09-21 16:44:16 +0200418 external ID's from NoteDb.
Patrick Hiesela583bca2020-01-30 10:20:26 +0100419* `notedb/read_single_account_config_latency`: Latency for reading a single
Edwin Kempin6343a802021-09-21 16:44:16 +0200420 account config from NoteDb.
Patrick Hiesela583bca2020-01-30 10:20:26 +0100421* `notedb/read_single_external_id_latency`: Latency for reading a single
Edwin Kempin6343a802021-09-21 16:44:16 +0200422 external ID from NoteDb.
David Pursehouse8ad11732016-08-29 15:00:14 +0900423
Patrick Hieself71bafe2018-09-24 16:42:54 +0200424=== Permissions
425
Edwin Kempin6343a802021-09-21 16:44:16 +0200426* `permissions/permission_collection/filter_latency`: Latency for access filter
427 computations in PermissionCollection
Patrick Hieselc84c4e62018-09-28 13:02:25 +0200428* `permissions/ref_filter/full_filter_count`: Rate of full ref filter operations
Edwin Kempin6343a802021-09-21 16:44:16 +0200429* `permissions/ref_filter/skip_filter_count`: Rate of ref filter operations
430 where we skip full evaluation because the user can read all refs
Patrick Hieself71bafe2018-09-24 16:42:54 +0200431
Edwin Kempinf68598a2016-11-15 17:38:49 -0800432=== Reviewer Suggestion
433
434* `reviewer_suggestion/query_accounts`: Latency for querying accounts for
Edwin Kempin6343a802021-09-21 16:44:16 +0200435 reviewer suggestion.
Edwin Kempinf68598a2016-11-15 17:38:49 -0800436* `reviewer_suggestion/recommend_accounts`: Latency for recommending accounts
Edwin Kempin6343a802021-09-21 16:44:16 +0200437 for reviewer suggestion.
Edwin Kempinf68598a2016-11-15 17:38:49 -0800438* `reviewer_suggestion/load_accounts`: Latency for loading accounts for
Edwin Kempin6343a802021-09-21 16:44:16 +0200439 reviewer suggestion.
Edwin Kempinf68598a2016-11-15 17:38:49 -0800440* `reviewer_suggestion/query_groups`: Latency for querying groups for reviewer
Edwin Kempin6343a802021-09-21 16:44:16 +0200441 suggestion.
442* `reviewer_suggestion/filter_visibility`: Latency for removing users that can't
443 see the change
Edwin Kempinf68598a2016-11-15 17:38:49 -0800444
Dave Borowitz80fba942017-06-28 13:20:30 -0400445=== Repo Sequences
446
447* `sequence/next_id_latency`: Latency of requesting IDs from repo sequences.
Edwin Kempin6343a802021-09-21 16:44:16 +0200448** `sequence`:
449 The sequence from which IDs were retrieved.
450** `multiple`:
451 Whether more than one ID was retrieved.
Dave Borowitz80fba942017-06-28 13:20:30 -0400452
Edwin Kempinec7e81f2018-09-14 15:21:10 +0200453=== Plugin
454
Edwin Kempin49975d82018-09-19 15:14:51 +0200455* `plugin/latency`: Latency for plugin invocation.
Edwin Kempin6343a802021-09-21 16:44:16 +0200456** `plugin_name`"
457 The name of the plugin.
458** `class`:
459 The class of the plugin that was invoked.
460** `export_value`:
461 The export name under which the invoked class is registered.
Edwin Kempinec7e81f2018-09-14 15:21:10 +0200462* `plugin/error_count`: Number of plugin errors.
Edwin Kempin6343a802021-09-21 16:44:16 +0200463** `plugin_name`"
464 The name of the plugin.
465** `class`:
466 The class of the plugin that was invoked.
467** `export_value`:
468 The export name under which the invoked class is registered.
Edwin Kempinec7e81f2018-09-14 15:21:10 +0200469
Edwin Kempin8e07cf62018-10-25 16:25:25 +0200470=== Group
471
472* `group/guess_relevant_groups_latency`: Latency for guessing relevant groups.
Jackson Toeniskoetter166d58f2022-05-10 11:45:28 -0700473* `group/handles_count`: Number of calls to GroupBackend.handles.
474* `group/get_count`: Number of calls to GroupBackend.get.
475* `group/suggest_count`: Number of calls to GroupBackend.suggest.
476* `group/contains_count`: Number of calls to GroupMemberships.contains.
477* `group/contains_any_of_count`: Number of calls to
478 GroupMemberships.containsAnyOf.
479* `group/intersection_count`: Number of calls to GroupMemberships.intersection.
480* `group/known_groups_count`: Number of calls to GroupMemberships.getKnownGroups.
481
Edwin Kempin8e07cf62018-10-25 16:25:25 +0200482
David Pursehouse8ad11732016-08-29 15:00:14 +0900483=== Replication Plugin
484
485* `plugins/replication/replication_latency`: Time spent pushing to remote
Edwin Kempin6343a802021-09-21 16:44:16 +0200486 destination.
487** `destination`: The destination of the replication.
David Pursehouse8ad11732016-08-29 15:00:14 +0900488* `plugins/replication/replication_delay`: Time spent waiting before pushing to
Edwin Kempin6343a802021-09-21 16:44:16 +0200489 remote destination.
490** `destination`: The destination of the replication.
David Pursehouse8ad11732016-08-29 15:00:14 +0900491* `plugins/replication/replication_retries`: Number of retries when pushing to
Edwin Kempin6343a802021-09-21 16:44:16 +0200492 remote destination.
493** `destination`: The destination of the replication.
494* `plugins/replication/latency_slower_than_threshold`: latency for project to
495 destination, where latency was slower than threshold
496** `slow_threshold`: The threshold.
497** `project`: The name of the project.
498** `destination`: The destination of the replication.
David Pursehouse8ad11732016-08-29 15:00:14 +0900499
Minh Thai44e95ee2017-02-28 17:39:37 -0800500=== License
501
502* `license/cla_check_count`: Total number of CLA check requests.
503
David Pursehouse8ad11732016-08-29 15:00:14 +0900504GERRIT
505------
506Part of link:index.html[Gerrit Code Review]
507
508SEARCHBOX
509---------