diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-07 03:08:33 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-07 03:08:33 +0300 |
commit | c9a3dc1c2464a92a8f2a5c2f4f30883aa9f976f1 (patch) | |
tree | a56df6907c26f0aa59f2c6e211e0cc7aea61e026 /doc/administration/gitaly | |
parent | aa74b7b4c5f326e82fcd6bb681296dce435ea024 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/gitaly')
-rw-r--r-- | doc/administration/gitaly/monitoring.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/administration/gitaly/monitoring.md b/doc/administration/gitaly/monitoring.md index 0527c846b2d..6ba43575980 100644 --- a/doc/administration/gitaly/monitoring.md +++ b/doc/administration/gitaly/monitoring.md @@ -176,6 +176,20 @@ gitaly_streamcache_filestore_removed_total{dir="/var/opt/gitlab/git-data/reposit gitaly_streamcache_index_entries{dir="/var/opt/gitlab/git-data/repositories/+gitaly/PackObjectsCache"} 1 ``` +## Monitor Gitaly server-side backups + +> [Introduced](https://gitlab.com/gitlab-org/gitaly/-/issues/5358) in GitLab 16.7. + +Monitor [server-side repository backups](configure_gitaly.md#configure-server-side-backups) with the following metrics: + +- `gitaly_backup_latency_seconds`, a histogram measuring the amount of time in seconds that each phase of a server-side + backup takes. The different phases are `refs`, `bundle`, and `custom_hooks` and represent the type of data being + processed at each stage. +- `gitaly_backup_bundle_bytes`, a histogram measuring the upload data rate of Git bundles being pushed to object + storage by the Gitaly backup service. + +Use these metrics especially if your GitLab instance contains large repositories. + ## Queries The following are some queries for monitoring Gitaly: |