Created
July 2, 2020 08:05
-
-
Save torkelo/f004eaf2c9bd0c4ab382f1a531fd844b to your computer and use it in GitHub Desktop.
table merge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 138, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "gdev-prometheus", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 2, | |
"options": { | |
"showHeader": true | |
}, | |
"pluginVersion": "7.2.0-pre", | |
"targets": [ | |
{ | |
"expr": "sum (go_gc_duration_seconds_count) by(job)", | |
"format": "table", | |
"hide": false, | |
"instant": true, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(go_goroutines) by (job)", | |
"format": "table", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "B" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "New table + merge on time", | |
"transformations": [ | |
{ | |
"id": "merge", | |
"options": {} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"columns": [], | |
"datasource": "gdev-prometheus", | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": null | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 3, | |
"options": { | |
"showHeader": true | |
}, | |
"pageSize": null, | |
"pluginVersion": "7.2.0-pre", | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"alias": "Time", | |
"align": "auto", | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"pattern": "Time", | |
"type": "date" | |
}, | |
{ | |
"alias": "", | |
"align": "right", | |
"colorMode": null, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"decimals": 2, | |
"pattern": "/.*/", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
} | |
], | |
"targets": [ | |
{ | |
"expr": "sum (go_gc_duration_seconds_count) by(job)", | |
"format": "table", | |
"hide": false, | |
"instant": true, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(go_goroutines) by (job)", | |
"format": "table", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "B" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Old table", | |
"transform": "table", | |
"transformations": [], | |
"type": "table-old" | |
} | |
], | |
"schemaVersion": 26, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "Merge Table Issue", | |
"uid": "7lArRdMMz", | |
"version": 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment