{ "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": 3, "iteration": 1558627311234, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "PostgreSQL", "fill": 1, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 }, "id": 4, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n created_at AS \"time\",\n CAST(logs->>'round' as INTEGER) as round\nFROM tetcore_logs\nWHERE\n $__timeFilter(created_at)\n AND logs->>'msg' = 'afg.announcing_blocks_to_voted_peers'\n AND tetcore_logs.node_ip LIKE '$node_ip%'\nORDER BY 1", "refId": "A", "select": [ [ { "params": [ "id" ], "type": "column" } ] ], "table": "tetcore_logs", "timeColumn": "created_at", "timeColumnType": "timestamp", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Round", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "none", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "PostgreSQL", "fill": 1, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 8 }, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "format": "time_series", "group": [], "metricColumn": "none", "rawQuery": true, "rawSql": "SELECT\n created_at AS \"time\",\n CAST (logs->>'peers' as INTEGER) as peer_count\nFROM tetcore_logs\nWHERE\n $__timeFilter(created_at)\n AND tetcore_logs.node_ip LIKE '10.11.0.11%'\n AND logs->>'msg' = 'system.interval'\nORDER BY 1", "refId": "A", "select": [ [ { "params": [ "id" ], "type": "column" } ] ], "table": "tetcore_logs", "timeColumn": "created_at", "timeColumnType": "timestamp", "where": [ { "name": "$__timeFilter", "params": [], "type": "macro" } ] } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Peers", "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 } } ], "refresh": false, "schemaVersion": 18, "style": "dark", "tags": [], "templating": { "list": [ { "allValue": null, "current": { "tags": [], "text": "10.11.0.12", "value": "10.11.0.12" }, "datasource": "PostgreSQL", "definition": "select distinct split_part(node_ip, ':', 1) from tetcore_logs", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "node_ip", "options": [ { "selected": false, "text": "10.11.0.10", "value": "10.11.0.10" }, { "selected": false, "text": "10.11.0.11", "value": "10.11.0.11" }, { "selected": true, "text": "10.11.0.12", "value": "10.11.0.12" }, { "selected": false, "text": "10.11.0.13", "value": "10.11.0.13" }, { "selected": false, "text": "10.24.3.1", "value": "10.24.3.1" } ], "query": "select distinct split_part(node_ip, ':', 1) from tetcore_logs", "refresh": 0, "regex": "", "skipUrlSync": false, "sort": 5, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now/d", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "Tetcore Save", "uid": "AsdLzYWWk", "version": 6 }