Merge pull request #506 from influxdata/cleanup/templates_cleanup
Cleanup and aggregates of templatespull/514/head
commit
29ee999958
|
@ -9,10 +9,10 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "0246e457-916b-43e3-be99-211c4cbc03e8",
|
||||
"name": "Apache bytes/s",
|
||||
"name": "Apache Bytes/Second",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select mean(\"BytesPerSec\") AS \"bytes_per_sec\" from apache",
|
||||
"query": "SELECT mean(\"BytesPerSec\") AS \"bytes_per_sec\" FROM apache",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
|
@ -28,10 +28,10 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "37f2e4bb-9fa5-4891-a424-9df5ce7458bb",
|
||||
"name": "Apache requests/s",
|
||||
"name": "Apache - Requests/Second",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select mean(\"ReqPerSec\") as req_per_sec from apache",
|
||||
"query": "SELECT mean(\"ReqPerSec\") AS \"req_per_sec\" FROM apache",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
|
@ -47,10 +47,10 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "ea9174b3-2b56-4e80-a37d-064507c6775a",
|
||||
"name": "Apache total accesses",
|
||||
"name": "Apache - Total Accesses",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select mean(\"TotalAccesses\") as tot_access from apache",
|
||||
"query": "SELECT mean(\"TotalAccesses\") AS \"tot_access\" FROM apache",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "5825a4dd-df97-4e99-a99d-67b68833c183",
|
||||
"name": "Disk used %",
|
||||
"name": "System - Disk used %",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select mean(\"used_percent\") AS \"used_percent\" from disk",
|
||||
"query": "SELECT mean(\"used_percent\") AS \"used_percent\" FROM disk",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"id": "543aa120-14ba-46a2-8ef9-6e6c7be3d60e",
|
||||
"id": "543aa120-14ba-46a2-8ef9-6e6c7be3d600",
|
||||
"measurement": "influxdb_database",
|
||||
"app": "influxdb",
|
||||
"cells": [
|
||||
|
@ -22,7 +22,7 @@
|
|||
{
|
||||
"query": "SELECT max(\"numSeries\") AS \"series\" FROM \"influxdb_database\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"writeReq\"), 1s) AS \"http_requests\" FROM \"influxdb_httpd\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -32,7 +32,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"queryReq\"), 1s) AS \"query_requests\" FROM \"influxdb_httpd\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -50,7 +50,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"clientError\"), 1s) AS \"client_errors\" FROM \"influxdb_httpd\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -58,7 +58,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"authFail\"), 1s) AS \"auth_fail\" FROM \"influxdb_httpd\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"queryDurationNs\"), 1s) AS \"duration\" FROM \"influxdb_queryExecutor\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -22,7 +22,7 @@
|
|||
{
|
||||
"query": "SELECT non_negative_derivative(max(\"queriesExecuted\"), 1s) AS \"queries_executed\" FROM \"influxdb_queryExecutor\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
],
|
||||
"wheres": []
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "5f406919-14b8-4c01-b0ce-f8ed75310805",
|
||||
"name": "K8s node millicores",
|
||||
"name": "K8s - Node Millicores",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"cpu_usage_nanocores\" / 1000000 as cpu_usage_millicores from kubernetes_node",
|
||||
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM kubernetes_node",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"node_name\""
|
||||
],
|
||||
|
@ -28,12 +28,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "042d47cc-fcfd-4b26-a690-d81c0321d408",
|
||||
"name": "K8s node memory bytes",
|
||||
"name": "K8s - Node Memory Bytes",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"memory_usage_bytes\" from kubernetes_node",
|
||||
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM kubernetes_node",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"node_name\""
|
||||
],
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "e2427235-c81b-42a1-afdf-80d340fc01f8",
|
||||
"name": "K8s pod millicores",
|
||||
"name": "K8s - Pod Millicores",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"cpu_usage_nanocores\" / 1000000 as cpu_usage_millicores from kubernetes_pod_container",
|
||||
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM kubernetes_pod_container",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"pod_name\""
|
||||
],
|
||||
|
@ -28,12 +28,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "6edb8c61-f723-47ce-a7eb-904fc6fe066e",
|
||||
"name": "K8s pod memory bytes",
|
||||
"name": "K8s - Pod Memory Bytes",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"memory_usage_bytes\" from kubernetes_pod_container",
|
||||
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM kubernetes_pod_container",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"pod_name\""
|
||||
],
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "0e06ddcd-05dd-493f-9dba-a382300a7190",
|
||||
"name": "K8s pod TX bytes/second",
|
||||
"name": "K8s - Pod TX Bytes/Second",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(\"tx_bytes\") as tx_bytes_per_second from kubernetes_pod_network",
|
||||
"query": "SELECT non_negative_derivative(\"tx_bytes\") AS \"tx_bytes_per_second\" FROM kubernetes_pod_network",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"pod_name\"",
|
||||
"\"host\""
|
||||
|
@ -29,12 +29,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "cc062b4c-70ca-4bd7-b372-398e734feb49",
|
||||
"name": "K8s pod RX bytes/second ",
|
||||
"name": "K8s - Pod RX Bytes/Second ",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(\"rx_bytes\") as rx_bytes_per_second from kubernetes_pod_network",
|
||||
"query": "SELECT non_negative_derivative(\"rx_bytes\") AS \"rx_bytes_per_second\" FROM kubernetes_pod_network",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"pod_name\"",
|
||||
"\"host\""
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "64cf0f60-e157-4c03-9d7e-c280a7e2695f",
|
||||
"name": "K8s Kubelet millicores",
|
||||
"name": "K8s - Kubelet Millicores",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"cpu_usage_nanocores\" / 1000000 as cpu_usage_millicores from kubernetes_system_container",
|
||||
"query": "SELECT mean(\"cpu_usage_nanocores\") / 1000000 AS \"cpu_usage_millicores\" FROM kubernetes_system_container",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": [
|
||||
"\"container_name\" = 'kubelet'"
|
||||
|
@ -28,12 +28,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "4a7454d1-4d60-4077-9e7b-8c915a00fe66",
|
||||
"name": "K8s Kubelet memory bytes",
|
||||
"name": "K8s - Kubelet Memory Bytes",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select \"memory_usage_bytes\" from kubernetes_system_container",
|
||||
"query": "SELECT mean(\"memory_usage_bytes\") AS \"memory_usage_bytes\" FROM kubernetes_system_container",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": [
|
||||
"\"container_name\" = 'kubelet'"
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
"name": "System Load",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT mean(\"load1\") FROM \"telegraf\"..\"system\"",
|
||||
"query": "SELECT mean(\"load1\") AS \"load\" FROM \"telegraf\"..\"system\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "e6e5063c-43d5-409b-a0ab-68da51ed3f28",
|
||||
"name": "Memory bytes used",
|
||||
"name": "System - Memory Bytes Used",
|
||||
"queries": [
|
||||
{
|
||||
"query": "SELECT mean(\"used\"), mean(\"available\") FROM \"telegraf\"..\"mem\"",
|
||||
"query": "SELECT mean(\"used\") AS \"used\", mean(\"available\") AS \"available\" FROM \"telegraf\"..\"mem\"",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "cf5d0608-b513-4244-a55f-accf520da3a1",
|
||||
"name": "Open sockets",
|
||||
"name": "System - Open Sockets",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select tcp_established from netstat",
|
||||
"query": "SELECT mean(\"tcp_established\") AS \"tcp_established\" FROM netstat",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
},
|
||||
{
|
||||
"query": "select udp_socket from netstat",
|
||||
"query": "SELECT mean(\"udp_socket\") AS \"udp_socket\" FROM netstat",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
@ -33,19 +33,19 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "63503235-a588-49a7-ae0a-fb015c888e5b",
|
||||
"name": "Sockets created/second ",
|
||||
"name": "System - Sockets Created/Second ",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select derivative(\"tcp_established\") from netstat",
|
||||
"query": "SELECT non_negative_derivative(max(\"tcp_established\")) AS \"tcp_established\" FROM netstat",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
},
|
||||
{
|
||||
"query": "select derivative(\"udp_socket\") from netstat",
|
||||
"query": "SELECT non_negative_derivative(max(\"udp_socket\")) AS \"udp_socket\" FROM netstat",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ cat > $APP_FILE << EOF
|
|||
"queries": [{
|
||||
"query": "select used_percent from disk",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}]
|
||||
|
|
|
@ -9,14 +9,13 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "a209be7f-33c6-4612-88b2-848ae402c66a",
|
||||
"name": "NGINX – Client connections",
|
||||
"name": "NGINX – Client Connections",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(max(\"accepts\"), 1s) as \"accepts\", non_negative_derivative(max(\"handled\"), 1s) as \"handled\", non_negative_derivative(max(\"active\"), 1s) as \"active\" from nginx",
|
||||
"query": "SELECT non_negative_derivative(max(\"accepts\"), 1s) AS \"accepts\", non_negative_derivative(max(\"handled\"), 1s) AS \"handled\", non_negative_derivative(max(\"active\"), 1s) AS \"active\" FROM nginx",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(10s)",
|
||||
"\"server\""
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -29,14 +28,13 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "0fc591ad-8541-4de3-a36e-4ae69ff954c4",
|
||||
"name": "NGINX – Client errors",
|
||||
"name": "NGINX – Client Errors",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(max(\"accepts\")) - non_negative_derivative(max(\"handled\")) from nginx",
|
||||
"query": "SELECT non_negative_derivative(max(\"accepts\")) - non_negative_derivative(max(\"handled\")) FROM nginx",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(10s)",
|
||||
"\"server\""
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -49,14 +47,13 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "a1f37574-b86e-4278-8acc-ba78d3ac2e4e",
|
||||
"name": "NGINX – Client requests",
|
||||
"name": "NGINX – Client Requests",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(max(\"requests\"), 1s) as \"requests\" from nginx",
|
||||
"query": "SELECT non_negative_derivative(max(\"requests\"), 1s) AS \"requests\" FROM nginx",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(10s)",
|
||||
"\"server\""
|
||||
],
|
||||
"wheres": []
|
||||
|
@ -69,14 +66,13 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "5b91c5b0-d270-4d03-aeae-007f2351c80c",
|
||||
"name": "NGINX – Active Client state",
|
||||
"name": "NGINX – Active Client State",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(max(\"waiting\"), 1s) as \"waiting\", non_negative_derivative(max(\"reading\"), 1s) as \"reading\", non_negative_derivative(max(\"writing\"), 1s) as \"writing\" from nginx",
|
||||
"query": "SELECT non_negative_derivative(max(\"waiting\"), 1s) AS \"waiting\", non_negative_derivative(max(\"reading\"), 1s) AS \"reading\", non_negative_derivative(max(\"writing\"), 1s) AS \"writing\" FROM nginx",
|
||||
"db": "telegraf",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(10s)",
|
||||
"\"server\""
|
||||
],
|
||||
"wheres": []
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "89dad9c8-3391-400e-a44a-b5d4a2c53bf1",
|
||||
"name": "NSQ channel client count",
|
||||
"name": "NSQ - Channel Client Count",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select client_count from nsq_channel",
|
||||
"query": "SELECT mean(\"client_count\") AS \"client_count\" FROM nsq_channel",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\"",
|
||||
"\"channel\""
|
||||
|
@ -29,12 +29,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "e3eb48c0-8283-4445-b174-f4f8e4182e45",
|
||||
"name": "NSQ channel messages count",
|
||||
"name": "NSQ - Channel Messages Count",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select message_count from nsq_channel",
|
||||
"query": "SELECT mean(\"message_count\") AS \"message_count\" FROM nsq_channel",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\"",
|
||||
"\"channel\""
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "c376a3d8-cd2a-4212-bf1d-da776b75feeb",
|
||||
"name": "NSQ topic count",
|
||||
"name": "NSQ - Topic Count",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select topic_count from nsq_server",
|
||||
"query": "SELECT mean(\"topic_count\") AS \"topic_count\" FROM nsq_server",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
@ -26,12 +26,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "aa1aa20a-48aa-4a42-aaa0-426aa6a58aa8",
|
||||
"name": "NSQ server count",
|
||||
"name": "NSQ - Server Count",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select server_count from nsq_server",
|
||||
"query": "SELECT mean(\"server_count\") AS \"server_count\" FROM nsq_server",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "f07967cb-2c2a-41cb-8420-f041f46b0635",
|
||||
"name": "NSQ topic messages",
|
||||
"name": "NSQ - Topic Messages",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select depth from nsq_topic",
|
||||
"query": "SELECT mean(\"depth\") AS \"depth\" FROM nsq_topic",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\""
|
||||
],
|
||||
|
@ -28,12 +28,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "912f337b-3af2-42af-9352-b31a5bc3b431",
|
||||
"name": "NSQ topic messages on disk",
|
||||
"name": "NSQ - Topic Messages on Disk",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select backend_depth from nsq_topic",
|
||||
"query": "SELECT mean(\"backend_depth\") AS \"backend_depth\" FROM nsq_topic",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\""
|
||||
],
|
||||
|
@ -47,12 +47,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "06909f21-f035-4668-8193-8e06a018accb",
|
||||
"name": "NSQ topic ingress",
|
||||
"name": "NSQ - Topic Ingress",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select derivative(\"message_count\") as messages_per_second from nsq_topic",
|
||||
"query": "SELECT non_negative_derivative(max(\"message_count\")) AS \"messages_per_second\" FROM nsq_topic",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\"",
|
||||
"\"host\""
|
||||
|
@ -70,9 +70,9 @@
|
|||
"name": "NSQ topic egress",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select derivative(\"message_count\") - derivative(\"depth\") as messages_per_second from nsq_topic",
|
||||
"query": "SELECT non_negative_derivative(max(\"message_count\")) - non_negative_derivative(max(\"depth\")) AS \"messages_per_second\" FROM nsq_topic",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"\"topic\"",
|
||||
"\"host\""
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 12,
|
||||
"h": 4,
|
||||
"i": "b417bc9f-b16d-4691-91a7-85adfdd3e8ec",
|
||||
"name": "PostgreSQL Rows",
|
||||
"name": "PostgreSQL - Rows",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(tup_fetched) as fetched, non_negative_derivative(tup_returned) as returned, non_negative_derivative(tup_inserted) as inserted, non_negative_derivative(tup_updated) as updated from postgresql",
|
||||
"query": "SELECT non_negative_derivative(\"tup_fetched\") AS \"fetched\", non_negative_derivative(\"tup_returned\") AS \"returned\", non_negative_derivative(\"tup_inserted\") AS \"inserted\", non_negative_derivative(\"tup_updated\") AS \"updated\" FROM postgresql",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"db"
|
||||
],
|
||||
|
@ -28,12 +28,12 @@
|
|||
"w": 12,
|
||||
"h": 4,
|
||||
"i": "230d5baa-9376-438c-9a55-6f97f8c68e69",
|
||||
"name": "PostgreSQL QPS",
|
||||
"name": "PostgreSQL - QPS",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(xact_commit) as xact_commit from postgresql",
|
||||
"query": "SELECT non_negative_derivative(\"xact_commit\") AS \"xact_commit\" FROM postgresql",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"db"
|
||||
],
|
||||
|
@ -47,14 +47,13 @@
|
|||
"w": 6,
|
||||
"h": 4,
|
||||
"i": "4762130d-7005-467f-80ad-8c7f6dfe822e",
|
||||
"name": "PostgreSQL Buffers",
|
||||
"name": "PostgreSQL - Buffers",
|
||||
"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 postgresql",
|
||||
"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 postgresql",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(1m)"
|
||||
],
|
||||
"wheres": []
|
||||
}
|
||||
|
@ -66,14 +65,13 @@
|
|||
"w": 6,
|
||||
"h": 4,
|
||||
"i": "95e73bda-7527-4aca-89dd-109cb6bb4294",
|
||||
"name": "PostgreSQL Conflicts/Deadlocks",
|
||||
"name": "PostgreSQL - Conflicts/Deadlocks",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select mean(conflicts) as conflicts, mean(deadlocks) as deadlocks from postgresql",
|
||||
"query": "SELECT mean(\"conflicts\") AS \"conflicts\", mean(\"deadlocks\") AS \"deadlocks\" FROM postgresql",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [
|
||||
"time(1m)"
|
||||
],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "84048146-f93d-4d6c-b7dd-c8e2a68abb27",
|
||||
"name": "Total Processes",
|
||||
"name": "System - Total Processes",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select total from processes",
|
||||
"query": "SELECT mean(\"total\") AS \"total\" FROM processes",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
"name": "Redis - Connected Clients",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select clients from redis",
|
||||
"query": "SELECT mean(\"clients\") AS \"clients\" FROM redis",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": []
|
||||
}
|
||||
]
|
||||
|
@ -28,9 +28,9 @@
|
|||
"name": "Redis - Blocked Clients",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select blocked_clients from redis",
|
||||
"query": "SELECT mean(\"blocked_clients\") AS \"blocked_clients\" FROM redis",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": []
|
||||
}
|
||||
]
|
||||
|
@ -44,9 +44,9 @@
|
|||
"name": "Redis - CPU",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(\"used_cpu_user\") as used_cpu_per_second from redis",
|
||||
"query": "SELECT non_negative_derivative(max(\"used_cpu_user\")) AS \"used_cpu_per_second\" FROM redis",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": []
|
||||
}
|
||||
]
|
||||
|
@ -60,9 +60,9 @@
|
|||
"name": "Redis - Memory",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select non_negative_derivative(\"used_memory\") as used_memory_per_second from redis",
|
||||
"query": "SELECT non_negative_derivative(max(\"used_memory\")) AS \"used_memory_per_second\" FROM redis",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": []
|
||||
}
|
||||
]
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "6921e19a-951e-42ef-b304-2b8b661fcc81",
|
||||
"name": "CPU Usage",
|
||||
"name": "System - CPU Usage",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Percent_Processor_Time from win_cpu",
|
||||
"query": "SELECT mean(\"Percent_Processor_Time\") AS \"percent_processor_time\" FROM win_cpu",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "1c275ca5-84a7-4146-9cf0-8ed654abb627",
|
||||
"name": "Available bytes",
|
||||
"name": "System - Available Bytes",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Available_Bytes from win_mem",
|
||||
"query": "SELECT mean(\"Available_Bytes\") AS \"available_bytes\" FROM win_mem",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "3bf8c678-5904-46e7-9c9f-d0d16f0c3fc4",
|
||||
"name": "TX bytes/second",
|
||||
"name": "System - TX Bytes/Second",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Bytes_Sent_persec from win_net",
|
||||
"query": "SELECT mean(\"Bytes_Sent_persec\") AS \"bytes_sent\" FROM win_net",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
@ -26,12 +26,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "46963ea2-b09b-4dcf-b08b-7cbcd8766f77",
|
||||
"name": "RX bytes/second",
|
||||
"name": "RX Bytes/Second",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Bytes_Received_persec from win_net",
|
||||
"query": "SELECT mean(\"Bytes_Received_persec\") AS \"bytes_received\" FROM win_net",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "d959c815-16a8-4a2b-a6ea-e37af38d4e2f",
|
||||
"name": "System Load",
|
||||
"name": "System - Load",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Processor_Queue_Length from win_system",
|
||||
"query": "SELECT mean(\"Processor_Queue_Length\") AS \"load\" FROM win_system",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
|
@ -9,26 +9,26 @@
|
|||
"w": 4,
|
||||
"h": 4,
|
||||
"i": "3539e3c3-ac15-49d3-9de8-64cd514588ca",
|
||||
"name": "Web Service",
|
||||
"name": "IIS - Service",
|
||||
"queries": [
|
||||
{
|
||||
"query": "select Get_Requests_persec from win_websvc",
|
||||
"query": "SELECT mean(\"Get_Requests_persec\") AS \"gets\" FROM win_websvc",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
},
|
||||
{
|
||||
"query": "select Post_Requests_persec from win_websvc",
|
||||
"query": "SELECT mean(\"Post_Requests_persec\") AS \"posts\" FROM win_websvc",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
},
|
||||
{
|
||||
"query": "select Current_Connections from win_websvc",
|
||||
"query": "SELECT mean(\"Current_Connections\") AS \"connections\" FROM win_websvc",
|
||||
"db": "telegraf",
|
||||
"rp": "autogen",
|
||||
"rp": "",
|
||||
"groupbys": [],
|
||||
"wheres": []
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue