Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Improvements: Null results if new deployment, better calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhemmarchand committed Aug 21, 2016
1 parent 06c89ac commit 056890a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions default/data/ui/views/Dashboard_Internal_Stats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<single>
<!-- This search will be used to verify if we must show the null global indexing message, this performs best than integrating the progress condition with the search -->
<search>
<query>index=_internal source=*license_usage.log* type=Usage idx="nmon" | stats count | where count>0</query>
<query>eventtype=nmon:performance type=CPU_ALL | stats count | where count>0</query>
<earliest>@d</earliest>
<latest>@h</latest>
<!-- Progress event has access to job properties only -->
Expand Down Expand Up @@ -94,7 +94,8 @@
<option name="useThousandSeparators">1</option>
</single>
<html depends="$show_null_per_server_indexing$" rejects="$show_admin_required$">
<div style="color:blue;margin-left:30px;font-size:18px;text-align:center;">
<div style="color:blue;margin-left:30px;font-size:14px;text-align:left;font-style:italic">
<br /><br/><br />
<p>Data not yet available, calculation is performed on a full per hour basis and will start being available 1 hour after application deployment and indexing activity.</p>
</div>
</html>
Expand Down Expand Up @@ -140,7 +141,8 @@
<option name="useThousandSeparators">1</option>
</single>
<html depends="$show_null_global_indexing$" rejects="$show_admin_required$">
<div style="color:blue;margin-left:30px;font-size:18px;text-align:center;">
<div style="color:blue;margin-left:30px;font-size:14px;text-align:left;font-style:italic">
<br /><br/><br />
<p>Data not yet available, calculation is performed on a full per day basis and will start being available 1 day after application deployment.</p>
</div>
</html>
Expand Down Expand Up @@ -363,7 +365,7 @@
<option name="underLabel">WARM BUCKETS</option>
</single>
<html depends="$show_null_warm$">
<p style="color:blue;margin-left:30px;font-size:14px">Currently no warm buckets.</p>
<p style="color:blue;margin-left:30px;font-size:14px;font-style:italic">Currently no warm buckets.</p>
</html>
<single rejects="$show_null_cold$">
<search>
Expand Down

0 comments on commit 056890a

Please sign in to comment.