diff --git a/protoboards/docker.json b/protoboards/docker.json index 4252d1657..9b0f33bbc 100644 --- a/protoboards/docker.json +++ b/protoboards/docker.json @@ -1,5 +1,5 @@ { - "id": "2d2dfb19-0709-4a69-8265-70c7b456080c", + "id": "4f1fdc9b-1e60-4a75-97ef-33b9c97819b4", "meta": { "name": "Docker", "measurements": [ @@ -7,10 +7,10 @@ "docker_container_blkio", "docker_container_net" ], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: Docker", - "author": "influxdata", + "author": "InfluxData", "license": "MIT", "icon": "", "url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker" @@ -18,307 +18,1515 @@ "data": { "cells": [ { - "w": 4, - "h": 4, - "name": "Docker - Container CPU %", + "x": 0, + "y": 0, + "w": 12, + "h": 1, + "name": "", "queries": [ { - "query": "SELECT mean(\"usage_percent\") AS \"usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""], - "label": "% CPU time" + "query": "", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line-stacked", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { - "prefix": "", - "suffix": "% CPU time", - "base": "10", - "scale": "linear", + "bounds": ["", ""], "label": "", - "bounds": ["", ""] - }, - "y2": { "prefix": "", "suffix": "", "base": "10", - "scale": "linear", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], "label": "", - "bounds": ["", ""] + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" } - } - }, - { - "w": 4, - "h": 4, - "name": "Docker - Container Memory (MB)", - "queries": [ + }, + "type": "note", + "colors": [], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": true, + "sortBy": { + "internalName": "time", + "displayName": "", + "visible": true + }, + "wrapping": "truncate", + "fixFirstColumn": true + }, + "fieldOptions": [ { - "query": "SELECT mean(\"usage\") / 1048576 AS \"usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""], - "label": "MB" + "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 metrics from the Docker Engine API on each host and includes metrics from `docker` set of measurements populated by the [Telegraf Docker Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "default" + }, + { + "x": 8, + "y": 4, + "w": 4, + "h": 3, + "name": "Block I/O per Container", + "queries": [ + { + "query": "SELECT mean(\"io_service_bytes_recursive_write\") AS \"write\", mean(\"io_service_bytes_recursive_read\") AS \"read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"container_name\" FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"io_service_bytes_recursive_write\") AS \"write\", mean(\"io_service_bytes_recursive_read\") AS \"read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"container_name\" FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line-stepplot", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "Container I/O", "prefix": "", - "suffix": "MB", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "suffix": "", + "base": "2", + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } - }, - { - "w": 4, - "h": 4, - "name": "Docker - Containers", - "queries": [ + }, + "type": "line", + "colors": [ { - "query": "SELECT max(\"n_containers\") AS \"max_n_containers\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"", - "groupbys": ["\"host\""], - "label": "count" + "id": "ef042c27-dd7f-47b1-adfe-5f47aaf3511c", + "type": "scale", + "hex": "#FD7A5D", + "name": "Delorean", + "value": "0" + }, + { + "id": "f62195a7-8be0-4ad7-aa97-aa040e6c1d8d", + "type": "scale", + "hex": "#5F1CF2", + "name": "Delorean", + "value": "0" + }, + { + "id": "a4c3cbc4-601f-47cf-a6ae-76ca0a259125", + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 9, + "y": 1, + "w": 3, + "h": 3, + "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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 1, + "w": 3, + "h": 3, + "name": "System 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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 3, + "y": 2, + "w": 3, + "h": 2, + "name": "System CPU Usage", + "queries": [ + { + "query": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_iowait\") AS \"iowait\" , mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_iowait\") AS \"iowait\" , mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' 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": "CPU usage", + "prefix": "", + "suffix": " %", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "2818d86b-c91e-4d59-b7f4-e5c7212b627e", + "type": "scale", + "hex": "#74D495", + "name": "Atlantis", + "value": "0" + }, + { + "id": "4dfe99ee-4844-417b-ae70-c9af0b3ad826", + "type": "scale", + "hex": "#3F3FBA", + "name": "Atlantis", + "value": "0" + }, + { + "id": "31ea9d9b-c950-4ba5-b3e5-53738b2524c5", + "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 CPU Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 4, + "w": 4, + "h": 3, + "name": "Disk 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": "bytes/sec", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "9dae3270-b473-4882-a959-af66d1ff78be", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "4a03b82d-707d-4553-8db5-8876928a91d1", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "9cf3c380-ae13-4612-b044-d646b57cdfac", + "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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 7, + "w": 6, + "h": 3, + "name": "Memory usage % per container", + "queries": [ + { + "query": "SELECT mean(\"usage_percent\") AS \"mean_usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage_percent\") AS \"mean_usage_percent\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host = :host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["0", "100"], + "label": "Memory usage %", + "prefix": "", + "suffix": " %", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "a7a38809-10a1-4e4d-a99a-fc05d676d375", + "type": "scale", + "hex": "#FDC44F", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce", + "type": "scale", + "hex": "#007C76", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "10688960-fcdc-4413-aa60-4f494e2cfea3", + "type": "scale", + "hex": "#8983FF", + "name": "Cthulhu", + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 1, + "w": 2, + "h": 1, + "name": "# Containers", + "queries": [ + { + "query": "SELECT mean(\"n_containers\") AS \"mean_n_containers\" FROM \":db:\".\":rp:\".\"docker\" 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(\"n_containers\") AS \"mean_n_containers\" FROM \":db:\".\":rp:\".\"docker\" 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": ["0", ""], + "label": "Containters", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, "type": "single-stat", - "axes": { - "x": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y": { - "prefix": "", - "suffix": "count", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y2": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - } - } - }, - { - "w": 4, - "h": 4, - "name": "Docker - Images", - "queries": [ + "colors": [ { - "query": "SELECT max(\"n_images\") AS \"max_n_images\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"", - "groupbys": ["\"host\""] + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 2, + "y": 1, + "w": 2, + "h": 1, + "name": "Total Memory", + "queries": [ + { + "query": "SELECT mean(\"memory_total\")/1024/1024 AS \"mean_memory_total\" FROM \":db:\".\":rp:\".\"docker\" 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(\"memory_total\")/1024/1024 AS \"mean_memory_total\" FROM \":db:\".\":rp:\".\"docker\" 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": ["0", ""], + "label": "Containters", + "prefix": "", + "suffix": " MB", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, "type": "single-stat", - "axes": { - "x": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y2": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - } - } - }, - { - "w": 4, - "h": 4, - "name": "Docker - Container State", - "queries": [ + "colors": [ { - "query": "SELECT max(\"n_containers_running\") AS \"max_n_containers_running\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"", - "groupbys": ["\"host\""], - "label": "count" - }, - { - "query": "SELECT max(\"n_containers_stopped\") AS \"max_n_containers_stopped\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"", - "groupbys": ["\"host\""] - }, - { - "query": "SELECT max(\"n_containers_paused\") AS \"max_n_containers_paused\" FROM \":db:\".\":rp:\".\"docker\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"host\"", - "groupbys": ["\"host\""] + "id": "base", + "type": "text", + "hex": "#00C9FF", + "name": "laser", + "value": "-1000000000000000000" } ], - "type": "line", - "axes": { - "x": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "legend": {}, + "tableOptions": { + "verticalTimeAxis": true, + "sortBy": { + "internalName": "time", + "displayName": "", + "visible": true }, - "y": { - "prefix": "", - "suffix": "count", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y2": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - } - } - }, - { - "w": 4, - "h": 4, - "name": "Docker - Container Block IO", - "queries": [ + "wrapping": "truncate", + "fixFirstColumn": true + }, + "fieldOptions": [ { - "query": "SELECT max(\"io_serviced_recursive_read\") AS \"max_io_read\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] - }, - { - "query": "SELECT max(\"io_serviced_recursive_sync\") AS \"max_io_sync\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] - }, - { - "query": "SELECT max(\"io_serviced_recursive_write\") AS \"max_io_write\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] - }, - { - "query": "SELECT max(\"io_serviced_recursive_total\") AS \"max_io_total\" FROM \":db:\".\":rp:\".\"docker_container_blkio\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] + "internalName": "time", + "displayName": "", + "visible": true } ], - "type": "line", - "axes": { - "x": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y2": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - } - } + "timeFormat": "MM/DD/YYYY HH:mm:ss", + "decimalPlaces": { + "isEnforced": true, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the [Telegraf Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" }, { - "w": 4, - "h": 4, - "name": "Docker - Container Network", + "x": 0, + "y": 1, + "w": 2, + "h": 1, + "name": "nCPU", "queries": [ { - "query": "SELECT derivative(mean(\"tx_bytes\"), 10s) AS \"net_tx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] - }, - { - "query": "SELECT derivative(mean(\"rx_bytes\"), 10s) AS \"net_rx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"container_name\"", - "groupbys": ["\"container_name\""] + "query": "SELECT last(\"n_cpus\") AS \"n_cpus\" FROM \":db:\".\":rp:\".\"docker\" 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 last(\"n_cpus\") AS \"n_cpus\" FROM \":db:\".\":rp:\".\"docker\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["0", ""], + "label": "Containters", "prefix": "", "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "base": "2", + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 2, + "w": 3, + "h": 2, + "name": "# Running containers", + "queries": [ + { + "query": "SELECT mean(\"n_containers_running\") AS \"running\" FROM \":db:\".\":rp:\".\"docker\" 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(\"n_containers_running\") AS \"running\" FROM \":db:\".\":rp:\".\"docker\" 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": ["0", ""], + "label": "Containters", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line-plus-single-stat", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#FDC44F", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce", + "type": "scale", + "hex": "#007C76", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "10688960-fcdc-4413-aa60-4f494e2cfea3", + "type": "scale", + "hex": "#8983FF", + "name": "Cthulhu", + "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": false, + "digits": 2 + }, + "note": "To enable this graph, you will need to configure the [Telegraf Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 10, + "w": 6, + "h": 3, + "name": "Net I/O per Container", + "queries": [ + { + "query": "SELECT mean(\"rx_bytes\") AS \"rx_bytes\", mean(\"tx_bytes\") AS \"tx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"rx_bytes\") AS \"rx_bytes\", mean(\"tx_bytes\") AS \"tx_bytes\" FROM \":db:\".\":rp:\".\"docker_container_net\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), container_name 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": "9dae3270-b473-4882-a959-af66d1ff78be", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "4a03b82d-707d-4553-8db5-8876928a91d1", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "9cf3c380-ae13-4612-b044-d646b57cdfac", + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 7, + "w": 6, + "h": 3, + "name": "CPU Usage per Container", + "queries": [ + { + "query": "SELECT mean(\"usage_percent\") AS \"Usage per Container\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE host = :host: AND time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:), \"container_name\" FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage_percent\") AS \"Usage per Container\" FROM \":db:\".\":rp:\".\"docker_container_cpu\" WHERE host = :host: AND time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:), \"container_name\" FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["0", ""], + "label": "CPU usage", + "prefix": "", + "suffix": "%", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "de6f0420-0272-47eb-834a-6527022b013f", + "type": "scale", + "hex": "#8F8AF4", + "name": "Do Androids Dream of Electric Sheep?", + "value": "0" + }, + { + "id": "4fd8d7f8-d807-49a2-9599-ae41bd23807b", + "type": "scale", + "hex": "#A51414", + "name": "Do Androids Dream of Electric Sheep?", + "value": "0" + }, + { + "id": "b0215272-2de1-48d0-889e-2c22fc3298a6", + "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": 2 + }, + "note": "To enable this graph, you will need to configure the [Telegraf Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 10, + "w": 6, + "h": 3, + "name": "Memory Usage per Container", + "queries": [ + { + "query": "SELECT mean(\"usage\") AS \"mean_usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage\") AS \"mean_usage\" FROM \":db:\".\":rp:\".\"docker_container_mem\" WHERE host=:host: and time > :dashboardTime: GROUP BY time(:interval:), container_name FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["0", ""], + "label": "Memory", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "a7a38809-10a1-4e4d-a99a-fc05d676d375", + "type": "scale", + "hex": "#FDC44F", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce", + "type": "scale", + "hex": "#007C76", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "10688960-fcdc-4413-aa60-4f494e2cfea3", + "type": "scale", + "hex": "#8983FF", + "name": "Cthulhu", + "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 Docker Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/docker).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 4, + "w": 4, + "h": 3, + "name": "Filesystem usage", + "queries": [ + { + "query": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["0", "100"], + "label": "percentage", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "ef042c27-dd7f-47b1-adfe-5f47aaf3511c", + "type": "scale", + "hex": "#FD7A5D", + "name": "Delorean", + "value": "0" + }, + { + "id": "f62195a7-8be0-4ad7-aa97-aa040e6c1d8d", + "type": "scale", + "hex": "#5F1CF2", + "name": "Delorean", + "value": "0" + }, + { + "id": "a4c3cbc4-601f-47cf-a6ae-76ca0a259125", + "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 Disk Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk).", + "noteVisibility": "showWhenNoData" } ], "templates": [ { "tempVar": ":host:", + "values": [], "id": "", "type": "tagValues", "label": "", - "values": [], "query": { "influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:", "db": "telegraf", diff --git a/protoboards/elasticsearch.json b/protoboards/elasticsearch.json index 4ccecae7b..9129477ff 100644 --- a/protoboards/elasticsearch.json +++ b/protoboards/elasticsearch.json @@ -3,7 +3,7 @@ "meta": { "name": "Elasticsearch", "measurements": ["elasticsearch_indices"], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: Elasticsearch", "author": "influxdata", @@ -19,7 +19,7 @@ "name": "ElasticSearch - Query Throughput", "queries": [ { - "query": "select non_negative_derivative(mean(search_query_total)) as searches_per_min, non_negative_derivative(mean(search_scroll_total)) as scrolls_per_min, non_negative_derivative(mean(search_fetch_total)) as fetches_per_min, non_negative_derivative(mean(search_suggest_total)) as suggests_per_min from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(search_query_total)) AS searches_per_min, non_negative_derivative(mean(search_scroll_total)) AS scrolls_per_min, non_negative_derivative(mean(search_fetch_total)) AS fetches_per_min, non_negative_derivative(mean(search_suggest_total)) AS suggests_per_min FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -56,7 +56,7 @@ "name": "ElasticSearch - Open Connections", "queries": [ { - "query": "select mean(current_open) from elasticsearch_http WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(current_open) FROM \":db:\".\":rp:\".\"elasticsearch_http\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -93,7 +93,7 @@ "name": "ElasticSearch - Query Latency", "queries": [ { - "query": "select non_negative_derivative(mean(search_query_time_in_millis)) as mean, non_negative_derivative(median(search_query_time_in_millis)) as median, non_negative_derivative(percentile(search_query_time_in_millis, 95)) as ninety_fifth from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(search_query_time_in_millis)) AS mean, non_negative_derivative(median(search_query_time_in_millis)) AS median, non_negative_derivative(percentile(search_query_time_in_millis, 95)) AS ninety_fifth FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -130,7 +130,7 @@ "name": "ElasticSearch - Fetch Latency", "queries": [ { - "query": "select non_negative_derivative(mean(search_fetch_time_in_millis)) as mean, non_negative_derivative(median(search_fetch_time_in_millis)) as median, non_negative_derivative(percentile(search_fetch_time_in_millis, 95)) as ninety_fifth from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(search_fetch_time_in_millis)) AS mean, non_negative_derivative(median(search_fetch_time_in_millis)) AS median, non_negative_derivative(percentile(search_fetch_time_in_millis, 95)) AS ninety_fifth FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -167,7 +167,7 @@ "name": "ElasticSearch - Suggest Latency", "queries": [ { - "query": "select non_negative_derivative(mean(search_suggest_time_in_millis)) as mean, non_negative_derivative(median(search_suggest_time_in_millis)) as median, non_negative_derivative(percentile(search_suggest_time_in_millis, 95)) as ninety_fifth from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(search_suggest_time_in_millis)) AS mean, non_negative_derivative(median(search_suggest_time_in_millis)) AS median, non_negative_derivative(percentile(search_suggest_time_in_millis, 95)) AS ninety_fifth FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -204,7 +204,7 @@ "name": "ElasticSearch - Scroll Latency", "queries": [ { - "query": "select non_negative_derivative(mean(search_scroll_time_in_millis)) as mean, non_negative_derivative(median(search_scroll_time_in_millis)) as median, non_negative_derivative(percentile(search_scroll_time_in_millis, 95)) as ninety_fifth from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(search_scroll_time_in_millis)) AS mean, non_negative_derivative(median(search_scroll_time_in_millis)) AS median, non_negative_derivative(percentile(search_scroll_time_in_millis, 95)) AS ninety_fifth FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -241,7 +241,7 @@ "name": "ElasticSearch - Indexing Latency", "queries": [ { - "query": "select non_negative_derivative(mean(indexing_index_time_in_millis)) as mean from elasticsearch_indices WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(indexing_index_time_in_millis)) AS mean FROM \":db:\".\":rp:\".\"elasticsearch_indices\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -278,7 +278,7 @@ "name": "ElasticSearch - JVM GC Collection Counts", "queries": [ { - "query": "select mean(gc_collectors_old_collection_count) as old_count, mean(gc_collectors_young_collection_count) as young_count from elasticsearch_jvm WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(gc_collectors_old_collection_count) AS old_count, mean(gc_collectors_young_collection_count) AS young_count FROM \":db:\".\":rp:\".\"elasticsearch_jvm\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -315,7 +315,7 @@ "name": "ElasticSearch - JVM GC Latency", "queries": [ { - "query": "select non_negative_derivative(mean(gc_collectors_old_collection_time_in_millis)) as mean_old_time, non_negative_derivative(mean(gc_collectors_young_collection_time_in_millis)) as mean_young_time from elasticsearch_jvm WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(gc_collectors_old_collection_time_in_millis)) AS mean_old_time, non_negative_derivative(mean(gc_collectors_young_collection_time_in_millis)) AS mean_young_time FROM \":db:\".\":rp:\".\"elasticsearch_jvm\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -352,7 +352,7 @@ "name": "ElasticSearch - JVM Heap Usage", "queries": [ { - "query": "select mean(mem_heap_used_percent) from elasticsearch_jvm WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(mem_heap_used_percent) FROM \":db:\".\":rp:\".\"elasticsearch_jvm\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", diff --git a/protoboards/influxdb.json b/protoboards/influxdb.json index c4981c61a..feeab3eec 100644 --- a/protoboards/influxdb.json +++ b/protoboards/influxdb.json @@ -1,5 +1,5 @@ { - "id": "83ba46d0-eccc-47e4-a759-e15d717d94b3", + "id": "6e862e3b-f679-4d99-8051-6b885a24a0ea", "meta": { "name": "InfluxDB", "measurements": [ @@ -8,10 +8,10 @@ "influxdb_queryExecutor", "influxdb_write" ], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: InfluxDB", - "author": "influxdata", + "author": "InfluxData", "license": "MIT", "icon": "", "url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb" @@ -19,291 +19,2154 @@ "data": { "cells": [ { - "w": 4, - "h": 4, - "name": "InfluxDB - Cardinality", + "x": 0, + "y": 5, + "w": 2, + "h": 2, + "name": "# Series", "queries": [ { - "query": "SELECT max(\"numMeasurements\") AS \"measurements\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" - }, - { - "query": "SELECT max(\"numSeries\") AS \"series\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT last(\"numSeries\") AS \"mean_numSeries\" FROM \":db:\".\":rp:\".\"influxdb_database\" 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 last(\"numSeries\") AS \"mean_numSeries\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" }, { - "w": 4, - "h": 4, - "name": "InfluxDB - Write HTTP Requests", + "x": 0, + "y": 3, + "w": 2, + "h": 2, + "name": "# Measurements", "queries": [ { - "query": "SELECT non_negative_derivative(max(\"writeReq\")) AS \"http_requests\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "count/s" + "query": "SELECT last(\"numMeasurements\") AS \"mean_numMeasurements\" FROM \":db:\".\":rp:\".\"influxdb_database\" 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 last(\"numMeasurements\") AS \"mean_numMeasurements\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(previous)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { - "prefix": "", - "suffix": "count/s", - "base": "10", - "scale": "linear", + "bounds": ["", ""], "label": "", - "bounds": ["", ""] - }, - "y2": { "prefix": "", "suffix": "", "base": "10", - "scale": "linear", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], "label": "", - "bounds": ["", ""] + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" }, { - "w": 4, - "h": 4, - "name": "InfluxDB - Query Requests", + "x": 0, + "y": 0, + "w": 12, + "h": 1, + "name": "", "queries": [ { - "query": "SELECT non_negative_derivative(max(\"queryReq\")) AS \"query_requests\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "count/s" + "query": "", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { - "prefix": "", - "suffix": "count/s", - "base": "10", - "scale": "linear", + "bounds": ["", ""], "label": "", - "bounds": ["", ""] - }, - "y2": { "prefix": "", "suffix": "", "base": "10", - "scale": "linear", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], "label": "", - "bounds": ["", ""] + "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 InfluxDB instance and includes metrics from the `influxdb_*` measurements populated by the [Telegraf InfluxDB Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "default" }, { + "x": 8, + "y": 4, "w": 4, - "h": 4, - "name": "InfluxDB - Client Failures", + "h": 3, + "name": "Filesystems usage", + "queries": [ + { + "query": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["", ""], + "label": "percentage", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "6e174025-1e66-42d6-affe-626907a59d96", + "type": "scale", + "hex": "#DA6FF1", + "name": "Ectoplasm", + "value": "0" + }, + { + "id": "b3ac1a8e-6fce-4c02-8ee8-f87a15b1f2b8", + "type": "scale", + "hex": "#00717A", + "name": "Ectoplasm", + "value": "0" + }, + { + "id": "68a4b22d-0599-4f34-89ee-c8e4354ad2af", + "type": "scale", + "hex": "#ACFF76", + "name": "Ectoplasm", + "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 `disk` plugin. For more information, please visit the [Telegraf Disk plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 8, + "y": 1, + "w": 4, + "h": 3, + "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": 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(previous)", + "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(previous)", + "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": {}, + "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": 5, + "y": 1, + "w": 3, + "h": 3, + "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": {}, + "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/tree/master/plugins/inputs/net).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 2, + "y": 4, + "w": 6, + "h": 3, + "name": "CPU Utilization %", + "queries": [ + { + "query": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_iowait\") as \"iowait\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_iowait\") as \"iowait\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' 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": "percentage", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "2818d86b-c91e-4d59-b7f4-e5c7212b627e", + "type": "scale", + "hex": "#74D495", + "name": "Atlantis", + "value": "0" + }, + { + "id": "4dfe99ee-4844-417b-ae70-c9af0b3ad826", + "type": "scale", + "hex": "#3F3FBA", + "name": "Atlantis", + "value": "0" + }, + { + "id": "31ea9d9b-c950-4ba5-b3e5-53738b2524c5", + "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 `cpu` plugin. For more information, please visit the [Telegraf CPU plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 2, + "y": 1, + "w": 3, + "h": 3, + "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": {}, + "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": 0, + "y": 2, + "w": 2, + "h": 1, + "name": "nCPU", + "queries": [ + { + "query": "SELECT last(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: fill(previous)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT last(\"n_cpus\") AS \"mean_n_cpus\" FROM \":db:\".\":rp:\".\"system\" WHERE time > :dashboardTime: AND \"host\" = :host: fill(previous)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["", ""], + "label": "Active requests count", + "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": 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": 7, + "w": 4, + "h": 3, + "name": "# Measurements Per DB", + "queries": [ + { + "query": "SELECT last(\"numMeasurements\") AS \"mean_numMeasurements\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:), \"database\" FILL(previous)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT last(\"numMeasurements\") AS \"mean_numMeasurements\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host=:host: AND time > :dashboardTime: GROUP BY time(:interval:), \"database\" 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": "line-stacked", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "2af7ef5d-f0bf-45fd-9d4c-f748fd98e103", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "8a2ffa35-7569-4d6e-93f5-17c8bc22089b", + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 7, + "w": 4, + "h": 3, + "name": "# Series Per DB", + "queries": [ + { + "query": "SELECT last(\"numSeries\") AS \"mean_numSeries\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"database\" FILL(previous)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT last(\"numSeries\") AS \"mean_numSeries\" FROM \":db:\".\":rp:\".\"influxdb_database\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:), \"database\" 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": "line-stacked", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "2af7ef5d-f0bf-45fd-9d4c-f748fd98e103", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "8a2ffa35-7569-4d6e-93f5-17c8bc22089b", + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 8, + "y": 10, + "w": 4, + "h": 3, + "name": "InfluxDB GC activity", + "queries": [ + { + "query": "SELECT non_negative_derivative(mean(\"PauseTotalNs\"),1s)/1000000 AS \"mean_PauseTotalNs\" FROM \":db:\".\":rp:\".\"influxdb_runtime\" 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 non_negative_derivative(mean(\"PauseTotalNs\"),1s)/1000000 AS \"mean_PauseTotalNs\" FROM \":db:\".\":rp:\".\"influxdb_runtime\" 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": ["0", ""], + "label": "", + "prefix": "", + "suffix": " ms", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "aa0bda1f-dc5b-4115-945b-711fd82213af", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "a25ccd78-c3bc-4d89-b2f1-e526dfd300e4", + "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": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 10, + "w": 4, + "h": 3, + "name": "InfluxDB active requests", + "queries": [ + { + "query": "SELECT mean(\"reqActive\") AS \"mean_reqActive\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" 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(\"reqActive\") AS \"mean_reqActive\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" 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": "Active requests count", + "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": "#FD7A5D", + "name": "Delorean", + "value": "0" + }, + { + "id": "94e27abc-a887-4860-b761-c56e64aa4aa2", + "type": "scale", + "hex": "#5F1CF2", + "name": "Delorean", + "value": "0" + }, + { + "id": "727bcd77-2ee2-41ed-8efd-cbdcb99771f5", + "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": false, + "digits": 2 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 10, + "w": 4, + "h": 3, + "name": "InfluxDB - HTTP Requests / Min", + "queries": [ + { + "query": "SELECT non_negative_derivative(mean(\"queryReq\"),1m) AS \"reads\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "label": "count/s", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(mean(\"queryReq\"),1m) AS \"reads\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + }, + { + "query": "SELECT non_negative_derivative(max(\"writeReq\"),1m) AS \"writes\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"writeReq\"),1m) AS \"writes\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "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": "e007a07e-ce79-421c-ba03-ea3ef7e76960", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "aa0bda1f-dc5b-4115-945b-711fd82213af", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "a25ccd78-c3bc-4d89-b2f1-e526dfd300e4", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" + } + ], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": false, + "sortBy": { + "internalName": "", + "displayName": "", + "visible": false + }, + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [], + "timeFormat": "", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 16, + "w": 4, + "h": 3, + "name": "InfluxDB - Client errors", "queries": [ { "query": "SELECT non_negative_derivative(max(\"clientError\")) AS \"client_errors\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "count/s" + "label": "count/s", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"clientError\")) AS \"client_errors\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" }, { - "query": "SELECT non_negative_derivative(max(\"authFail\"), 1s) AS \"auth_fail\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(max(\"authFail\"), 1s) AS \"auth_fail\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"authFail\"), 1s) AS \"auth_fail\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line-stepplot", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "count/s", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } - }, - { - "w": 4, - "h": 4, - "name": "InfluxDB - Query Performance", - "queries": [ + }, + "type": "line-stepplot", + "colors": [ { - "query": "SELECT non_negative_derivative(max(\"queryDurationNs\"), 1s) / 1000000 AS \"duration_ms\" FROM \":db:\".\":rp:\".\"influxdb_queryExecutor\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "ms" + "id": "0c363861-4d13-410d-bab4-1290bd51b42b", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" }, { - "query": "SELECT non_negative_derivative(max(\"queriesExecuted\"), 1s) / 1000000 AS \"queries_executed_ms\" FROM \":db:\".\":rp:\".\"influxdb_queryExecutor\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "ms" + "id": "ac25af5e-24de-4c1d-927a-48e9743b7770", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "5529a81a-7c39-44b2-8cd7-aabf6c4a444b", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" } ], - "type": "line", - "axes": { - "x": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "legend": {}, + "tableOptions": { + "verticalTimeAxis": false, + "sortBy": { + "internalName": "", + "displayName": "", + "visible": false }, - "y": { - "prefix": "", - "suffix": "ms", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - }, - "y2": { - "prefix": "", - "suffix": "", - "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] - } - } + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [], + "timeFormat": "", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" }, { + "x": 4, + "y": 13, "w": 4, - "h": 4, - "name": "InfluxDB - Write Points", + "h": 3, + "name": "InfluxDB - query executor duration", "queries": [ { - "query": "SELECT non_negative_derivative(max(\"pointReq\")) AS \"points_written\" FROM \":db:\".\":rp:\".\"influxdb_write\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "points/s" + "query": "SELECT non_negative_derivative(mean(\"queryDurationNs\"), 1s) / 1000000 AS \"duration_ms\" FROM \":db:\".\":rp:\".\"influxdb_queryExecutor\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(1m)", + "label": "ms", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(mean(\"queryDurationNs\"), 1s) / 1000000 AS \"duration_ms\" FROM \":db:\".\":rp:\".\"influxdb_queryExecutor\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(1m)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { - "prefix": "", - "suffix": "points/s", - "base": "10", - "scale": "linear", + "bounds": ["", ""], "label": "", - "bounds": ["", ""] + "prefix": "", + "suffix": " ms", + "base": "10", + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } + }, + "type": "line", + "colors": [ + { + "id": "e007a07e-ce79-421c-ba03-ea3ef7e76960", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "aa0bda1f-dc5b-4115-945b-711fd82213af", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "a25ccd78-c3bc-4d89-b2f1-e526dfd300e4", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" + } + ], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": false, + "sortBy": { + "internalName": "", + "displayName": "", + "visible": false + }, + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [], + "timeFormat": "", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" }, { + "x": 0, + "y": 13, "w": 4, - "h": 4, + "h": 3, + "name": "InfluxDB - written points / min", + "queries": [ + { + "query": "SELECT non_negative_derivative(max(\"pointReq\"),1m) AS \"points_written\" FROM \":db:\".\":rp:\".\"influxdb_write\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "label": "points/s", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"pointReq\"),1m) AS \"points_written\" FROM \":db:\".\":rp:\".\"influxdb_write\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "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": "e007a07e-ce79-421c-ba03-ea3ef7e76960", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "aa0bda1f-dc5b-4115-945b-711fd82213af", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "a25ccd78-c3bc-4d89-b2f1-e526dfd300e4", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" + } + ], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": false, + "sortBy": { + "internalName": "", + "displayName": "", + "visible": false + }, + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [], + "timeFormat": "", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 8, + "y": 13, + "w": 4, + "h": 3, "name": "InfluxDB - Write Errors", "queries": [ { "query": "SELECT non_negative_derivative(max(\"writeError\")) AS \"shard_write_error\" FROM \":db:\".\":rp:\".\"influxdb_write\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", - "label": "errors/s" + "label": "errors/s", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"writeError\")) AS \"shard_write_error\" FROM \":db:\".\":rp:\".\"influxdb_write\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" }, { - "query": "SELECT non_negative_derivative(max(\"serveError\")) AS \"http_error\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(max(\"serveError\")) AS \"http_error\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(max(\"serveError\")) AS \"http_error\" FROM \":db:\".\":rp:\".\"influxdb_httpd\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "errors/s", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } + }, + "type": "line", + "colors": [ + { + "id": "7c4fee44-244d-499f-af44-44ac3b833326", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "2af7ef5d-f0bf-45fd-9d4c-f748fd98e103", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "8a2ffa35-7569-4d6e-93f5-17c8bc22089b", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" + } + ], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": false, + "sortBy": { + "internalName": "", + "displayName": "", + "visible": false + }, + "wrapping": "", + "fixFirstColumn": false + }, + "fieldOptions": [], + "timeFormat": "", + "decimalPlaces": { + "isEnforced": false, + "digits": 0 + }, + "note": "To enable this graph, you will need to configure the Telegraf `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 8, + "y": 7, + "w": 4, + "h": 3, + "name": "InfluxDB Memory Heap", + "queries": [ + { + "query": "SELECT mean(\"HeapAlloc\") AS \"mean_HeapAlloc\", mean(\"HeapInUse\") AS \"mean_HeapInUse\", mean(\"HeapSys\") AS \"mean_HeapSys\" FROM \":db:\".\":rp:\".\"influxdb_runtime\" 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(\"HeapAlloc\") AS \"mean_HeapAlloc\", mean(\"HeapInUse\") AS \"mean_HeapInUse\", mean(\"HeapSys\") AS \"mean_HeapSys\" FROM \":db:\".\":rp:\".\"influxdb_runtime\" 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": "Memory", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "a7a38809-10a1-4e4d-a99a-fc05d676d375", + "type": "scale", + "hex": "#FDC44F", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "3dd1ce6c-e305-4a41-aa36-e3db28500dce", + "type": "scale", + "hex": "#007C76", + "name": "Cthulhu", + "value": "0" + }, + { + "id": "10688960-fcdc-4413-aa60-4f494e2cfea3", + "type": "scale", + "hex": "#8983FF", + "name": "Cthulhu", + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 16, + "w": 4, + "h": 3, + "name": "# CQ / Minute", + "queries": [ + { + "query": "SELECT non_negative_derivative(mean(/.*/),60s) FROM \":db:\".\":rp:\".\"influxdb_cq\" WHERE \"host\" = :host: AND time > :dashboardTime: GROUP BY host, time(:interval:) fill(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(mean(/.*/),60s) FROM \":db:\".\":rp:\".\"influxdb_cq\" WHERE \"host\" = :host: AND time > :dashboardTime: GROUP BY host, 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": "7c4fee44-244d-499f-af44-44ac3b833326", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "2af7ef5d-f0bf-45fd-9d4c-f748fd98e103", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "8a2ffa35-7569-4d6e-93f5-17c8bc22089b", + "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 `influxdb` plugin. For more information, please visit the [Telegraf InfluxDB plugin documentation](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/influxdb).", + "noteVisibility": "showWhenNoData" } ], "templates": [ { "tempVar": ":host:", + "values": [], "id": "", "type": "tagValues", "label": "", - "values": [], "query": { "influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:", "db": "telegraf", diff --git a/protoboards/ping.json b/protoboards/ping.json index 1fa95d6bc..097f554fb 100644 --- a/protoboards/ping.json +++ b/protoboards/ping.json @@ -3,7 +3,7 @@ "meta": { "name": "Ping", "measurements": ["ping"], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: Ping", "author": "influxdata", @@ -19,7 +19,7 @@ "name": "Ping – Packet Loss Percent", "queries": [ { - "query": "select max(\"percent_packet_loss\") as \"packet_loss\" from ping WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"", + "query": "SELECT max(\"percent_packet_loss\") AS \"packet_loss\" FROM \":db:\".\":rp:\".\"ping\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"", "groupbys": ["\"url\""] } ], @@ -57,7 +57,7 @@ "name": "Ping – Response Times (ms)", "queries": [ { - "query": "select mean(\"average_response_ms\") as \"average\", mean(\"minimum_response_ms\") as \"min\", mean(\"maximum_response_ms\") as \"max\" from ping WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"", + "query": "SELECT mean(\"average_response_ms\") AS \"average\", mean(\"minimum_response_ms\") AS \"min\", mean(\"maximum_response_ms\") AS \"max\" FROM \":db:\".\":rp:\".\"ping\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), \"url\"", "groupbys": ["\"url\""] } ], diff --git a/protoboards/postgresql.json b/protoboards/postgresql.json index aef7ddf20..2bb451066 100644 --- a/protoboards/postgresql.json +++ b/protoboards/postgresql.json @@ -1,12 +1,12 @@ { - "id": "687eec81-426a-4fe4-8183-bd57b8d77a35", + "id": "2e12c68a-f365-431d-b5fb-026225a40a93", "meta": { "name": "PostgreSQL", "measurements": ["postgresql"], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: PostgreSQL", - "author": "influxdata", + "author": "InfluxData", "license": "MIT", "icon": "", "url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postresql" @@ -14,163 +14,1852 @@ "data": { "cells": [ { + "x": 0, + "y": 0, "w": 12, - "h": 4, - "name": "PostgreSQL - Rows", + "h": 1, + "name": "", "queries": [ { - "query": "SELECT non_negative_derivative(mean(\"tup_fetched\")) AS \"fetched\", non_negative_derivative(mean(\"tup_returned\")) AS \"returned\", non_negative_derivative(mean(\"tup_inserted\")) AS \"inserted\", non_negative_derivative(mean(\"tup_updated\")) AS \"updated\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), db", - "groupbys": ["db"] + "query": "", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "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 metrics from PostgreSQL on each host and includes metrics from `postgresql` set of measurements populated by the [Telegraf PostgreSQL Input Plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" }, { - "w": 12, - "h": 4, - "name": "PostgreSQL - QPS", + "x": 0, + "y": 11, + "w": 4, + "h": 3, + "name": "PostgresSQL - Buffers", "queries": [ { - "query": "SELECT non_negative_derivative(mean(\"xact_commit\")) AS \"xact_commit\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:), db", - "groupbys": ["db"] + "query": "SELECT non_negative_derivative(mean(\"buffers_alloc\"),10s) AS \"alloc\", non_negative_derivative(mean(\"buffers_backend\"),10s) AS \"backend\" FROM \":db:\".\":rp:\".\"postgresql\" 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(\"buffers_alloc\"),10s) AS \"alloc\", non_negative_derivative(mean(\"buffers_backend\"),10s) AS \"backend\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE host = :host: AND time > :dashboardTime: GROUP BY time(:interval:) FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "Buffers", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } + }, + "type": "line", + "colors": [ + { + "id": "67e51821-72d5-4a87-8b51-618957008dc5", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "5f0d5602-9e94-4e83-9213-e4631d708a47", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "39e256a5-d314-420e-bdfd-ef711a2053f9", + "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 PostgreSQL Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" }, { + "x": 8, + "y": 11, + "w": 4, + "h": 3, + "name": "Postgres deadlocks/conflicts", + "queries": [ + { + "query": "SELECT mean(\"deadlocks\") AS \"deadlocks\", mean(\"conflicts\") AS \"conflicts\" FROM \":db:\".\":rp:\".\"postgresql\" 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(\"deadlocks\") AS \"deadlocks\", mean(\"conflicts\") AS \"conflicts\" FROM \":db:\".\":rp:\".\"postgresql\" 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": "6bee1ae3-b581-4551-9c20-9adcbf9be2df", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "48b57961-aae3-4192-8507-c2f60e79498b", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "0f5f5e11-9ed3-4baa-a36d-5eb1f123eb6e", + "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 PostgreSQL Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 11, + "w": 4, + "h": 3, + "name": "PostgreSQL commit/rolback per sec", + "queries": [ + { + "query": "SELECT non_negative_derivative(mean(\"xact_commit\"),1s) AS \"commit\", non_negative_derivative(mean(\"xact_rollback\"),1s) AS \"rollback\" FROM \":db:\".\":rp:\".\"postgresql\" 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(\"xact_commit\"),1s) AS \"commit\", non_negative_derivative(mean(\"xact_rollback\"),1s) AS \"rollback\" FROM \":db:\".\":rp:\".\"postgresql\" 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-plus-single-stat", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "48b57961-aae3-4192-8507-c2f60e79498b", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "0f5f5e11-9ed3-4baa-a36d-5eb1f123eb6e", + "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 PostgreSQL Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 8, "w": 6, - "h": 4, - "name": "PostgreSQL - Buffers", + "h": 3, + "name": "PostgreSQL rows in / sec", "queries": [ { - "query": "SELECT mean(\"buffers_alloc\") AS \"buffers_allocated\", mean(\"buffers_backend\") AS \"buffers_backend\", mean(\"buffers_backend_fsync\") AS \"buffers_backend_fsync\", mean(\"buffers_checkpoint\") AS \"buffers_checkpoint\", mean(\"buffers_clean\") AS \"buffers_clean\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(\"tup_inserted\"),1s) AS \"inserted\", non_negative_derivative(mean(\"tup_updated\"),1s) AS \"updated\", non_negative_derivative(mean(\"tup_deleted\")) AS \"deleted\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(mean(\"tup_inserted\"),1s) AS \"inserted\", non_negative_derivative(mean(\"tup_updated\"),1s) AS \"updated\", non_negative_derivative(mean(\"tup_deleted\")) AS \"deleted\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } + }, + "type": "line", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "48b57961-aae3-4192-8507-c2f60e79498b", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "0f5f5e11-9ed3-4baa-a36d-5eb1f123eb6e", + "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 PostgreSQL Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" }, { + "x": 0, + "y": 8, "w": 6, - "h": 4, - "name": "PostgreSQL - Conflicts/Deadlocks", + "h": 3, + "name": "PostgreSQL rows out / sec", "queries": [ { - "query": "SELECT mean(\"conflicts\") AS \"conflicts\", mean(\"deadlocks\") AS \"deadlocks\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(\"tup_fetched\"),1s) AS \"fetched\", non_negative_derivative(mean(\"tup_returned\"),1s) AS \"returned\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE \"host\"=:host: AND time > :dashboardTime: GROUP BY time(:interval:) ", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT non_negative_derivative(mean(\"tup_fetched\"),1s) AS \"fetched\", non_negative_derivative(mean(\"tup_returned\"),1s) AS \"returned\" FROM \":db:\".\":rp:\".\"postgresql\" WHERE \"host\"=:host: AND time > :dashboardTime: GROUP BY time(:interval:) ", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" } ], - "type": "line", "axes": { "x": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" }, "y2": { + "bounds": ["", ""], + "label": "", "prefix": "", "suffix": "", "base": "10", - "scale": "linear", - "label": "", - "bounds": ["", ""] + "scale": "linear" } - } + }, + "type": "line", + "colors": [ + { + "id": "base", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "48b57961-aae3-4192-8507-c2f60e79498b", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "0f5f5e11-9ed3-4baa-a36d-5eb1f123eb6e", + "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 PostgreSQL Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postgresql).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 5, + "w": 3, + "h": 3, + "name": "Processes", + "queries": [ + { + "query": "SELECT mean(\"total\") AS \"mean_total\" FROM \":db:\".\":rp:\".\"processes\" 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(\"total\") AS \"mean_total\" FROM \":db:\".\":rp:\".\"processes\" 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": "processes total", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "base", + "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": {}, + "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 Processes Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/processes).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 3, + "y": 2, + "w": 3, + "h": 3, + "name": "CPU Usage", + "queries": [ + { + "query": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' GROUP BY time(:interval:) FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"usage_system\") AS \"system\", mean(\"usage_user\") as \"user\", mean(\"usage_idle\") as \"idle\" FROM \":db:\".\":rp:\".\"cpu\" WHERE host = :host: and time > :dashboardTime: AND \"cpu\"='cpu-total' 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": "percentage", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line-stacked", + "colors": [ + { + "id": "2818d86b-c91e-4d59-b7f4-e5c7212b627e", + "type": "scale", + "hex": "#74D495", + "name": "Atlantis", + "value": "0" + }, + { + "id": "4dfe99ee-4844-417b-ae70-c9af0b3ad826", + "type": "scale", + "hex": "#3F3FBA", + "name": "Atlantis", + "value": "0" + }, + { + "id": "31ea9d9b-c950-4ba5-b3e5-53738b2524c5", + "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 CPU Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/cpu).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 2, + "w": 3, + "h": 3, + "name": "Filesystems usage", + "queries": [ + { + "query": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "queryConfig": { + "database": "", + "measurement": "", + "retentionPolicy": "", + "fields": [], + "tags": {}, + "groupBy": { + "time": "", + "tags": [] + }, + "areTagsAccepted": false, + "rawText": "SELECT mean(\"used_percent\") AS \"used\" FROM \":db:\".\":rp:\".\"disk\" WHERE time > :dashboardTime: AND \"host\"=:host: GROUP BY time(:interval:), \"path\" FILL(null)", + "range": null, + "shifts": null + }, + "source": "", + "type": "influxql" + } + ], + "axes": { + "x": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y": { + "bounds": ["", ""], + "label": "percentage", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "919f0386-9439-4387-9a51-2a4243d4940d", + "type": "scale", + "hex": "#31C0F6", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "1e7840a4-2fcf-4882-9351-604877a9c432", + "type": "scale", + "hex": "#A500A5", + "name": "Nineteen Eighty Four", + "value": "0" + }, + { + "id": "a4944a5f-30f7-41b5-b1a4-d1b2f316c72b", + "type": "scale", + "hex": "#FF7E27", + "name": "Nineteen Eighty Four", + "value": "0" + } + ], + "legend": {}, + "tableOptions": { + "verticalTimeAxis": true, + "sortBy": { + "internalName": "disk.mean_used_percent", + "displayName": "used", + "visible": true + }, + "wrapping": "truncate", + "fixFirstColumn": false + }, + "fieldOptions": [ + { + "internalName": "time", + "displayName": "", + "visible": false + }, + { + "internalName": "device", + "displayName": "", + "visible": true + }, + { + "internalName": "disk.mean_used_percent", + "displayName": "used", + "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 Disk Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/disk).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 9, + "y": 5, + "w": 3, + "h": 3, + "name": "Swap", + "queries": [ + { + "query": "SELECT mean(\"total\") AS \"total\", mean(\"used\") AS \"used\" FROM \":db:\".\":rp:\".\"swap\" 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(\"total\") AS \"total\", mean(\"used\") AS \"used\" FROM \":db:\".\":rp:\".\"swap\" 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": "swap", + "prefix": "", + "suffix": "", + "base": "2", + "scale": "linear" + }, + "y2": { + "bounds": ["", ""], + "label": "", + "prefix": "", + "suffix": "", + "base": "10", + "scale": "linear" + } + }, + "type": "line", + "colors": [ + { + "id": "base", + "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 Swap Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/swap).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 4, + "y": 1, + "w": 2, + "h": 1, + "name": "System Load", + "queries": [ + { + "query": "SELECT mean(\"load1\") AS \"mean_load1\" FROM \":db:\".\":rp:\".\"system\" 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(\"load1\") AS \"mean_load1\" FROM \":db:\".\":rp:\".\"system\" 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": "Load", + "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": true, + "digits": 2 + }, + "note": "To enable this graph, you will need to configure the [Telegraf System Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 3, + "y": 5, + "w": 3, + "h": 3, + "name": "Network", + "queries": [ + { + "query": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"recieved\", 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 \"recieved\", 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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/net).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 1, + "w": 3, + "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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/mem).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 0, + "y": 5, + "w": 3, + "h": 3, + "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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/diskio).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 6, + "y": 2, + "w": 3, + "h": 3, + "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 Input plugin](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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", + "noteVisibility": "showWhenNoData" + }, + { + "x": 9, + "y": 1, + "w": 3, + "h": 4, + "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 Input plugin](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 Input plugin](https://github.com/influxdata/telegraf/tree/master/plugins/inputs/system).", + "noteVisibility": "showWhenNoData" } ], "templates": [ { "tempVar": ":host:", + "values": [], "id": "", "type": "tagValues", "label": "", - "values": [], "query": { "influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:", "db": "telegraf", diff --git a/protoboards/rabbitmq.json b/protoboards/rabbitmq.json index 8feec39f9..06f0f6f8e 100644 --- a/protoboards/rabbitmq.json +++ b/protoboards/rabbitmq.json @@ -3,7 +3,7 @@ "meta": { "name": "RabbitMQ", "measurements": ["rabbitmq_node"], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: RabbitMQ", "author": "influxdata", @@ -19,13 +19,13 @@ "name": "RabbitMQ - Overview", "queries": [ { - "query": "select mean(\"consumers\") AS \"consumers\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(\"consumers\") AS \"consumers\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" }, { - "query": "select mean(\"exchanges\") AS \"exchanges\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(\"exchanges\") AS \"exchanges\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" }, { - "query": "select mean(\"queues\") AS \"queues\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT mean(\"queues\") AS \"queues\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -62,10 +62,10 @@ "name": "RabbitMQ - Published/Delivered per second", "queries": [ { - "query": "select derivative(mean(\"messages_published\"), 1s) AS \"published_per_sec\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT derivative(mean(\"messages_published\"), 1s) AS \"published_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" }, { - "query": "select derivative(mean(\"messages_delivered\"), 1s) AS \"delivered_per_sec\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT derivative(mean(\"messages_delivered\"), 1s) AS \"delivered_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", @@ -102,10 +102,10 @@ "name": "RabbitMQ - Acked/Unacked per second", "queries": [ { - "query": "select derivative(mean(\"messages_acked\"), 1s) AS \"acked_per_sec\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT derivative(mean(\"messages_acked\"), 1s) AS \"acked_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" }, { - "query": "select derivative(mean(\"messages_unacked\"), 1s) AS \"unacked_per_sec\" from rabbitmq_overview WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT derivative(mean(\"messages_unacked\"), 1s) AS \"unacked_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line", diff --git a/protoboards/varnish.json b/protoboards/varnish.json index 52bed9d1e..8f427f433 100644 --- a/protoboards/varnish.json +++ b/protoboards/varnish.json @@ -3,7 +3,7 @@ "meta": { "name": "Varnish", "measurements": ["varnish"], - "version": "1.0", + "version": "1.1", "dashboardVersion": "1.x", "description": "Dashboard for the telegraf input plug-in: Varnish", "author": "influxdata", @@ -19,7 +19,7 @@ "name": "Varnish - Cache Hits/Misses", "queries": [ { - "query": "select non_negative_derivative(mean(cache_hit)) as hits, non_negative_derivative(mean(cache_miss)) as misses from varnish WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" + "query": "SELECT non_negative_derivative(mean(cache_hit)) AS hits, non_negative_derivative(mean(cache_miss)) AS misses FROM \":db:\".\":rp:\".\"varnish\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)" } ], "type": "line",