Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8b6a02cb
Commit
8b6a02cb
authored
Jan 20, 2022
by
Evan Read
Committed by
Russell Dickenson
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add version information for DB metrics endpoint
parent
ece27edb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+4
-2
No files found.
doc/administration/gitaly/index.md
View file @
8b6a02cb
...
@@ -533,12 +533,14 @@ You can also monitor the [Praefect logs](../logs.md#praefect-logs).
...
@@ -533,12 +533,14 @@ You can also monitor the [Praefect logs](../logs.md#praefect-logs).
#### Database metrics `/db_metrics` endpoint
#### Database metrics `/db_metrics` endpoint
> [Introduced](https://gitlab.com/gitlab-org/gitaly/-/issues/3286) in GitLab 14.5.
The following metrics are available from the
`/db_metrics`
endpoint:
The following metrics are available from the
`/db_metrics`
endpoint:
-
`gitaly_praefect_unavailable_repositories`
, the number of repositories that have no healthy, up to date replicas.
-
`gitaly_praefect_unavailable_repositories`
, the number of repositories that have no healthy, up to date replicas.
-
`gitaly_praefect_read_only_repositories`
, the number of repositories in read-only mode within a virtual storage.
-
`gitaly_praefect_read_only_repositories`
, the number of repositories in read-only mode within a virtual storage.
This
is an older metric that is still available for backwards compatibility reasons.
`gitaly_praefect_unavailable_repositories`
This
metric is available for backwards compatibility reasons.
`gitaly_praefect_unavailable_repositories`
is more
is a more
accurate.
accurate.
-
`gitaly_praefect_replication_queue_depth`
, the number of jobs in the replication queue.
-
`gitaly_praefect_replication_queue_depth`
, the number of jobs in the replication queue.
## Recover from failure
## Recover from failure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment