Skip to content

Commit 9ccd6d6

Browse files
committed
modify absolute paths of images in readme
1 parent 3eefaa2 commit 9ccd6d6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This plugin provides a data source to connect a REST API to [nodegraph](https://grafana.com/docs/grafana/latest/visualizations/node-graph/) panel of Grafana.
66

7-
![Graph Example](https://github.com/hoptical/nodegraph-api-plugin/blob/f447b74ecefd827b388e791a34792730e9a9a11d/src/img/graph-example.png)
7+
![Graph Example](https://raw.githubusercontent.com/hoptical/nodegraph-api-plugin/f447b74ecefd827b388e791a34792730e9a9a11d/src/img/graph-example.png)
88

99
## Getting started
1010

@@ -24,7 +24,7 @@ for example, if you are using Grafana with containers, add:
2424

2525
> Note: The browser should have access to the application, not the Grafana server.
2626
27-
![Add Datasource](https://github.com/hoptical/nodegraph-api-plugin/blob/f447b74ecefd827b388e791a34792730e9a9a11d/src/img/add-datasource.png)
27+
![Add Datasource](https://raw.githubusercontent.com/hoptical/nodegraph-api-plugin/f447b74ecefd827b388e791a34792730e9a9a11d/src/img/add-datasource.png)
2828

2929
3. In the Grafana dashboard, pick the Nodegraph panel and visualize the graph.
3030

@@ -179,7 +179,7 @@ The application will be started on `http://localhost:5000`
179179
## Query Configuration
180180
You can pass a query string to apply for the data endpoint of the graph via *Query String*. Like any other query, you can utilize variables too:
181181

182-
![Add Datasource](https://github.com/hoptical/nodegraph-api-plugin/blob/22a1933b1e012602c817817f4583697e25028382/src/img/query-string.png)
182+
![Add Datasource](https://raw.githubusercontent.com/hoptical/nodegraph-api-plugin/22a1933b1e012602c817817f4583697e25028382/src/img/query-string.png)
183183

184184
With variable `$service` defined as `processors`, above query will produce this endpoint:
185185
`/api/graph/data?query=text1&service=processors`

src/plugin.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@
3030
}
3131
],
3232
"screenshots": [
33+
{
34+
"name": "Graph Example",
35+
"path": "img/graph-example.png"
36+
},
3337
{
3438
"name": "Add Datasource",
3539
"path": "img/add-datasource.png"
3640
},
3741
{
38-
"name": "Graph Example",
39-
"path": "img/graph-example.png"
42+
"name": "Query String",
43+
"path": "img/query-string.png"
4044
}
4145
],
4246
"version": "0.4.1",

0 commit comments

Comments
 (0)