* 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
24 lines
453 B
Plaintext
24 lines
453 B
Plaintext
<% content_for(:title) do %>
|
|
Instance Health
|
|
<% end %>
|
|
<header class="main-content__header" role="banner">
|
|
<h1 class="main-content__page-title" id="page-title">
|
|
<%= content_for(:title) %>
|
|
</h1>
|
|
</header>
|
|
<section class="main-content__body">
|
|
<table>
|
|
<tr>
|
|
<th>Metric</th>
|
|
<th>Value</th>
|
|
</tr>
|
|
<% @metrics.each do |key,value| %>
|
|
<tr>
|
|
<td> <%= key %> </td>
|
|
<td> <%= value %> </td>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
|
|
</section>
|