Skip to content

Commit

Permalink
Refactor: naming in prometheus config and QED dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas committed Mar 29, 2019
1 parent 55a1cfa commit cbc8d4b
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 35 deletions.
141 changes: 117 additions & 24 deletions deploy/aws/provision/files/grafana/dashboards/QED.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"editable": true,
"gnetId": null,
"graphTooltip": 2,
"iteration": 1551884899590,
"iteration": 1553782676664,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -57,6 +57,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -129,8 +130,9 @@
},
"yaxes": [
{
"decimals": 0,
"format": "short",
"label": null,
"label": "",
"logBase": 1,
"max": null,
"min": null,
Expand Down Expand Up @@ -430,6 +432,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -470,7 +473,7 @@
"yaxes": [
{
"format": "short",
"label": null,
"label": "requests",
"logBase": 1,
"max": null,
"min": "0",
Expand All @@ -482,7 +485,7 @@
"logBase": 1,
"max": null,
"min": null,
"show": true
"show": false
}
],
"yaxis": {
Expand Down Expand Up @@ -516,6 +519,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -554,7 +558,7 @@
"yaxes": [
{
"format": "short",
"label": null,
"label": "requests",
"logBase": 1,
"max": null,
"min": "0",
Expand All @@ -566,7 +570,7 @@
"logBase": 1,
"max": null,
"min": null,
"show": true
"show": false
}
],
"yaxis": {
Expand Down Expand Up @@ -600,6 +604,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -638,7 +643,7 @@
"yaxes": [
{
"format": "short",
"label": null,
"label": "requests",
"logBase": 1,
"max": null,
"min": "0",
Expand All @@ -650,7 +655,7 @@
"logBase": 1,
"max": null,
"min": null,
"show": true
"show": false
}
],
"yaxis": {
Expand Down Expand Up @@ -684,6 +689,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -1016,6 +1022,7 @@
"x": 15,
"y": 26
},
"hideTimeOverride": false,
"id": 45,
"interval": null,
"links": [],
Expand Down Expand Up @@ -1050,11 +1057,12 @@
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"tableColumn": "Value",
"targets": [
{
"expr": "sum(qed_monitor_get_incremental_proof_err_total )",
"expr": "sum(qed_monitor_get_incremental_proof_err_total)",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"refId": "A"
}
Expand Down Expand Up @@ -1167,6 +1175,8 @@
"legend": {
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"show": true,
Expand All @@ -1176,7 +1186,8 @@
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"nullPointMode": "null as zero",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -1286,6 +1297,7 @@
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"paceLength": 10,
"percentage": false,
"pointradius": 5,
"points": false,
Expand Down Expand Up @@ -1338,7 +1350,7 @@
"yaxes": [
{
"format": "short",
"label": null,
"label": "seconds",
"logBase": 1,
"max": null,
"min": "0",
Expand All @@ -1350,7 +1362,7 @@
"logBase": 1,
"max": null,
"min": null,
"show": true
"show": false
}
],
"yaxis": {
Expand Down Expand Up @@ -1388,8 +1400,8 @@
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 8,
"h": 5,
"w": 5,
"x": 0,
"y": 41
},
Expand Down Expand Up @@ -1468,9 +1480,89 @@
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"h": 5,
"w": 5,
"x": 5,
"y": 41
},
"id": 46,
"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": "Value",
"targets": [
{
"expr": "sum(qed_store_snapshots_stored_total)",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": "",
"title": "Snapshots stored",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "delta"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 10,
"y": 41
},
"id": 26,
Expand Down Expand Up @@ -1512,6 +1604,7 @@
{
"expr": "qed_store_snapshots_retrieved_total",
"format": "time_series",
"instant": false,
"intervalFactor": 1,
"legendFormat": "{{job}}",
"refId": "A"
Expand Down Expand Up @@ -1548,9 +1641,9 @@
"thresholdMarkers": true
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"h": 5,
"w": 4,
"x": 15,
"y": 41
},
"id": 35,
Expand Down Expand Up @@ -1612,7 +1705,7 @@
}
],
"refresh": "5s",
"schemaVersion": 16,
"schemaVersion": 18,
"style": "dark",
"tags": [],
"templating": {
Expand Down Expand Up @@ -1668,7 +1761,7 @@
]
},
"time": {
"from": "now-5m",
"from": "now-1h",
"to": "now"
},
"timepicker": {
Expand Down Expand Up @@ -1700,4 +1793,4 @@
"title": "QED",
"uid": "rjPFfGuik",
"version": 1
}
}
Loading

0 comments on commit cbc8d4b

Please sign in to comment.