-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.json
More file actions
51 lines (51 loc) · 1.38 KB
/
Copy pathexample.json
File metadata and controls
51 lines (51 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"uid": "haystack-example",
"title": "Haystack Example",
"schemaVersion": 39,
"version": 1,
"editable": true,
"tags": [],
"time": { "from": "now-6h", "to": "now" },
"timepicker": {},
"refresh": "",
"panels": [
{
"id": 1,
"type": "timeseries",
"title": "Time Series",
"gridPos": { "x": 0, "y": 0, "w": 12, "h": 8 },
"datasource": { "type": "needleinajaystack-haystack-datasource", "uid": "Haystack" },
"targets": [
{
"refId": "A",
"datasource": { "type": "needleinajaystack-haystack-datasource", "uid": "Haystack" },
"type": "eval",
"eval": "[{ts: now()-1hr, v0: 0}, {ts: now(), v0: 10}].toGrid"
}
]
},
{
"id": 2,
"type": "table",
"title": "Table",
"gridPos": { "x": 12, "y": 0, "w": 12, "h": 8 },
"datasource": { "type": "needleinajaystack-haystack-datasource", "uid": "Haystack" },
"targets": [
{
"refId": "A",
"datasource": { "type": "needleinajaystack-haystack-datasource", "uid": "Haystack" },
"type": "eval",
"eval": "[{name: \"a\", value: 75, temp}, {name: \"b\", value: 5, pressure}].toGrid"
}
]
}
],
"__requires": [
{
"type": "datasource",
"id": "needleinajaystack-haystack-datasource",
"name": "Haystack",
"version": "1.0.0"
}
]
}