This commit is contained in:
2020-06-01 22:16:28 +00:00
parent 1db003f52f
commit 2e11c39396
2 changed files with 40 additions and 38 deletions

View File

@@ -8,11 +8,6 @@ WIFI change 5g channel to 52,56,60 and 2g channel to 8
todo: profiler
Try out the hella big debug option, if it looks useful then
Add a boot switch to turn on the hella big debug option or do it from the turn on and off route as well?
todo: Profiling
Go over profiling and unit tests, see where there are obvious issues and bottlenecks now that I have the data
Block licensing related queries and view and auth from profile
@@ -23,6 +18,11 @@ todo: Metrics, determine what else is needed for the basic graphing metrics, don
Look at pgadmin stats and see what is useful there
Other...bottlenecks potential..Bueller...
todo: metrics page not localized "storage" etc
todo: remove metrics item1 if don't come up with something to go there
put the cpu first it is useful to see right away
todo: remove search option from metrics / logs etc as it implies you can search those things and you can't
todo: document how to use chart as it's not all obvious

View File

@@ -15,10 +15,37 @@
<v-tabs v-model="tab" color="primary" grow @change="tabChanged">
<v-tabs-slider></v-tabs-slider>
<v-tab>cpu & memory</v-tab>
<v-tab>ITEM1</v-tab>
<v-tab>storage</v-tab>
<v-tab>cpu & memory</v-tab>
<v-tabs-items v-model="tab">
<v-tab-item>
<v-col cols="12" class="my-1">
<v-sheet elevation="4">
<gz-chart-line
:chartData="memAllChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
<v-col cols="12" class="my-1" v-resize="onResize">
<v-sheet elevation="4">
<gz-chart-line
:chartData="cpuChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
<v-col cols="12" class="my-1">
<v-sheet elevation="4">
<gz-chart-line
:chartData="gcAllChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
</v-tab-item>
<v-tab-item> </v-tab-item>
<v-tab-item>
<v-col cols="12" class="my-1">
@@ -46,33 +73,6 @@
</v-sheet>
</v-col>
</v-tab-item>
<v-tab-item>
<v-col cols="12" class="my-1">
<v-sheet elevation="4">
<gz-chart-line
:chartData="memAllChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
<v-col cols="12" class="my-1" v-resize="onResize">
<v-sheet elevation="4">
<gz-chart-line
:chartData="cpuChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
<v-col cols="12" class="my-1">
<v-sheet elevation="4">
<gz-chart-line
:chartData="gcAllChartData"
:options="timeLineChartOptions"
/>
</v-sheet>
</v-col>
</v-tab-item>
</v-tabs-items>
</v-tabs>
</v-row>
@@ -141,7 +141,7 @@ export default {
dateFilterTokens: []
},
lastFetchBreakPoint: null,
tab: 2,
tab: 0,
formState: {
ready: false,
loading: false,
@@ -440,11 +440,13 @@ export default {
function tabIndexToRoute(tabIndex) {
switch (tabIndex) {
case 0:
return "ITEM1";
case 1:
return "storage";
case 2:
return "memcpu";
case 1:
return "ITEM1";
case 2:
return "storage";
}
}
//////////////////////