You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 7, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ Example `timeserie` response
82
82
```
83
83
84
84
If the metric selected is `"type": "table"`, an example `table` response:
85
-
```json
85
+
```json
86
86
[
87
87
{
88
88
"columns":[
@@ -103,7 +103,7 @@ If the metric selected is `"type": "table"`, an example `table` response:
103
103
### Annotation API
104
104
105
105
The annotation request from the Simple JSON Datasource is a POST request to
106
-
the /annotations endpoint in your datasource. The JSON request body looks like this:
106
+
the `/annotations` endpoint in your datasource. The JSON request body looks like this:
107
107
```javascript
108
108
{
109
109
"range": {
@@ -140,7 +140,7 @@ following format:
140
140
```
141
141
142
142
Note: If the datasource is configured to connect directly to the backend, you
143
-
also need to implement an OPTIONS endpoint at /annotations that responds
143
+
also need to implement an OPTIONS endpoint at `/annotations` that responds
144
144
with the correct CORS headers:
145
145
146
146
```
@@ -203,9 +203,11 @@ The tag values api returns:
203
203
204
204
This plugin requires node 6.10.0
205
205
206
-
`npm install -g yarn`
207
-
`yarn install`
208
-
`npm run build`
206
+
```
207
+
npm install -g yarn
208
+
yarn install
209
+
npm run build
210
+
```
209
211
210
212
### Changelog
211
213
@@ -220,7 +222,7 @@ This plugin requires node 6.10.0
220
222
221
223
1.3.4
222
224
- Adds support for With Credentials (sends grafana cookies with request) when using Direct mode
223
-
- Fix for the typeahead component for metrics dropdown (/search endpoint).
225
+
- Fix for the typeahead component for metrics dropdown (`/search` endpoint).
224
226
225
227
1.3.3
226
228
- Adds support for basic authentication
@@ -240,4 +242,4 @@ This plugin requires node 6.10.0
240
242
NOTE!
241
243
for grafana 2.6 please use [this version](https://github.com/grafana/simple-json-datasource/commit/b78720f6e00c115203d8f4c0e81ccd3c16001f94)
242
244
243
-
Copy the data source you want to /public/app/plugins/datasource/. Then restart grafana-server. The new data source should now be available in the data source type dropdown in the Add Data Source View.
245
+
Copy the data source you want to `/public/app/plugins/datasource/`. Then restart grafana-server. The new data source should now be available in the data source type dropdown in the Add Data Source View.
0 commit comments