update xmr dashboard

fix-graf
lza_menace 4 years ago
parent dd7b6cf15c
commit a92effbe60

@ -16,9 +16,144 @@
"gnetId": null,
"graphTooltip": 0,
"id": 2,
"iteration": 1599633199023,
"iteration": 1602880809008,
"links": [],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "PostgreSQL-xmr",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 28,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/.*/",
"color": "#C4162A"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"format": "time_series",
"group": [
{
"params": [
"$__interval",
"none"
],
"type": "time"
}
],
"metricColumn": "none",
"rawQuery": false,
"rawSql": "SELECT\n $__timeGroupAlias(date,$__interval),\n avg(quantity) AS \"quantity\"\nFROM earning\nWHERE\n $__timeFilter(date)\nGROUP BY 1\nORDER BY 1",
"refId": "A",
"select": [
[
{
"params": [
"quantity"
],
"type": "column"
},
{
"params": [
"avg"
],
"type": "aggregate"
},
{
"params": [
"quantity"
],
"type": "alias"
}
]
],
"table": "earning",
"timeColumn": "date",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Earnings (XMR)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"content": "\n# Orders\n\nOrders placed on TradeOgre\n\n\n\n",
"datasource": "PostgreSQL-xmr",
@ -26,7 +161,7 @@
"h": 3,
"w": 24,
"x": 0,
"y": 0
"y": 8
},
"id": 22,
"mode": "markdown",
@ -80,7 +215,7 @@
"h": 8,
"w": 18,
"x": 0,
"y": 3
"y": 11
},
"hiddenSeries": false,
"id": 20,
@ -457,7 +592,7 @@
"h": 8,
"w": 3,
"x": 18,
"y": 3
"y": 11
},
"id": 24,
"interval": null,
@ -603,7 +738,7 @@
"h": 8,
"w": 3,
"x": 21,
"y": 3
"y": 11
},
"id": 25,
"interval": null,
@ -732,7 +867,7 @@
"h": 3,
"w": 24,
"x": 0,
"y": 11
"y": 19
},
"id": 17,
"mode": "markdown",
@ -755,7 +890,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 14
"y": 22
},
"hiddenSeries": false,
"id": 12,
@ -976,10 +1111,10 @@
"h": 8,
"w": 12,
"x": 12,
"y": 14
"y": 22
},
"hiddenSeries": false,
"id": 26,
"id": 29,
"legend": {
"alignAsTable": true,
"avg": true,
@ -1004,7 +1139,7 @@
"renderer": "flot",
"repeat": null,
"repeatDirection": "h",
"repeatIteration": 1599633199023,
"repeatIteration": 1602880809008,
"repeatPanelId": 12,
"scopedVars": {
"currency": {
@ -1193,7 +1328,7 @@
"h": 3,
"w": 24,
"x": 0,
"y": 22
"y": 30
},
"id": 15,
"mode": "markdown",
@ -1216,7 +1351,7 @@
"h": 7,
"w": 12,
"x": 0,
"y": 25
"y": 33
},
"hiddenSeries": false,
"id": 4,
@ -1352,7 +1487,7 @@
"h": 7,
"w": 12,
"x": 12,
"y": 25
"y": 33
},
"hiddenSeries": false,
"id": 6,
@ -1486,7 +1621,7 @@
"h": 7,
"w": 12,
"x": 0,
"y": 32
"y": 40
},
"hiddenSeries": false,
"id": 2,
@ -1638,7 +1773,7 @@
"h": 7,
"w": 12,
"x": 12,
"y": 32
"y": 40
},
"hiddenSeries": false,
"id": 8,
@ -1770,7 +1905,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 39
"y": 47
},
"hiddenSeries": false,
"id": 10,
@ -1900,7 +2035,7 @@
}
}
],
"refresh": false,
"refresh": "30s",
"schemaVersion": 21,
"style": "dark",
"tags": [],
@ -1935,8 +2070,8 @@
]
},
"time": {
"from": "2020-09-09T16:37:16.064Z",
"to": "2020-09-09T19:07:27.592Z"
"from": "now-3h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
@ -1955,5 +2090,5 @@
"timezone": "",
"title": "XMR",
"uid": "SKVAcXDGk",
"version": 8
"version": 9
}