From 42ce8ed0b3c0fd8d10a6d5aa128561f37005f1e3 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Wed, 3 May 2017 21:29:39 +0100 Subject: [PATCH] Update Dashboard to match Dockercon demo --- contrib/grafana.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/contrib/grafana.json b/contrib/grafana.json index ddd182f9b..d6fdd09c3 100644 --- a/contrib/grafana.json +++ b/contrib/grafana.json @@ -8,7 +8,7 @@ "hideControls": false, "id": 1, "links": [], - "refresh": false, + "refresh": "5s", "rows": [ { "collapse": false, @@ -43,13 +43,13 @@ "steppedLine": false, "targets": [ { - "expr": "increase ( gateway_function_invocation_total [20s])", + "expr": "rate ( gateway_function_invocation_total [20s])", "interval": "", "intervalFactor": 2, "legendFormat": "{{ function_name }} {{code}}", "metric": "gateway_function_invocation_total", "refId": "A", - "step": 2 + "step": 60 } ], "thresholds": [], @@ -122,7 +122,7 @@ "legendFormat": "{{function_name}} ", "metric": "gateway_service_count", "refId": "A", - "step": 2 + "step": 60 } ], "thresholds": [], @@ -232,7 +232,7 @@ "legendFormat": "", "metric": "gateway_function_invocation_total", "refId": "A", - "step": 10 + "step": 600 } ], "thresholds": "", @@ -246,7 +246,7 @@ "value": "null" } ], - "valueName": "avg" + "valueName": "current" }, { "aliasColors": {}, @@ -282,7 +282,7 @@ "legendFormat": "{{function_name}} ", "metric": "gateway_functions_seconds_sum", "refId": "A", - "step": 2 + "step": 60 } ], "thresholds": [], @@ -336,8 +336,8 @@ "list": [] }, "time": { - "from": "2017-04-14T13:10:23.400Z", - "to": "2017-04-14T13:16:17.753Z" + "from": "now-6h", + "to": "now" }, "timepicker": { "refresh_intervals": [ @@ -366,5 +366,5 @@ }, "timezone": "browser", "title": "FaaS", - "version": 12 + "version": 18 } \ No newline at end of file