From c6a1076e3a7b7859bf15a0e8c92f7b9c91d9b691 Mon Sep 17 00:00:00 2001 From: bergquist Date: Fri, 4 Mar 2016 09:14:25 +0100 Subject: [PATCH] docs(plugins): json formating --- docs/sources/plugins/datasources.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/sources/plugins/datasources.md b/docs/sources/plugins/datasources.md index 92d20417929..9362dfa8fc7 100644 --- a/docs/sources/plugins/datasources.md +++ b/docs/sources/plugins/datasources.md @@ -44,9 +44,10 @@ Request object passed to datasource.query function { "range": { "from": "2015-12-22T03:06:13.851Z", "to": "2015-12-22T06:48:24.137Z" }, "interval": '5s', - "targets": - [ { refId: "B", target: "upper_75" }, - { refId: "A", target: "upper_90" } ], + "targets": [ + { refId: "B", target: "upper_75" }, + { refId: "A", target: "upper_90" } + ], "format": "json", "maxDataPoints": 2495 //decided by the panel }