|
@@ -0,0 +1,3031 @@
|
|
|
+{
|
|
|
+ "__inputs": [
|
|
|
+ {
|
|
|
+ "name": "DS_OHM-TIMESCALE",
|
|
|
+ "label": "ohm-timescale",
|
|
|
+ "description": "",
|
|
|
+ "type": "datasource",
|
|
|
+ "pluginId": "postgres",
|
|
|
+ "pluginName": "PostgreSQL"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "__requires": [
|
|
|
+ {
|
|
|
+ "type": "panel",
|
|
|
+ "id": "gauge",
|
|
|
+ "name": "Gauge",
|
|
|
+ "version": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "grafana",
|
|
|
+ "id": "grafana",
|
|
|
+ "name": "Grafana",
|
|
|
+ "version": "6.5.2"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "panel",
|
|
|
+ "id": "graph",
|
|
|
+ "name": "Graph",
|
|
|
+ "version": ""
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "datasource",
|
|
|
+ "id": "postgres",
|
|
|
+ "name": "PostgreSQL",
|
|
|
+ "version": "1.0.0"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "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": 1,
|
|
|
+ "id": null,
|
|
|
+ "iteration": 1579633305226,
|
|
|
+ "links": [],
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 0
|
|
|
+ },
|
|
|
+ "id": 12,
|
|
|
+ "title": "Load Overview",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 3,
|
|
|
+ "x": 0,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "id": 15,
|
|
|
+ "options": {
|
|
|
+ "fieldOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "defaults": {
|
|
|
+ "mappings": [],
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "override": {},
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "orientation": "auto",
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "6.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'CPU' AND\n sensor_type = 'Load' AND\n sensor = 'CPU Total'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'CPU'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor",
|
|
|
+ "=",
|
|
|
+ "'CPU Total'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "CPU Load",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 5,
|
|
|
+ "x": 3,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "id": 16,
|
|
|
+ "options": {
|
|
|
+ "fieldOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "defaults": {
|
|
|
+ "mappings": [],
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "override": {},
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "orientation": "auto",
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "6.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'RAM' AND\n sensor_type = 'Load'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'RAM'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "RAM Load",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 8,
|
|
|
+ "x": 8,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "id": 17,
|
|
|
+ "options": {
|
|
|
+ "fieldOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "defaults": {
|
|
|
+ "mappings": [],
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "override": {},
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "orientation": "auto",
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "6.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuNvidia' AND\n sensor_type = 'Load'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuNvidia'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuAti' AND\n sensor_type = 'Load'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "B",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuAti'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "GPU Load",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 4,
|
|
|
+ "w": 8,
|
|
|
+ "x": 16,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "id": 18,
|
|
|
+ "options": {
|
|
|
+ "fieldOptions": {
|
|
|
+ "calcs": [
|
|
|
+ "lastNotNull"
|
|
|
+ ],
|
|
|
+ "defaults": {
|
|
|
+ "mappings": [],
|
|
|
+ "max": 100,
|
|
|
+ "min": 0,
|
|
|
+ "thresholds": [
|
|
|
+ {
|
|
|
+ "color": "green",
|
|
|
+ "value": null
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "color": "red",
|
|
|
+ "value": 80
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "unit": "percent"
|
|
|
+ },
|
|
|
+ "override": {},
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "orientation": "auto",
|
|
|
+ "showThresholdLabels": false,
|
|
|
+ "showThresholdMarkers": true
|
|
|
+ },
|
|
|
+ "pluginVersion": "6.5.2",
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'HDD' AND\n sensor_type = 'Load'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'HDD'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Disk Load",
|
|
|
+ "type": "gauge"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 5
|
|
|
+ },
|
|
|
+ "id": 5,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Load Breakdown",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 6
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 2,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": true,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'CPU' AND\n sensor_type = 'Load' AND\n sensor != 'CPU Total'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'CPU'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor",
|
|
|
+ "!=",
|
|
|
+ "'CPU Total'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "CPU Load",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "percent",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 9,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 6
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 3,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuNvidia' AND\n sensor_type = 'Load'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuNvidia'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuAti' AND\n sensor_type = 'Load'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "B",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuAti'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Load'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "GPU Load",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "percent",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": "100",
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": true,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 15
|
|
|
+ },
|
|
|
+ "id": 23,
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 20,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'RAM' AND\n sensor_type = 'Data'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'RAM'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Data'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "RAM",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "gbytes",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 12,
|
|
|
+ "y": 1
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 21,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": true,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuNvidia' AND\n sensor_type = 'SmallData'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuNvidia'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'SmallData'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value) AS \"sensor_index\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = 'GpuAti' AND\n sensor_type = 'SmallData'\nGROUP BY 1, sensor,2\nORDER BY 1,2",
|
|
|
+ "refId": "B",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "sensor_index"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'GpuAti'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'SmallData'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "GPU",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "mbytes",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Bytes",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 16
|
|
|
+ },
|
|
|
+ "id": 9,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Watts",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 17
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 7,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "power",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n sensor_type = 'Power' AND\n hardware_type = $power\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Power'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$power"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$power Wattage",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "watt",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 25
|
|
|
+ },
|
|
|
+ "id": 27,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Temperatures",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 8,
|
|
|
+ "x": 0,
|
|
|
+ "y": 26
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 25,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "temperature",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n sensor_type = 'Temperature' AND\n hardware_type = $temperature\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Temperature'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$temperature"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$temperature Temperature",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "celsius",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 34
|
|
|
+ },
|
|
|
+ "id": 34,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Volts",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 35
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 32,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": true,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "volt",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n sensor_type = 'Voltage' AND\n hardware_type = $volt\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Voltage'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$volt"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$volt Volts",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "volt",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 43
|
|
|
+ },
|
|
|
+ "id": 41,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Network Throughput",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 8,
|
|
|
+ "x": 0,
|
|
|
+ "y": 44
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 47,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "network",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware = $network AND\n hardware_type = 'NIC' AND\n sensor = 'Download Speed'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware",
|
|
|
+ "=",
|
|
|
+ "$network"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'NIC'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor",
|
|
|
+ "=",
|
|
|
+ "'Download Speed'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware = $network AND\n hardware_type = 'NIC' AND\n sensor = 'Upload Speed'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "B",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware",
|
|
|
+ "=",
|
|
|
+ "$network"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "'NIC'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor",
|
|
|
+ "=",
|
|
|
+ "'Upload Speed'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$network Throughput",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "Bps",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 52
|
|
|
+ },
|
|
|
+ "id": 59,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Fan RPM",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 53
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 57,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "fan",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = $fan AND\n sensor_type = 'Fan'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$fan"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Fan'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$fan Fan RPM",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "rpm",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 61
|
|
|
+ },
|
|
|
+ "id": 82,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Control",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 62
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 70,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "control",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "$__interval",
|
|
|
+ "none"
|
|
|
+ ],
|
|
|
+ "type": "time"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n $__timeGroupAlias(\"time\",$__interval),\n sensor AS metric,\n avg(value)\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = $control AND\n sensor_type = 'Control'\nGROUP BY 1,2\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "avg"
|
|
|
+ ],
|
|
|
+ "type": "aggregate"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$control"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Control'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$control Fan RPM",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "percent",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapsed": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "gridPos": {
|
|
|
+ "h": 1,
|
|
|
+ "w": 24,
|
|
|
+ "x": 0,
|
|
|
+ "y": 70
|
|
|
+ },
|
|
|
+ "id": 107,
|
|
|
+ "panels": [],
|
|
|
+ "title": "Frequencies",
|
|
|
+ "type": "row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "dashLength": 10,
|
|
|
+ "dashes": false,
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "fill": 1,
|
|
|
+ "fillGradient": 0,
|
|
|
+ "gridPos": {
|
|
|
+ "h": 8,
|
|
|
+ "w": 12,
|
|
|
+ "x": 0,
|
|
|
+ "y": 71
|
|
|
+ },
|
|
|
+ "hiddenSeries": false,
|
|
|
+ "id": 94,
|
|
|
+ "legend": {
|
|
|
+ "alignAsTable": true,
|
|
|
+ "avg": true,
|
|
|
+ "current": false,
|
|
|
+ "max": true,
|
|
|
+ "min": false,
|
|
|
+ "rightSide": true,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": true
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 1,
|
|
|
+ "maxPerRow": 3,
|
|
|
+ "nullPointMode": "null",
|
|
|
+ "options": {
|
|
|
+ "dataLinks": []
|
|
|
+ },
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 2,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "repeat": "hertz",
|
|
|
+ "repeatDirection": "h",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "spaceLength": 10,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "format": "time_series",
|
|
|
+ "group": [],
|
|
|
+ "metricColumn": "sensor",
|
|
|
+ "rawQuery": false,
|
|
|
+ "rawSql": "SELECT\n \"time\" AS \"time\",\n sensor AS metric,\n value * 1000000 AS \"value * 1000000\"\nFROM ohm_stats\nWHERE\n $__timeFilter(\"time\") AND\n host = '$instance' AND\n hardware_type = $hertz AND\n sensor_type = 'Clock'\nORDER BY 1,2",
|
|
|
+ "refId": "A",
|
|
|
+ "select": [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value * 1000000"
|
|
|
+ ],
|
|
|
+ "type": "column"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "params": [
|
|
|
+ "value * 1000000"
|
|
|
+ ],
|
|
|
+ "type": "alias"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ "table": "ohm_stats",
|
|
|
+ "timeColumn": "\"time\"",
|
|
|
+ "timeColumnType": "timestamptz",
|
|
|
+ "where": [
|
|
|
+ {
|
|
|
+ "name": "$__timeFilter",
|
|
|
+ "params": [],
|
|
|
+ "type": "macro"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "host",
|
|
|
+ "=",
|
|
|
+ "'$instance'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "hardware_type",
|
|
|
+ "=",
|
|
|
+ "$hertz"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "datatype": "text",
|
|
|
+ "name": "",
|
|
|
+ "params": [
|
|
|
+ "sensor_type",
|
|
|
+ "=",
|
|
|
+ "'Clock'"
|
|
|
+ ],
|
|
|
+ "type": "expression"
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "thresholds": [],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeRegions": [],
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "$hertz Frequencies",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "sort": 0,
|
|
|
+ "value_type": "individual"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "xaxis": {
|
|
|
+ "buckets": null,
|
|
|
+ "mode": "time",
|
|
|
+ "name": null,
|
|
|
+ "show": true,
|
|
|
+ "values": []
|
|
|
+ },
|
|
|
+ "yaxes": [
|
|
|
+ {
|
|
|
+ "format": "hertz",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": "0",
|
|
|
+ "show": true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "format": "short",
|
|
|
+ "label": null,
|
|
|
+ "logBase": 1,
|
|
|
+ "max": null,
|
|
|
+ "min": null,
|
|
|
+ "show": true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "yaxis": {
|
|
|
+ "align": false,
|
|
|
+ "alignLevel": null
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "refresh": "10s",
|
|
|
+ "schemaVersion": 21,
|
|
|
+ "style": "dark",
|
|
|
+ "tags": [],
|
|
|
+ "templating": {
|
|
|
+ "list": [
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(host) FROM ohm_stats WHERE $__timeFilter(time) ",
|
|
|
+ "hide": 0,
|
|
|
+ "includeAll": false,
|
|
|
+ "label": null,
|
|
|
+ "multi": false,
|
|
|
+ "name": "instance",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(host) FROM ohm_stats WHERE $__timeFilter(time) ",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Power'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "power",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Power'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Temperature'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "temperature",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Temperature'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Voltage'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "volt",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Voltage'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware) FROM ohm_stats WHERE $__timeFilter(time) AND hardware_type = 'NIC'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "network",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware) FROM ohm_stats WHERE $__timeFilter(time) AND hardware_type = 'NIC'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Fan'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "fan",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Fan'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Control'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "control",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Control'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "allValue": null,
|
|
|
+ "current": {},
|
|
|
+ "datasource": "${DS_OHM-TIMESCALE}",
|
|
|
+ "definition": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Clock'",
|
|
|
+ "hide": 2,
|
|
|
+ "includeAll": true,
|
|
|
+ "label": null,
|
|
|
+ "multi": true,
|
|
|
+ "name": "hertz",
|
|
|
+ "options": [],
|
|
|
+ "query": "SELECT DISTINCT(hardware_type) FROM ohm_stats WHERE $__timeFilter(time) AND sensor_type = 'Clock'",
|
|
|
+ "refresh": 2,
|
|
|
+ "regex": "",
|
|
|
+ "skipUrlSync": false,
|
|
|
+ "sort": 0,
|
|
|
+ "tagValuesQuery": "",
|
|
|
+ "tags": [],
|
|
|
+ "tagsQuery": "",
|
|
|
+ "type": "query",
|
|
|
+ "useTags": false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "time": {
|
|
|
+ "from": "now-1h",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "refresh_intervals": [
|
|
|
+ "5s",
|
|
|
+ "10s",
|
|
|
+ "30s",
|
|
|
+ "1m",
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "30m",
|
|
|
+ "1h",
|
|
|
+ "2h",
|
|
|
+ "1d"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "timezone": "",
|
|
|
+ "title": "ohm-timescale",
|
|
|
+ "uid": "_gRaRIyWk",
|
|
|
+ "version": 6
|
|
|
+}
|