diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-07 14:56:15 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-08-07 14:56:15 +0000 |
commit | 5bf65c9306960cdbe9b64bf8f62dc909d1cc6440 (patch) | |
tree | 22a4b3a199fae27c64e849c6f8c805c2b5008e5c /lib/api/entities.rb | |
parent | fa716921b8b136f5d4b09de9723568d5ac101f84 (diff) | |
parent | fda83a6179ae63f094410942e95951b40c3ad24b (diff) | |
download | gitlab-ce-5bf65c9306960cdbe9b64bf8f62dc909d1cc6440.tar.gz |
Merge branch 'bvl-nfs-circuitbreaker' into 'master'
Circuitbreaker for storage paths
Closes #32207, #33117, gitlab-com/infrastructure#1946, and gitlab-com/infrastructure#1775
See merge request !11449
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 3afa44a7428..94b438db499 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -951,5 +951,11 @@ module API expose :ip_address expose :submitted, as: :akismet_submitted end + + class RepositoryStorageHealth < Grape::Entity + expose :storage_name + expose :failing_on_hosts + expose :total_failures + end end end |