Skip to content

Commit 607196a

Browse files
Merge pull request #8 from NeedleInAJayStack/feature/screenshots
Feature: Adds screenshots
2 parents 6043581 + 06f0cf9 commit 607196a

File tree

6 files changed

+18
-1
lines changed

6 files changed

+18
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This is a [Grafana](https://grafana.com/grafana/) plugin that supports direct co
55
and supports standard Haystack API operations as well as custom Axon execution, which is supported by
66
[SkySpark](https://skyfoundry.com/product) and [Haxall](https://haxall.io/).
77

8+
![Dashboard Example](src/img/screenshot/dashboard.png)
9+
810
## Installation
911

1012
Long term, the goal is to get this into the Grafana plugin repository. Until then, I must manually sign the plugin

pkg/plugin/datasource.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,8 @@ func dataFrameFromGrid(grid haystack.Grid) (*data.Frame, error) {
332332
case haystack.Marker:
333333
value := "✓"
334334
values = append(values, &value)
335+
case haystack.Null:
336+
values = append(values, nil)
335337
default:
336338
value := val.ToZinc()
337339
values = append(values, &value)

src/img/screenshot/dashboard.png

433 KB
Loading
359 KB
Loading
299 KB
Loading

src/plugin.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,20 @@
1818
"large": "img/project-haystack-logo.png"
1919
},
2020
"links": [],
21-
"screenshots": [],
21+
"screenshots": [
22+
{
23+
"name": "Dashboard",
24+
"src": "img/screenshot/dashboard.png"
25+
},
26+
{
27+
"name": "Query Editor",
28+
"src": "img/screenshot/query-editor.png"
29+
},
30+
{
31+
"name": "Variable Editor",
32+
"src": "img/screenshot/variable-editor.png"
33+
}
34+
],
2235
"version": "%VERSION%",
2336
"updated": "%TODAY%"
2437
},

0 commit comments

Comments
 (0)