diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-11 13:27:24 +0200 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-04-11 13:27:52 +0200 |
commit | d9110a7ecab52ab0716a42c2075cebdf8028d5e7 (patch) | |
tree | 5a3133dafdea73d42953ed8bd1b14b89cc990ed6 /doc/development | |
parent | 185d78bcb3064c25b764937949d2bb66ec66901a (diff) | |
download | gitlab-ce-metrics-measure-block-transaction.tar.gz |
Track call counts in Gitlab::Metrics.measure_blockmetrics-measure-block-transaction
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/instrumentation.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/development/instrumentation.md b/doc/development/instrumentation.md index f7e148fb3e4..c1cf2e77c26 100644 --- a/doc/development/instrumentation.md +++ b/doc/development/instrumentation.md @@ -14,10 +14,11 @@ Gitlab::Metrics.measure(:foo) do end ``` -Two values are measured for a block: +3 values are measured for a block: -1. The real time elapsed, stored in NAME_real_time -2. The CPU time elapsed, stored in NAME_cpu_time +1. The real time elapsed, stored in NAME_real_time. +2. The CPU time elapsed, stored in NAME_cpu_time. +3. The call count, stored in NAME_call_count. Both the real and CPU timings are measured in milliseconds. |