Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
62b5eeaa
Commit
62b5eeaa
authored
Mar 02, 2015
by
Johannes Stelzer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show custom healthchecks in details
Fixes #42
parent
e667c670
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
15 deletions
+16
-15
details.html
spring-boot-admin-server-ui/app/views/apps/details.html
+16
-15
No files found.
spring-boot-admin-server-ui/app/views/apps/details.html
View file @
62b5eeaa
...
...
@@ -24,30 +24,31 @@
<td>
Application
</td><td><span
class=
"status-{{health.status}}"
>
{{ health.status }}
</span></td>
</tr>
<tr
ng-if=
"health.db"
>
<td>
Datasources
</td>
<td><span
class=
"status-{{health.db.status}}"
>
{{ health.db.status }}
</span><br>
{{health.db.database}}
</td>
</tr>
<tr
ng-if=
"health.db.error"
colspan=
"2"
class=
"alert alert-error"
>
{{ health.db.error }}
</td></tr>
<tr
ng-repeat-start=
"(indicator, details) in health"
ng-if=
"indicator != 'status'"
>
<td
ng-if=
"indicator != 'db'"
>
{{indicator | capitalize}}
</td>
<td
ng-if=
"indicator == 'db'"
>
Datasource
</td>
<tr
ng-repeat-start=
"(dbname, db) in health.db"
ng-if=
"dbname != 'status' && dbname != 'error' && dbname != 'database' && dbname != 'hello'"
>
<td>
{{ dbname | capitalize }} Datasource
</td><td><span
class=
"status-{{db.status}}"
>
{{ db.status }}
</span><br>
{{db.database}}
<td><span
class=
"status-{{details.status}}"
>
{{ details.status }}
</span><br>
<span
ng-repeat=
"(key, value) in details"
ng-if=
"indicator != 'db' && indicator != 'diskSpace' && key != 'status' && key != 'error'"
>
{{ key | capitalize }}: {{value}}
<br></span>
<span
ng-if=
"indicator == 'db' && details.database"
>
{{ details.database }}
</span>
<span
ng-if=
"indicator == 'diskSpace'"
>
{{ health.diskSpace.free | humanBytes }} free / {{ health.diskSpace.threshold | humanBytes }} threshold
</span>
</td>
</tr>
<tr
ng-repeat-end
ng-if=
"db.error"
><td
colspan=
"2"
class=
"alert alert-error"
>
{{ db.error }}
</td></tr>
<tr
ng-if=
"health.diskSpace"
>
<td>
Diskspace
</td><td><span
class=
"status-{{health.diskSpace.status}}"
>
{{ health.diskSpace.status }}
</span><br>
{{ health.diskSpace.free | humanBytes }} free / {{ health.diskSpace.threshold | humanBytes }} threshold
<tr
ng-repeat-start=
"(dbname, dbhealth) in details"
ng-if=
"indicator == 'db' && dbname != 'status' && dbname != 'error' && dbname != 'database' && dbname != 'hello'"
>
<td>
- {{ dbname | capitalize }}
</td>
<td><span
class=
"status-{{dbhealth.status}}"
>
{{ dbhealth.status }}
</span><br>
{{dbhealth.database}}
</td>
</tr>
<tr
ng-repeat-end
ng-if=
"dbhealth.error"
><td
colspan=
"2"
class=
"alert alert-error"
>
{{ dbhealth.error }}
</td></tr>
<tr
ng-repeat-end
ng-if=
"details.error"
><td
colspan=
"2"
class=
"alert alert-error"
>
{{ details.error }}
</td></tr>
</tbody>
</table>
</div>
<div
class=
"span6"
>
<table
class=
"table"
>
<thead><tr><th
colspan=
"2"
>
Memory
</th></tr></thead>
...
...
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