This commit is contained in:
2020-06-03 21:24:38 +00:00
parent e83b82957e
commit 2cf4303b23
2 changed files with 16 additions and 18 deletions

View File

@@ -6,11 +6,6 @@ WIFI change 5g channel to 52,56,60 and 2g channel to 8
recheck before doing as it seems to vary, maybe someone else's is auto switching
todo: cpu % starts at 1600?? wtf a bad number in there somehwere
todo: moving tabs should trigger refresh or move refresh into tab so it appears to only apply to that tab
or check if tab data is not refreshed?
sometimes you might not want to refresh a tab?
todo: metrics page not localized "storage" etc
todo: metrics tables have no indexes?
but they need to fetch by date range so...not sure about that one
@@ -29,6 +24,9 @@ todo: what exactly is in gc gen0, 1 and 2? They seem to increase then stay high
todo: Make stub help docs for new ops pages
make a quick note in help document how to use chart as it's not all obvious
i.e. can hover, can hide line by clicking on legend etc
//NOTE: CPU percentage is *our* process cpu percentage over timeframe of last captured avg
//So it does *not* show the entire server cpu load, only for RAVEN.
//Overall, server stats need to be captured / viewed independently (digital ocean control panel for example or windows task manager)
todo: Touch errors during development with vuetify, figure it out it's getting in the way

View File

@@ -15,9 +15,9 @@
<v-tabs v-model="tab" color="primary" grow @change="tabChanged">
<v-tabs-slider></v-tabs-slider>
<v-tab>cpu & memory</v-tab>
<v-tab>db</v-tab>
<v-tab>storage</v-tab>
<v-tab>??cpu memory</v-tab>
<v-tab>??Database</v-tab>
<v-tab>??file storage</v-tab>
<v-tabs-items v-model="tab">
<v-tab-item>
@@ -294,7 +294,7 @@ export default {
return {
datasets: [
{
label: "CPU %",
label: "??CPU %",
borderColor: CHART_PALETTE.teal,
fill: false,
radius: 0,
@@ -309,7 +309,7 @@ export default {
return {
datasets: [
{
label: "DB Size (MB)",
label: "??DB Size (MB)",
borderColor: CHART_PALETTE.blue,
fill: false,
radius: 0,
@@ -328,7 +328,7 @@ export default {
labels: window.$gz._.map(this.db.topTables, "name"),
datasets: [
{
label: "Top tables (KB)",
label: "??Top tables (KB)",
data: window.$gz._.map(this.db.topTables, "value"),
backgroundColor: getPalette(
this.db.topTables ? this.db.topTables.length : 3
@@ -375,7 +375,7 @@ export default {
return {
datasets: [
{
label: "Allocated (MB)",
label: "??Allocated (MB)",
borderColor: CHART_PALETTE.purple,
fill: false,
radius: 0,
@@ -384,7 +384,7 @@ export default {
data: this.memcpu.allocated
},
{
label: "Working set (MB)",
label: "??Working set (MB)",
borderColor: CHART_PALETTE.green,
//borderWidth:4,
// pointStyle: "rectRot",
@@ -396,7 +396,7 @@ export default {
data: this.memcpu.workingSet
},
{
label: "Private (MB)",
label: "??Private bytes (MB)",
borderColor: CHART_PALETTE.orange,
fill: false,
radius: 0,
@@ -411,7 +411,7 @@ export default {
return {
datasets: [
{
label: "Attachments (MB)",
label: "??Attachments (MB)",
borderColor: CHART_PALETTE.purple,
fill: false,
radius: 0,
@@ -420,7 +420,7 @@ export default {
data: this.storage.attachmentFileSize
},
{
label: "Backup (MB)",
label: "??Backup (MB)",
borderColor: CHART_PALETTE.orange,
fill: false,
radius: 0,
@@ -429,7 +429,7 @@ export default {
data: this.storage.utilityFileSize
},
{
label: "Available space (MB)",
label: "??Available space (MB)",
borderColor: CHART_PALETTE.green,
fill: false,
radius: 0,
@@ -444,7 +444,7 @@ export default {
return {
datasets: [
{
label: "Attachment files",
label: "??Attachment files",
borderColor: CHART_PALETTE.blue,
fill: false,
radius: 0,