Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
fix(change the metric): change the uptime metric to use avg (INTLY-**)
Browse files Browse the repository at this point in the history
  • Loading branch information
austincunningham committed Jul 3, 2019
1 parent 2e70ebc commit 5a8b8a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deploy/monitor/grafana_dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 80,
"minValue": 95,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
Expand Down Expand Up @@ -142,14 +142,14 @@ spec:
"tableColumn": "",
"targets": [
{
"expr": "((sum(avg_over_time(up{job='mobile-security-service-operator'}[1m])))/(count(avg_over_time(up{job='mobile-security-service-operator'}[30m]))))*100",
"expr": "(avg(up{job='mobile-security-service-operator'}))*100",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "95,98",
"title": "Daily Percentage Uptime",
"thresholds": "98,99",
"title": "Average Percentage Uptime",
"transparent": false,
"type": "singlestat",
"valueFontSize": "70%",
Expand Down

0 comments on commit 5a8b8a7

Please sign in to comment.