From d318c84434f12cbd544b6a17af13f6ea4f9028e8 Mon Sep 17 00:00:00 2001 From: bergquist Date: Fri, 4 Mar 2016 08:47:22 +0100 Subject: [PATCH] docs(plugins): add json formating --- docs/sources/plugins/datasources.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/sources/plugins/datasources.md b/docs/sources/plugins/datasources.md index 2edb8be5231..92d20417929 100644 --- a/docs/sources/plugins/datasources.md +++ b/docs/sources/plugins/datasources.md @@ -42,13 +42,13 @@ metricFindQuery(options) // used by query editor to get metric suggestions. Request object passed to datasource.query function ```json { - 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' } ], - format: 'json', - maxDataPoints: 2495 //decided by the panel + "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" } ], + "format": "json", + "maxDataPoints": 2495 //decided by the panel } ```