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

Commit

Permalink
Merge pull request #171 from camilamacedo86/AEROGEAR-9676
Browse files Browse the repository at this point in the history
feat(grafana) : remove % graphs (AEROGEAR-9676)
  • Loading branch information
camilamacedo86 committed Aug 20, 2019
2 parents f8e79d3 + 902bd0b commit 5d796c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 331 deletions.
84 changes: 1 addition & 83 deletions deploy/monitor/grafana_dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,88 +80,6 @@ spec:
"title": "Uptime",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": true,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "Prometheus",
"decimals": null,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 95,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 1
},
"id": 8,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "(avg(up{job='mobile-security-service-operator'}))*100",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "98,99",
"title": "Average Percentage Uptime",
"transparent": false,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -171,7 +89,7 @@ spec:
"fill": 1,
"gridPos": {
"h": 8,
"w": 21,
"w": 24,
"x": 3,
"y": 1
},
Expand Down
251 changes: 3 additions & 248 deletions deploy/monitor/mss_grafana_dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,89 +80,6 @@ spec:
"title": "Uptime",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "Prometheus",
"decimals": null,
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 95,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 1
},
"id": 8,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(kube_endpoint_address_available{endpoint='mobile-security-service-application'})*100",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "98,99",
"title": "Admin Console Average Percentage Uptime",
"transparent": false,
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -172,7 +89,7 @@ spec:
"fill": 1,
"gridPos": {
"h": 8,
"w": 21,
"w": 24,
"x": 3,
"y": 1
},
Expand Down Expand Up @@ -255,87 +172,6 @@ spec:
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "Prometheus",
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 95,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 9
},
"id": 16,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(kube_pod_container_status_running{namespace='mobile-security-service',container='database'})*100",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "98,99",
"title": "Database Average Percentage - Uptime",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -345,7 +181,7 @@ spec:
"fill": 1,
"gridPos": {
"h": 8,
"w": 21,
"w": 24,
"x": 3,
"y": 9
},
Expand Down Expand Up @@ -423,87 +259,6 @@ spec:
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#d44a3a",
"rgba(237, 129, 40, 0.89)",
"#299c46"
],
"datasource": "Prometheus",
"format": "percent",
"gauge": {
"maxValue": 100,
"minValue": 95,
"show": true,
"thresholdLabels": true,
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 3,
"x": 0,
"y": 17
},
"id": 18,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "avg(kube_pod_container_status_running{namespace='mobile-security-service',container='application'})*100",
"format": "time_series",
"hide": false,
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "98,99",
"title": "MSS Application Average Percentage Uptime",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
"bars": true,
Expand All @@ -513,7 +268,7 @@ spec:
"fill": 1,
"gridPos": {
"h": 8,
"w": 21,
"w": 24,
"x": 3,
"y": 17
},
Expand Down

0 comments on commit 5d796c2

Please sign in to comment.