Merge pull request #515 from influxdata/fix-k8s-layout-agg

Fix k8s layout to add aggregation function
pull/516/head
Chris Goller 2016-11-11 16:41:51 -06:00 committed by GitHub
commit 2212225857
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
"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(max(\"tx_bytes\")) AS \"tx_bytes_per_second\" FROM kubernetes_pod_network",
"db": "telegraf",
"rp": "",
"groupbys": [
@ -32,7 +32,7 @@
"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(max(\"rx_bytes\")) AS \"rx_bytes_per_second\" FROM kubernetes_pod_network",
"db": "telegraf",
"rp": "",
"groupbys": [