Commit 1d524906 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'calebcooper-gitaly-space' into 'master'

Add section for Gitaly and a command to find available and used space

See merge request gitlab-org/gitlab!77998
parents b967b1c5 fd11647e
......@@ -1270,6 +1270,16 @@ registry = Geo::SnippetRepositoryRegistry.find(registry_id)
registry.replicator.send(:sync_repository)
```
## Gitaly
### Find available and used space
A Gitaly storage resource can be polled through Rails to determine the available and used space.
```ruby
Gitlab::GitalyClient::ServerService.new("default").storage_disk_statistics
```
## Generate Service Ping
The [Service Ping Guide](../../development/service_ping/index.md) in our developer documentation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment