Skip to content

Commit 520d17e

Browse files
committed
Update docs
1 parent aa20445 commit 520d17e

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@
66
A data source plugin for loading JSON APIs into [Grafana](https://grafana.com).
77

88
![Screenshot](https://raw.githubusercontent.com/marcusolsson/grafana-jsonapi-datasource/master/src/img/screenshot.png)
9+
10+
Extract one or more values from a JSON API using [JSON Path](https://goessner.net/articles/JsonPath/). Each path results in a field in the query result. All fields need to be of the same length.
11+
12+
The field name defaults to the name of the property referenced by the JSON Path but can be set to an **Alias**.
13+
14+
The **Cache Time** determines the time in seconds to save the API response.

src/img/variable.png

719 KB
Loading

src/plugin.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
{
3232
"name": "JSON API",
3333
"path": "img/screenshot.png"
34+
},
35+
{
36+
"name": "Query variable",
37+
"path": "img/variable.png"
3438
}
3539
],
3640
"version": "%VERSION%",

0 commit comments

Comments
 (0)