- instances
+
-
\ No newline at end of file
diff --git a/src/views/abnormalAlarm/databaseMonitor/instances/monitor.vue b/src/views/abnormalAlarm/databaseMonitor/instances/monitor.vue
new file mode 100644
index 0000000..97bed6c
--- /dev/null
+++ b/src/views/abnormalAlarm/databaseMonitor/instances/monitor.vue
@@ -0,0 +1,299 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/abnormalAlarm/databaseMonitor/instances/stackedAreaChart.vue b/src/views/abnormalAlarm/databaseMonitor/instances/stackedAreaChart.vue
new file mode 100644
index 0000000..8c85bd3
--- /dev/null
+++ b/src/views/abnormalAlarm/databaseMonitor/instances/stackedAreaChart.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+ {{ item.connections }}
+ {{ item.now }}
+ {{ item.min }}
+ {{ item.max }}
+ {{ item.avg }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue b/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue
new file mode 100644
index 0000000..d8b3ed9
--- /dev/null
+++ b/src/views/abnormalAlarm/databaseMonitor/instances/tableSpace.vue
@@ -0,0 +1,151 @@
+
+
+
+
+
+
+
+ {{ text }}%
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/abnormalAlarm/serverMonitor/instances/cpu.vue b/src/views/abnormalAlarm/serverMonitor/instances/cpu.vue
index 53ccd7c..06358b0 100644
--- a/src/views/abnormalAlarm/serverMonitor/instances/cpu.vue
+++ b/src/views/abnormalAlarm/serverMonitor/instances/cpu.vue
@@ -291,12 +291,11 @@ export default {
type: 'line',
symbol: 'none',
areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: "#0096ff" },
- { offset: 1, color: "rgba(0, 150, 255,0.2)" },
- ]),
- },
+ opacity: 1,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: "#0096ff" },
+ { offset: 1, color: "rgba(0, 150, 255,0.2)" },
+ ])
},
data: [5, 23, 12, 48, 15, 27, 56]
}
@@ -392,12 +391,11 @@ export default {
type: 'line',
symbol: 'none',
areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: "#f1e852" },
- { offset: 1, color: "rgba(241, 232, 82,0.2)" },
- ]),
- },
+ opacity: 1,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: "#f1e852" },
+ { offset: 1, color: "rgba(241, 232, 82,0.2)" },
+ ])
},
data: [5, 23, 12, 48, 15, 27, 56]
}
@@ -476,12 +474,11 @@ export default {
symbol: 'none',
itemStyle:{ normal:{color:"#00a8ff"}},
areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: "#00a8ff" },
- { offset: 1, color: "rgba(255,255,255,0)" },
- ]),
- },
+ opacity: 1,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: "#00a8ff" },
+ { offset: 1, color: "rgba(255,255,255,0)" },
+ ])
},
data: [150, 230, 224, 218, 135, 147, 260],
},
@@ -491,12 +488,11 @@ export default {
symbol: 'none',
itemStyle:{ normal:{color:"#73b54b"}},
areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
- { offset: 0, color: "#73b54b" },
- { offset: 1, color: "rgba(255,255,255,0)" },
- ]),
- },
+ opacity: 1,
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
+ { offset: 0, color: "#73b54b" },
+ { offset: 1, color: "rgba(255,255,255,0)" },
+ ]),
},
data: [820, 932, 901, 934, 1290, 1330, 1320],
}