{ "id": "bbe33582-c9d0-4745-9797-468c97affc1d", "meta": { "name": "MySQL", "measurements": ["mysql"], "version": "1.0", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: MySQL", "author": "InfluxData", "license": "MIT", "icon": "", "url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql" }, "data": { "cells": [ { "x": 0, "y": 0, "w": 12, "h": 1, "name": "", "queries": [ { "query": "", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "note", "colors": [], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "This dashboard gives you an overview of your MySQL Server and includes metrics from the `mysql_*` measurement populated by the [Telegraf MySQL Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "default" }, { "x": 8, "y": 7, "w": 4, "h": 2, "name": "InnoDB data", "queries": [ { "query": "SELECT non_negative_derivative(mean(\"innodb_data_writes\")) AS \"writes\", non_negative_derivative(mean(\"innodb_data_reads\")) AS \"reads\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host =:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(mean(\"innodb_data_writes\")) AS \"writes\", non_negative_derivative(mean(\"innodb_data_reads\")) AS \"reads\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host =:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "InnoDB data", "prefix": "", "suffix": "", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "6978fb76-e4c0-4cb0-a67f-a25586b5438c", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "c3f588cf-9278-4ed0-941f-dafcf4665f4e", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "994f5da0-665b-42c9-91a6-2ad8dfb94ac4", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 10, "y": 2, "w": 2, "h": 1, "name": "Open Connections", "queries": [ { "query": "SELECT mean(\"threads_connected\") AS \"mean_threads_connected\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"threads_connected\") AS \"mean_threads_connected\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 0}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 8, "y": 5, "w": 4, "h": 2, "name": "MySQL Connections", "queries": [ { "query": "SELECT mean(\"threads_connected\") AS \"open\", mean(\"threads_running\") AS \"running\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"threads_connected\") AS \"open\", mean(\"threads_running\") AS \"running\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "Connections", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "base", "type": "scale", "hex": "#74D495", "name": "Atlantis", "value": "0" }, { "id": "59b1fdae-2dd5-4675-ac65-240432c1a60b", "type": "scale", "hex": "#3F3FBA", "name": "Atlantis", "value": "0" }, { "id": "affa3462-1d7b-4469-9d6e-ebbc8324ac6b", "type": "scale", "hex": "#FF4D9E", "name": "Atlantis", "value": "0" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 8, "y": 1, "w": 2, "h": 1, "name": "InnoDB buffer pool size", "queries": [ { "query": "SELECT (mean(\"innodb_buffer_pool_pages_total\") * mean(\"innodb_page_size\"))/1024/1024 AS \"buffer total size\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT (mean(\"innodb_buffer_pool_pages_total\") * mean(\"innodb_page_size\"))/1024/1024 AS \"buffer total size\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": " MB", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 0}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 8, "y": 2, "w": 2, "h": 1, "name": "InnoDB buffer usage", "queries": [ { "query": "SELECT (mean(\"innodb_buffer_pool_pages_total\") - mean(\"innodb_buffer_pool_pages_free\")) / mean(\"innodb_buffer_pool_pages_total\") * 100 AS \"mean_innodb_buffer_pool_pages_free\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT (mean(\"innodb_buffer_pool_pages_total\") - mean(\"innodb_buffer_pool_pages_free\")) / mean(\"innodb_buffer_pool_pages_total\") * 100 AS \"mean_innodb_buffer_pool_pages_free\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "%", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#4ED8A0", "name": "rainforest", "value": "-1000000000000000000" }, { "id": "66419268-9150-4f06-a97c-c39676ddc7b0", "type": "text", "hex": "#22ADF6", "name": "pool", "value": "15.61" }, { "id": "fa8ae4b4-aa2a-4190-8cda-3008a4bbfe92", "type": "text", "hex": "#32B08C", "name": "viridian", "value": "25.59" }, { "id": "fc65cd7f-de7a-41a5-a8e9-57467cebf8d8", "type": "text", "hex": "#F95F53", "name": "curacao", "value": "46.65" }, { "id": "ecdfd591-bd29-4bba-a310-edf61e1a666b", "type": "text", "hex": "#7CE490", "name": "honeydew", "value": "49.32" }, { "id": "6d43d3c4-21aa-41f7-8714-eb892c634fc7", "type": "text", "hex": "#7A65F2", "name": "star", "value": "96.38" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 0}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 0, "y": 7, "w": 4, "h": 2, "name": "MySQL queries / sec", "queries": [ { "query": "SELECT non_negative_derivative(mean(\"queries\"),1s) AS \"queries\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(mean(\"queries\"),1s) AS \"queries\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "18626114-6033-4286-b4cd-d22a66cf5296", "type": "scale", "hex": "#FD7A5D", "name": "Delorean", "value": "0" }, { "id": "7f450be3-2dc5-42fe-a1fd-27a2a476b78e", "type": "scale", "hex": "#5F1CF2", "name": "Delorean", "value": "0" }, { "id": "e53c4cc0-eccc-4967-9ab0-3ad886485723", "type": "scale", "hex": "#4CE09A", "name": "Delorean", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 4, "y": 5, "w": 4, "h": 2, "name": "MySQL sent bytes /sec", "queries": [ { "query": "SELECT non_negative_derivative(max(\"bytes_sent\"),1s) AS \"bytes sent\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(max(\"bytes_sent\"),1s) AS \"bytes sent\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "18626114-6033-4286-b4cd-d22a66cf5296", "type": "scale", "hex": "#FD7A5D", "name": "Delorean", "value": "0" }, { "id": "7f450be3-2dc5-42fe-a1fd-27a2a476b78e", "type": "scale", "hex": "#5F1CF2", "name": "Delorean", "value": "0" }, { "id": "e53c4cc0-eccc-4967-9ab0-3ad886485723", "type": "scale", "hex": "#4CE09A", "name": "Delorean", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 8, "y": 3, "w": 4, "h": 2, "name": "MySQL Connections/User", "queries": [ { "query": "SELECT mean(\"connections\") AS \"Connections\" FROM \":db:\".\":rp:\".\"mysql_users\" WHERE time > :dashboardTime: AND host = :host: GROUP BY time(:interval:), \"user\"", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"connections\") AS \"Connections\" FROM \":db:\".\":rp:\".\"mysql_users\" WHERE time > :dashboardTime: AND host = :host: GROUP BY time(:interval:), \"user\"", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "9e437b1a-7abf-43a2-b34c-e58b4ce879d0", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "5ee78816-c6ac-4573-8fe0-fb0928d7f7fe", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "327d7009-102e-4b2c-89fa-6b3aaf241ca4", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 4, "y": 7, "w": 4, "h": 2, "name": "MySQL slow queries", "queries": [ { "query": "SELECT non_negative_derivative(mean(\"slow_queries\")) AS \"slow_queries\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(mean(\"slow_queries\")) AS \"slow_queries\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "9e437b1a-7abf-43a2-b34c-e58b4ce879d0", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "5ee78816-c6ac-4573-8fe0-fb0928d7f7fe", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "327d7009-102e-4b2c-89fa-6b3aaf241ca4", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 0, "y": 5, "w": 4, "h": 2, "name": "MySQL received bytes / sec", "queries": [ { "query": "SELECT non_negative_derivative(max(\"bytes_received\"),1s) AS \"bytes received\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(max(\"bytes_received\"),1s) AS \"bytes received\" FROM \":db:\".\":rp:\".\"mysql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "c988d438-08e4-4290-a673-12ca07287c72", "type": "scale", "hex": "#74D495", "name": "Atlantis", "value": "0" }, { "id": "3ede1c3c-5e73-4dd8-953a-2b00ad9d2578", "type": "scale", "hex": "#3F3FBA", "name": "Atlantis", "value": "0" }, { "id": "05b4da25-7e65-44b7-8a5f-fdaf1db8da90", "type": "scale", "hex": "#FF4D9E", "name": "Atlantis", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 4, "y": 3, "w": 4, "h": 2, "name": "Network", "queries": [ { "query": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "Network", "prefix": "", "suffix": "B", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "a98e3ce0-d794-4a05-9eef-9925caaf2883", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "9b56030d-b186-40b9-8d87-c911c962c882", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `net` plugin. For more information, please visit the [Telegraf Net plugin documentation](https://github.com/influxdata/telegraf/blob/master/plugins/inputs/net/NET_README.md).", "noteVisibility": "showWhenNoData" }, { "x": 2, "y": 2, "w": 2, "h": 1, "name": "Total Memory", "queries": [ { "query": "SELECT last(\"total\")/1024/1024/1024 AS \"last_total\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT last(\"total\")/1024/1024/1024 AS \"last_total\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": " GB", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `mem` plugin. For more information, please visit the [Telegraf Mem plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).", "noteVisibility": "showWhenNoData" }, { "x": 0, "y": 1, "w": 2, "h": 1, "name": "System Uptime", "queries": [ { "query": "SELECT last(\"uptime\")/86400 AS \"mean_uptime\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT last(\"uptime\")/86400 AS \"mean_uptime\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": " days", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true}, { "internalName": "apache.mean_Uptime", "displayName": "", "visible": true } ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 1}, "note": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", "noteVisibility": "showWhenNoData" }, { "x": 0, "y": 3, "w": 4, "h": 2, "name": "I/O", "queries": [ { "query": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT non_negative_derivative(max(\"read_bytes\"),1s) AS \"read bytes\", non_negative_derivative(max(\"write_bytes\"),1s) AS \"write bytes\" FROM \":db:\".\":rp:\".\"diskio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "I/O read/write", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "a98e3ce0-d794-4a05-9eef-9925caaf2883", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "9b56030d-b186-40b9-8d87-c911c962c882", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `diskio` plugin. For more information, please visit the [Telegraf DiskIO plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio).", "noteVisibility": "showWhenNoData" }, { "x": 4, "y": 1, "w": 2, "h": 2, "name": "System Load", "queries": [ { "query": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"load1\") AS \"load1\", mean(\"load5\") AS \"load5\", mean(\"load15\") AS \"load15\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "Load", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line", "colors": [ { "id": "a98e3ce0-d794-4a05-9eef-9925caaf2883", "type": "scale", "hex": "#31C0F6", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "9b56030d-b186-40b9-8d87-c911c962c882", "type": "scale", "hex": "#A500A5", "name": "Nineteen Eighty Four", "value": "0" }, { "id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023", "type": "scale", "hex": "#FF7E27", "name": "Nineteen Eighty Four", "value": "0" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", "noteVisibility": "showWhenNoData" }, { "x": 2, "y": 1, "w": 2, "h": 1, "name": "nCPU", "queries": [ { "query": "SELECT max(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host:", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT max(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host:", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "nCPU", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": false, "digits": 2}, "note": "To enable this graph, you will need to configure the Telegraf `system` plugin. For more information, please visit the [Telegraf System plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", "noteVisibility": "showWhenNoData" }, { "x": 0, "y": 2, "w": 2, "h": 1, "name": "MySQL uptime", "queries": [ { "query": "SELECT last(\"uptime\") / 86400 AS \"uptime\" FROM \":db:\".\":rp:\".\"mysql\" WHERE time > :dashboardTime: AND \"host\" = :host:", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT last(\"uptime\") / 86400 AS \"uptime\" FROM \":db:\".\":rp:\".\"mysql\" WHERE time > :dashboardTime: AND \"host\" = :host:", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": " days", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {"type": "static", "orientation": "bottom"}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true}, { "internalName": "apache.mean_Uptime", "displayName": "", "visible": true } ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 1}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" }, { "x": 6, "y": 1, "w": 2, "h": 2, "name": "Memory usage", "queries": [ { "query": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"used_percent\") AS \"last_used_percent\" FROM \":db:\".\":rp:\".\"mem\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:) FILL(previous)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "Memory used %", "prefix": "", "suffix": " %", "base": "10", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "line-plus-single-stat", "colors": [ { "id": "base", "type": "scale", "hex": "#8F8AF4", "name": "Do Androids Dream of Electric Sheep?", "value": "0" }, { "id": "8314ff20-1158-4910-85fa-c880ca805611", "type": "scale", "hex": "#A51414", "name": "Do Androids Dream of Electric Sheep?", "value": "0" }, { "id": "84b07d37-6abe-461d-9e1e-fefbaa696368", "type": "scale", "hex": "#F4CF31", "name": "Do Androids Dream of Electric Sheep?", "value": "0" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 0}, "note": "To enable this graph, you will need to configure the Telegraf `mem` plugin. For more information, please visit the [Telegraf Mem plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).", "noteVisibility": "showWhenNoData" }, { "x": 10, "y": 1, "w": 2, "h": 1, "name": "Max Connections", "queries": [ { "query": "SELECT mean(\"max_connections\") AS \"mean_max_connections\" FROM \":db:\".\":rp:\".\"mysql_variables\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "queryConfig": { "database": "", "measurement": "", "retentionPolicy": "", "fields": [], "tags": {}, "groupBy": {"time": "", "tags": []}, "areTagsAccepted": false, "rawText": "SELECT mean(\"max_connections\") AS \"mean_max_connections\" FROM \":db:\".\":rp:\".\"mysql_variables\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", "range": null, "shifts": null }, "source": "", "type": "influxql" } ], "axes": { "x": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" }, "y": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "2", "scale": "linear" }, "y2": { "bounds": ["", ""], "label": "", "prefix": "", "suffix": "", "base": "10", "scale": "linear" } }, "type": "single-stat", "colors": [ { "id": "base", "type": "text", "hex": "#00C9FF", "name": "laser", "value": "-1000000000000000000" } ], "legend": {}, "tableOptions": { "verticalTimeAxis": true, "sortBy": { "internalName": "time", "displayName": "", "visible": true }, "wrapping": "truncate", "fixFirstColumn": true }, "fieldOptions": [ {"internalName": "time", "displayName": "", "visible": true} ], "timeFormat": "MM/DD/YYYY HH:mm:ss", "decimalPlaces": {"isEnforced": true, "digits": 0}, "note": "To enable this graph, you will need to configure the Telegraf `mysql` plugin. For more information, please visit the [Telegraf MySQL plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mysql).", "noteVisibility": "showWhenNoData" } ], "templates": [ { "tempVar": ":host:", "id": "", "type": "tagValues", "label": "", "values": [], "query": { "influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:", "db": "telegraf", "measurement": "mysql", "tagKey": "host", "fieldKey": "" } } ] } }