diff options
Diffstat (limited to 'doc/administration/gitaly/reference.md')
-rw-r--r-- | doc/administration/gitaly/reference.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/administration/gitaly/reference.md b/doc/administration/gitaly/reference.md index 6b6919247fe..e718d8953ca 100644 --- a/doc/administration/gitaly/reference.md +++ b/doc/administration/gitaly/reference.md @@ -149,7 +149,7 @@ before and after. If the hit ratio does not improve, the higher limit is probably not making a meaningful difference. Here is an example Prometheus query to see the hit rate: -```text +```plaintext sum(rate(gitaly_catfile_cache_total{type="hit"}[5m])) / sum(rate(gitaly_catfile_cache_total{type=~"(hit)|(miss)"}[5m])) ``` @@ -258,7 +258,7 @@ You can adjust the `concurrency` of each RPC endpoint. | ---- | ---- | -------- | ----------- | | `concurrency` | array | yes | An array of RPC endpoints. | | `rpc` | string | no | The name of the RPC endpoint (`/gitaly.RepositoryService/GarbageCollect`). | -| `max_per_repo` | integer | no | Concurrency per RPC per repo. | +| `max_per_repo` | integer | no | Concurrency per RPC per repository. | Example: |