1874 lines
56 KiB
JSON
1874 lines
56 KiB
JSON
{
|
|
"id": "2e12c68a-f365-431d-b5fb-026225a40a93",
|
|
"meta": {
|
|
"name": "PostgreSQL",
|
|
"measurements": ["postgresql"],
|
|
"version": "1.1",
|
|
"dashboardVersion": "1.x",
|
|
"description": "Dashboard for the telegraf input plug-in: PostgreSQL",
|
|
"author": "InfluxData",
|
|
"license": "MIT",
|
|
"icon": "",
|
|
"url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/postresql"
|
|
},
|
|
"data": {
|
|
"cells": [
|
|
{
|
|
"x": 0,
|
|
"y": 0,
|
|
"w": 12,
|
|
"h": 1,
|
|
"name": "",
|
|
"queries": [
|
|
{
|
|
"query": "",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "note",
|
|
"colors": [],
|
|
"legend": {},
|
|
"tableOptions": {
|
|
"verticalTimeAxis": true,
|
|
"sortBy": {
|
|
"internalName": "time",
|
|
"displayName": "",
|
|
"visible": true
|
|
},
|
|
"wrapping": "truncate",
|
|
"fixFirstColumn": true
|
|
},
|
|
"fieldOptions": [
|
|
{
|
|
"internalName": "time",
|
|
"displayName": "",
|
|
"visible": true
|
|
}
|
|
],
|
|
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
|
"decimalPlaces": {
|
|
"isEnforced": true,
|
|
"digits": 2
|
|
},
|
|
"note": "This dashboard gives you an overview of 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"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 11,
|
|
"w": 4,
|
|
"h": 3,
|
|
"name": "PostgresSQL - Buffers",
|
|
"queries": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Buffers",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"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": 3,
|
|
"name": "PostgreSQL rows in / sec",
|
|
"queries": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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": "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": 3,
|
|
"name": "PostgreSQL rows out / sec",
|
|
"queries": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"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": "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 \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"queryConfig": {
|
|
"database": "",
|
|
"measurement": "",
|
|
"retentionPolicy": "",
|
|
"fields": [],
|
|
"tags": {},
|
|
"groupBy": {
|
|
"time": "",
|
|
"tags": []
|
|
},
|
|
"areTagsAccepted": false,
|
|
"rawText": "SELECT non_negative_derivative(max(\"bytes_recv\"), 1s) AS \"received\", non_negative_derivative(max(\"bytes_sent\"), 1s) AS \"sent\" FROM \":db:\".\":rp:\".\"net\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:) FILL(null)",
|
|
"range": null,
|
|
"shifts": null
|
|
},
|
|
"source": "",
|
|
"type": "influxql"
|
|
}
|
|
],
|
|
"axes": {
|
|
"x": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y": {
|
|
"bounds": ["", ""],
|
|
"label": "Network",
|
|
"prefix": "",
|
|
"suffix": "B",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
},
|
|
"y2": {
|
|
"bounds": ["", ""],
|
|
"label": "",
|
|
"prefix": "",
|
|
"suffix": "",
|
|
"base": "10",
|
|
"scale": "linear"
|
|
}
|
|
},
|
|
"type": "line",
|
|
"colors": [
|
|
{
|
|
"id": "a98e3ce0-d794-4a05-9eef-9925caaf2883",
|
|
"type": "scale",
|
|
"hex": "#31C0F6",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "9b56030d-b186-40b9-8d87-c911c962c882",
|
|
"type": "scale",
|
|
"hex": "#A500A5",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"id": "a45aaa88-9e45-4a68-b4e8-61538cb0f023",
|
|
"type": "scale",
|
|
"hex": "#FF7E27",
|
|
"name": "Nineteen Eighty Four",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"legend": {
|
|
"type": "static",
|
|
"orientation": "bottom"
|
|
},
|
|
"tableOptions": {
|
|
"verticalTimeAxis": true,
|
|
"sortBy": {
|
|
"internalName": "time",
|
|
"displayName": "",
|
|
"visible": true
|
|
},
|
|
"wrapping": "truncate",
|
|
"fixFirstColumn": true
|
|
},
|
|
"fieldOptions": [
|
|
{
|
|
"internalName": "time",
|
|
"displayName": "",
|
|
"visible": true
|
|
}
|
|
],
|
|
"timeFormat": "MM/DD/YYYY HH:mm:ss",
|
|
"decimalPlaces": {
|
|
"isEnforced": true,
|
|
"digits": 2
|
|
},
|
|
"note": "To enable this graph, you will need to configure the [Telegraf Net 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": "",
|
|
"query": {
|
|
"influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:",
|
|
"db": "telegraf",
|
|
"measurement": "postgresql",
|
|
"tagKey": "host",
|
|
"fieldKey": ""
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|