{ "__inputs": [ ], "__requires": [ ], "annotations": { "list": [ ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [ ], "refresh": "", "rows": [ { "collapse": false, "collapsed": false, "panels": [ { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 2, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_host_power_microwatts / 1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", "refId": "A" }, { "expr": "sum(scaph_process_power_consumption_microwatts) / 1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "sum of processes power", "refId": "B" }, { "expr": "sum(scaph_domain_power_microwatts) / 1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "sum of rapl domains power", "refId": "C" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Hosts power consumption", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": true, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 3, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(avg_over_time(scaph_host_power_microwatts[1h]))/1000000", "format": "time_series", "interval": "1h", "intervalFactor": 2, "legendFormat": "total of hosts, during displayed time window", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Hosts power consumption total (dynamic time range)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "series", "name": null, "show": true, "values": [ "total" ] }, "yaxes": [ { "format": "Wh", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "Wh", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 4, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_host_disk_total_bytes", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ disk_name }} {{ disk_type }} total", "refId": "A" }, { "expr": "scaph_host_disk_available_bytes", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ disk_name }} {{ disk_type }} available", "refId": "B" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Disks capacity and usage", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 5, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_host_load_avg_one", "format": "time_series", "intervalFactor": 2, "legendFormat": "load_avg_1", "refId": "A" }, { "expr": "scaph_host_load_avg_five", "format": "time_series", "intervalFactor": 2, "legendFormat": "load_avg_5", "refId": "B" }, { "expr": "scaph_host_load_avg_fifteen", "format": "time_series", "intervalFactor": 2, "legendFormat": "load_avg_15", "refId": "C" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Host load average", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "Per hosts", "titleSize": "h6", "type": "row" }, { "collapse": false, "collapsed": false, "panels": [ { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 6, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_socket_power_microwatts / 1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}} Socket {{socket_id}}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Socket power consumption", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 7, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_domain_power_microwatts / 1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{domain_name}}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_domain_power", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 8, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_self_cpu_usage_percent", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{__name__}}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_self_cpu", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "%", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "%", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 9, "legend": { "alignAsTable": false, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": null, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": false, "steppedLine": false, "targets": [ { "expr": "scaph_self_memory_bytes", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{__name__}}", "refId": "A" }, { "expr": "scaph_self_memory_virtual_bytes", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{__name__}}", "refId": "B" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_self_mem", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "Per CPU Sockets", "titleSize": "h6", "type": "row" }, { "collapse": false, "collapsed": false, "panels": [ { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 10, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": "30%", "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": true, "steppedLine": false, "targets": [ { "expr": "scaph_process_power_consumption_microwatts{cmdline=~\".*${process_filter}.*\"}/1000000", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ cmdline }}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "Filtered process (process_filter) power, by cmdline", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "W", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 11, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": "30%", "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": true, "steppedLine": false, "targets": [ { "expr": "scaph_process_cpu_usage_percentage{cmdline=~\".*${process_filter}.*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ cmdline }}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_process_cpu", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "%", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "%", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 12, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": "30%", "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": true, "steppedLine": false, "targets": [ { "expr": "scaph_process_memory_bytes{cmdline=~\".*${process_filter}.*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ cmdline }}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_process_mem", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] }, { "aliasColors": { }, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${PROMETHEUS_DS}", "fill": 1, "fillGradient": 0, "gridPos": { }, "id": 13, "legend": { "alignAsTable": true, "avg": false, "current": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": "30%", "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [ ], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "repeat": null, "seriesOverrides": [ ], "spaceLength": 10, "span": 3, "stack": true, "steppedLine": false, "targets": [ { "expr": "scaph_process_memory_virtual_bytes{cmdline=~\".*${process_filter}.*\"}", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{ cmdline }}", "refId": "A" } ], "thresholds": [ ], "timeFrom": null, "timeShift": null, "title": "scaph_process_mem_virtual", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [ ] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "Per process", "titleSize": "h6", "type": "row" } ], "schemaVersion": 14, "style": "dark", "tags": [ "scaphandre", "energy", "power" ], "templating": { "list": [ { "current": { "text": "Prometheus", "value": "Prometheus" }, "hide": 1, "label": null, "name": "PROMETHEUS_DS", "options": [ ], "query": "prometheus", "refresh": 1, "regex": "", "type": "datasource" }, { "current": { "selected": false, "text": "", "value": "" }, "label": "", "name": "process_filter", "query": "", "type": "textbox" } ] }, "time": { "from": "now-6h", "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": "browser", "title": "Scaphandre example dashboard", "version": 0 }