feat: add chatwoot instance status in superadmin (#6045)

* feat: add chatwoot instance status in superadmin

* feat: add redis metrics to instance health page

* chore: fix rubocop

* chore: rescue redis no connection

* chore: add rspec

* chore: refactor

* feat: add instance health to /api

* chore: rescue postgres

* chore: fix spec
This commit is contained in:
Vishnu Narayanan
2023-01-30 18:37:51 +05:30
committed by GitHub
parent 747e6cacb9
commit b1af814eab
7 changed files with 120 additions and 2 deletions

View File

@@ -6,6 +6,8 @@ RSpec.describe 'API Base', type: :request do
get '/api/'
expect(response).to have_http_status(:success)
expect(response.body).to include(Chatwoot.config[:version])
expect(response.body).to include('queue_services')
expect(response.body).to include('data_services')
end
end
end