-
-
-
-
-
@@ -44,7 +38,8 @@
- {{service.stats.failures}}
+
+ {{service.stats.failures}}
@@ -91,10 +86,8 @@
hovered: false,
hoverbtn: "",
openTab: "",
- set1: [],
set2: [],
loaded: false,
- set1_name: "",
set2_name: "",
failures: null,
visible: false
@@ -111,7 +104,7 @@
this.hoverbtn = name
},
unsetHover() {
- this.hoverbtn = this.$t('uptime', [this.service.online_7_days])
+ this.hoverbtn = this.$t('uptime') + " "+ this.service.online_7_days + "%"
},
async setVisible(isVisible, entry) {
if (isVisible && !this.visible) {
@@ -126,9 +119,7 @@
this.uptime = await Api.service_uptime(this.service.id, this.toUnix(start), this.toUnix(end))
},
async loadInfo() {
- this.set1 = await this.getHits(86400 * 7, "12h")
- this.set1_name = this.calc(this.set1)
- this.set2 = await this.getHits(86400, "60m")
+ this.set2 = await this.getHits(86400 * 3, "60m")
this.set2_name = this.calc(this.set2)
this.loaded = true
},
diff --git a/frontend/src/components/Dashboard/ServiceSparkLine.vue b/frontend/src/components/Dashboard/ServiceSparkLine.vue
index 08991ff1..e061efe7 100644
--- a/frontend/src/components/Dashboard/ServiceSparkLine.vue
+++ b/frontend/src/components/Dashboard/ServiceSparkLine.vue
@@ -57,13 +57,13 @@
let ts = w.globals.seriesX[seriesIndex][dataPointIndex];
const dt = new Date(ts).toLocaleDateString("en-us", timeoptions)
let val = series[seriesIndex][dataPointIndex];
- return `
Average Response Time: ${this.humanTime(val)} ${dt}
`
+ return `
Average Response Time: ${this.humanTime(val)} ${dt}
`
},
fixed: {
enabled: true,
position: 'bottomLeft',
offsetX: 0,
- offsetY: -30,
+ offsetY: -15,
},
x: {
show: true,
diff --git a/frontend/src/pages/Help.vue b/frontend/src/pages/Help.vue
index 5782c6ba..a189b19a 100755
--- a/frontend/src/pages/Help.vue
+++ b/frontend/src/pages/Help.vue
@@ -2321,7 +2321,7 @@ OluFxewsEO0QNDrfFb+0gnjYlnGqOFcZjUMXbDdY5oLSPtXohynuTK1qyQ==
-Automatically generated from Statping's Wiki on 2020-12-20 09:31:51.335569 +0000 UTC
+Automatically generated from Statping's Wiki on 2020-12-20 10:21:49.484474 +0000 UTC