Commit d318c844 by bergquist

docs(plugins): add json formating

parent c21a2101
...@@ -42,13 +42,13 @@ metricFindQuery(options) // used by query editor to get metric suggestions. ...@@ -42,13 +42,13 @@ metricFindQuery(options) // used by query editor to get metric suggestions.
Request object passed to datasource.query function Request object passed to datasource.query function
```json ```json
{ {
range: { from: '2015-12-22T03:06:13.851Z',to: '2015-12-22T06:48:24.137Z' }, "range": { "from": "2015-12-22T03:06:13.851Z", "to": "2015-12-22T06:48:24.137Z" },
interval: '5s', "interval": '5s',
targets: "targets":
[ { refId: 'B', target: 'upper_75' }, [ { refId: "B", target: "upper_75" },
{ refId: 'A', target: 'upper_90' } ], { refId: "A", target: "upper_90" } ],
format: 'json', "format": "json",
maxDataPoints: 2495 //decided by the panel "maxDataPoints": 2495 //decided by the panel
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment