This repository was archived by the owner on Jan 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +33
-16
lines changed
Resources/views/data_collector Expand file tree Collapse file tree 1 file changed +33
-16
lines changed Original file line number Diff line number Diff line change 2020 <span class =" label" >
2121 <span class =" icon" >{{ include (' @phpFastCache/data_collector/icon.svg' ) }}</span >
2222 <strong >PhpFastCache</strong >
23+ <span class =" count" >
24+ <span >{{ collector .stats | length }}</span >
25+ </span >
2326 </span >
2427{% endblock %}
2528
2629{% block panel %}
30+ <h2 >PhpFastCache Metrics</h2 >
31+
32+ <div class =" metrics" >
33+ <div class =" metric" >
34+ <span class =" value" > {{ collector .size | sizeFormat(1 ) }}</span >
35+ <span class =" label" >Total Size</span >
36+ </div >
37+ <div class =" metric" >
38+ <span class =" value" > {{ collector .stats | length }}</span >
39+ <span class =" label" >Cache Instances</span >
40+ </div >
41+ </div >
42+
43+ <h2 >PhpFastCache Cache Instance</h2 >
2744 <div class =" sf-tabs" >
2845 {% for name , stat in collector .stats %}
2946 <div class =" tab" >
3047 <h3 class =" tab-title" >{{ name }}</h3 >
3148 <div class =" tab-content" >
3249 <table class =" {{ class | default (' ' ) }}" >
3350 <tbody >
34- <tr >
35- <th >Info</th >
36- <td >{{ stat .info }}</td >
37- </tr >
38- <tr >
39- <th >Size</th >
40- <td >{{ stat .size | sizeFormat(1 ) }}</td >
41- </tr >
42- <tr >
43- <th >Data</th >
44- <td >{{ stat .data }}</td >
45- </tr >
46- <tr >
47- <th >RawData</th >
48- <td >{{ dump (stat .rawData ) }}</td >
49- </tr >
51+ <tr >
52+ <th >Info</th >
53+ <td >{{ stat .info }}</td >
54+ </tr >
55+ <tr >
56+ <th >Size</th >
57+ <td >{{ stat .size | sizeFormat(1 ) }}</td >
58+ </tr >
59+ <tr >
60+ <th >Data</th >
61+ <td >{{ stat .data }}</td >
62+ </tr >
63+ <tr >
64+ <th >RawData</th >
65+ <td >{{ dump (stat .rawData ) }}</td >
66+ </tr >
5067 </tbody >
5168 </table >
5269 </div >
You can’t perform that action at this time.
0 commit comments