HDFS-12557. Ozone: Improve the formatting of the RPC stats on web UI. Contributed by Elek, Marton.

This commit is contained in:
Anu Engineer 2017-10-04 10:56:51 -07:00 committed by Owen O'Malley
parent c17521b1bd
commit 303ecae5d5

View File

@ -41,13 +41,13 @@ <h2>Number of ops / Averages</h2>
<tr> <tr>
<th>Metric name</th> <th>Metric name</th>
<th>Number of ops</th> <th>Number of ops</th>
<th>Average time</th> <th>Average time (ms)</th>
</tr> </tr>
</thead> </thead>
<tr ng-repeat="(key,metric) in $ctrl.metrics.numavgs"> <tr ng-repeat="(key,metric) in $ctrl.metrics.numavgs">
<td>{{key}}</td> <td>{{key}}</td>
<td>{{metric.numOps}}</td> <td>{{metric.numOps | number}}</td>
<td>{{metric.avgTime}}</td> <td>{{metric.avgTime | number:2}}</td>
</tr> </tr>
</table> </table>
</div> </div>