@grafana/viz-contract 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/LICENSE +201 -0
- package/README.md +140 -0
- package/fixtures/epoch-range/args.json +14 -0
- package/fixtures/epoch-range/meta.json +4 -0
- package/fixtures/epoch-range/request.json +17 -0
- package/fixtures/epoch-range/response.json +114 -0
- package/fixtures/epoch-range/result.json +252 -0
- package/fixtures/epoch-range/spec.json +141 -0
- package/fixtures/epoch-range/state.json +4 -0
- package/fixtures/error-all-queries-failed/spec.json +45 -0
- package/fixtures/error-all-queries-failed/state.json +8 -0
- package/fixtures/error-invalid-spec/spec.json +25 -0
- package/fixtures/error-invalid-spec/state.json +8 -0
- package/fixtures/error-unsupported-panel-type/spec.json +1372 -0
- package/fixtures/error-unsupported-panel-type/state.json +8 -0
- package/fixtures/error-unsupported-spec-version/spec.json +1372 -0
- package/fixtures/error-unsupported-spec-version/state.json +8 -0
- package/fixtures/hostile-label/args.json +14 -0
- package/fixtures/hostile-label/meta.json +4 -0
- package/fixtures/hostile-label/request.json +17 -0
- package/fixtures/hostile-label/response.json +420 -0
- package/fixtures/hostile-label/result.json +558 -0
- package/fixtures/hostile-label/spec.json +447 -0
- package/fixtures/hostile-label/state.json +4 -0
- package/fixtures/no-data/args.json +14 -0
- package/fixtures/no-data/meta.json +4 -0
- package/fixtures/no-data/request.json +17 -0
- package/fixtures/no-data/response.json +40 -0
- package/fixtures/no-data/result.json +178 -0
- package/fixtures/no-data/spec.json +67 -0
- package/fixtures/no-data/state.json +4 -0
- package/fixtures/partial-error/args.json +20 -0
- package/fixtures/partial-error/meta.json +4 -0
- package/fixtures/partial-error/request.json +28 -0
- package/fixtures/partial-error/response.json +220 -0
- package/fixtures/partial-error/result.json +358 -0
- package/fixtures/partial-error/spec.json +253 -0
- package/fixtures/partial-error/state.json +9 -0
- package/fixtures/pick-annotations-only/args.json +10 -0
- package/fixtures/pick-annotations-only/meta.json +4 -0
- package/fixtures/pick-annotations-only/response.json +41 -0
- package/fixtures/pick-annotations-only/result.json +53 -0
- package/fixtures/pick-categories/args.json +10 -0
- package/fixtures/pick-categories/meta.json +4 -0
- package/fixtures/pick-categories/response.json +58 -0
- package/fixtures/pick-categories/result.json +116 -0
- package/fixtures/pick-empty-result/args.json +10 -0
- package/fixtures/pick-empty-result/meta.json +4 -0
- package/fixtures/pick-empty-result/response.json +11 -0
- package/fixtures/pick-empty-result/result.json +23 -0
- package/fixtures/pick-failed-query-with-frames/args.json +10 -0
- package/fixtures/pick-failed-query-with-frames/meta.json +4 -0
- package/fixtures/pick-failed-query-with-frames/response.json +43 -0
- package/fixtures/pick-failed-query-with-frames/result.json +131 -0
- package/fixtures/pick-few-parts/args.json +10 -0
- package/fixtures/pick-few-parts/meta.json +4 -0
- package/fixtures/pick-few-parts/response.json +40 -0
- package/fixtures/pick-few-parts/result.json +98 -0
- package/fixtures/pick-heatmap-cells/args.json +10 -0
- package/fixtures/pick-heatmap-cells/meta.json +4 -0
- package/fixtures/pick-heatmap-cells/response.json +55 -0
- package/fixtures/pick-heatmap-cells/result.json +143 -0
- package/fixtures/pick-log-lines/args.json +10 -0
- package/fixtures/pick-log-lines/meta.json +4 -0
- package/fixtures/pick-log-lines/response.json +49 -0
- package/fixtures/pick-log-lines/result.json +76 -0
- package/fixtures/pick-no-rows/args.json +10 -0
- package/fixtures/pick-no-rows/meta.json +4 -0
- package/fixtures/pick-no-rows/response.json +32 -0
- package/fixtures/pick-no-rows/result.json +120 -0
- package/fixtures/pick-node-graph/args.json +10 -0
- package/fixtures/pick-node-graph/meta.json +4 -0
- package/fixtures/pick-node-graph/response.json +77 -0
- package/fixtures/pick-node-graph/result.json +89 -0
- package/fixtures/pick-numeric-only/args.json +10 -0
- package/fixtures/pick-numeric-only/meta.json +4 -0
- package/fixtures/pick-numeric-only/response.json +40 -0
- package/fixtures/pick-numeric-only/result.json +89 -0
- package/fixtures/pick-single-stat/args.json +10 -0
- package/fixtures/pick-single-stat/meta.json +4 -0
- package/fixtures/pick-single-stat/response.json +29 -0
- package/fixtures/pick-single-stat/result.json +69 -0
- package/fixtures/pick-time-series-instant/args.json +10 -0
- package/fixtures/pick-time-series-instant/meta.json +4 -0
- package/fixtures/pick-time-series-instant/response.json +40 -0
- package/fixtures/pick-time-series-instant/result.json +128 -0
- package/fixtures/pick-time-series-long/args.json +10 -0
- package/fixtures/pick-time-series-long/meta.json +4 -0
- package/fixtures/pick-time-series-long/response.json +61 -0
- package/fixtures/pick-time-series-long/result.json +167 -0
- package/fixtures/pick-time-series-multi-frame/args.json +10 -0
- package/fixtures/pick-time-series-multi-frame/meta.json +4 -0
- package/fixtures/pick-time-series-multi-frame/response.json +74 -0
- package/fixtures/pick-time-series-multi-frame/result.json +162 -0
- package/fixtures/pick-time-series-null-time/args.json +10 -0
- package/fixtures/pick-time-series-null-time/meta.json +4 -0
- package/fixtures/pick-time-series-null-time/response.json +40 -0
- package/fixtures/pick-time-series-null-time/result.json +128 -0
- package/fixtures/pick-time-series-single/args.json +10 -0
- package/fixtures/pick-time-series-single/meta.json +4 -0
- package/fixtures/pick-time-series-single/response.json +40 -0
- package/fixtures/pick-time-series-single/result.json +128 -0
- package/fixtures/pick-time-series-wide/args.json +10 -0
- package/fixtures/pick-time-series-wide/meta.json +4 -0
- package/fixtures/pick-time-series-wide/response.json +61 -0
- package/fixtures/pick-time-series-wide/result.json +149 -0
- package/fixtures/prometheus-line/args.json +14 -0
- package/fixtures/prometheus-line/meta.json +4 -0
- package/fixtures/prometheus-line/request.json +17 -0
- package/fixtures/prometheus-line/response.json +1344 -0
- package/fixtures/prometheus-line/result.json +1483 -0
- package/fixtures/prometheus-line/spec.json +1372 -0
- package/fixtures/prometheus-line/state.json +4 -0
- package/fixtures/smoke-barchart/spec.json +64 -0
- package/fixtures/smoke-barchart/state.json +4 -0
- package/fixtures/smoke-boxplot/spec.json +96 -0
- package/fixtures/smoke-boxplot/state.json +4 -0
- package/fixtures/smoke-bubble/spec.json +229 -0
- package/fixtures/smoke-bubble/state.json +4 -0
- package/fixtures/smoke-candlestick/spec.json +97 -0
- package/fixtures/smoke-candlestick/state.json +4 -0
- package/fixtures/smoke-chord/spec.json +72 -0
- package/fixtures/smoke-chord/state.json +4 -0
- package/fixtures/smoke-funnel/spec.json +62 -0
- package/fixtures/smoke-funnel/state.json +4 -0
- package/fixtures/smoke-geomap/spec.json +76 -0
- package/fixtures/smoke-geomap/state.json +4 -0
- package/fixtures/smoke-heatmap/spec.json +103 -0
- package/fixtures/smoke-heatmap/state.json +4 -0
- package/fixtures/smoke-histogram/spec.json +63 -0
- package/fixtures/smoke-histogram/state.json +4 -0
- package/fixtures/smoke-nodeGraph/spec.json +101 -0
- package/fixtures/smoke-nodeGraph/state.json +4 -0
- package/fixtures/smoke-parallel/spec.json +78 -0
- package/fixtures/smoke-parallel/state.json +4 -0
- package/fixtures/smoke-piechart/spec.json +62 -0
- package/fixtures/smoke-piechart/state.json +4 -0
- package/fixtures/smoke-radar/spec.json +82 -0
- package/fixtures/smoke-radar/state.json +4 -0
- package/fixtures/smoke-sankey/spec.json +72 -0
- package/fixtures/smoke-sankey/state.json +4 -0
- package/fixtures/smoke-state-timeline/spec.json +64 -0
- package/fixtures/smoke-state-timeline/state.json +4 -0
- package/fixtures/smoke-status-history/spec.json +64 -0
- package/fixtures/smoke-status-history/state.json +4 -0
- package/fixtures/smoke-streamgraph/spec.json +229 -0
- package/fixtures/smoke-streamgraph/state.json +4 -0
- package/fixtures/smoke-sunburst/spec.json +72 -0
- package/fixtures/smoke-sunburst/state.json +4 -0
- package/fixtures/smoke-timeseries/spec.json +163 -0
- package/fixtures/smoke-timeseries/state.json +4 -0
- package/fixtures/smoke-treemap/spec.json +72 -0
- package/fixtures/smoke-treemap/state.json +4 -0
- package/fixtures/too-large/args.json +14 -0
- package/fixtures/too-large/meta.json +4 -0
- package/fixtures/type-mismatch/args.json +15 -0
- package/fixtures/type-mismatch/meta.json +4 -0
- package/fixtures/type-mismatch/request.json +17 -0
- package/fixtures/type-mismatch/response.json +1344 -0
- package/fixtures/type-mismatch/result.json +9 -0
- package/package.json +32 -0
- package/registry/chart-types.json +170 -0
- package/registry/constants.json +14 -0
- package/registry/notices.json +40 -0
- package/registry/panel-types.json +14 -0
- package/registry/pick.json +46 -0
- package/registry/states.json +85 -0
- package/renderer-api.d.ts +70 -0
- package/schemas/bundled/query-datasource-args.schema.json +86 -0
- package/schemas/bundled/registry.schema.json +375 -0
- package/schemas/bundled/tool-result.schema.json +245 -0
- package/schemas/bundled/viz-spec.schema.json +261 -0
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": "timeseries",
|
|
3
|
+
"panel": {
|
|
4
|
+
"type": "grafana-echartscartesian-panel",
|
|
5
|
+
"options": {
|
|
6
|
+
"seriesType": "line"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"alternatives": [
|
|
10
|
+
{
|
|
11
|
+
"chart": "barchart",
|
|
12
|
+
"panel": {
|
|
13
|
+
"type": "grafana-echartscartesian-panel",
|
|
14
|
+
"options": {
|
|
15
|
+
"seriesType": "bar"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"chart": "histogram",
|
|
21
|
+
"panel": {
|
|
22
|
+
"type": "grafana-echartscartesian-panel",
|
|
23
|
+
"options": {
|
|
24
|
+
"histogram": true
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"chart": "piechart",
|
|
30
|
+
"panel": {
|
|
31
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
32
|
+
"options": {
|
|
33
|
+
"seriesType": "pie"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"chart": "funnel",
|
|
39
|
+
"panel": {
|
|
40
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
41
|
+
"options": {
|
|
42
|
+
"seriesType": "funnel"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"chart": "heatmap",
|
|
48
|
+
"panel": {
|
|
49
|
+
"type": "grafana-echartsheatmap-panel",
|
|
50
|
+
"options": {}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"chart": "state-timeline",
|
|
55
|
+
"panel": {
|
|
56
|
+
"type": "grafana-echartsstatetimeline-panel",
|
|
57
|
+
"options": {}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"chart": "status-history",
|
|
62
|
+
"panel": {
|
|
63
|
+
"type": "grafana-echartsstatushistory-panel",
|
|
64
|
+
"options": {}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"chart": "streamgraph",
|
|
69
|
+
"panel": {
|
|
70
|
+
"type": "grafana-echartsstream-panel",
|
|
71
|
+
"options": {
|
|
72
|
+
"streamChartType": "river"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"chart": "bubble",
|
|
78
|
+
"panel": {
|
|
79
|
+
"type": "grafana-echartsstream-panel",
|
|
80
|
+
"options": {
|
|
81
|
+
"streamChartType": "bubble"
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"data": {
|
|
87
|
+
"range": {
|
|
88
|
+
"from": 1790349877294,
|
|
89
|
+
"to": 1790353477294
|
|
90
|
+
},
|
|
91
|
+
"capturedAt": 1790353477806,
|
|
92
|
+
"results": {
|
|
93
|
+
"A": {
|
|
94
|
+
"status": 200,
|
|
95
|
+
"frames": [
|
|
96
|
+
{
|
|
97
|
+
"schema": {
|
|
98
|
+
"fields": [
|
|
99
|
+
{
|
|
100
|
+
"name": "time",
|
|
101
|
+
"type": "time"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "value",
|
|
105
|
+
"type": "number"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
"data": {
|
|
110
|
+
"values": [
|
|
111
|
+
[],
|
|
112
|
+
[]
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"results": {
|
|
5
|
+
"A": {
|
|
6
|
+
"status": 200,
|
|
7
|
+
"frames": [
|
|
8
|
+
{
|
|
9
|
+
"schema": {
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "title",
|
|
17
|
+
"type": "string"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"name": "nodes",
|
|
21
|
+
"meta": {
|
|
22
|
+
"preferredVisualisationType": "nodeGraph"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"data": {
|
|
26
|
+
"values": [
|
|
27
|
+
[
|
|
28
|
+
"a",
|
|
29
|
+
"b"
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
"A",
|
|
33
|
+
"B"
|
|
34
|
+
]
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"schema": {
|
|
40
|
+
"fields": [
|
|
41
|
+
{
|
|
42
|
+
"name": "id",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "source",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "target",
|
|
51
|
+
"type": "string"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "edges",
|
|
55
|
+
"meta": {
|
|
56
|
+
"preferredVisualisationType": "nodeGraph"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"data": {
|
|
60
|
+
"values": [
|
|
61
|
+
[
|
|
62
|
+
"a-b"
|
|
63
|
+
],
|
|
64
|
+
[
|
|
65
|
+
"a"
|
|
66
|
+
],
|
|
67
|
+
[
|
|
68
|
+
"b"
|
|
69
|
+
]
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": "nodeGraph",
|
|
3
|
+
"panel": {
|
|
4
|
+
"type": "grafana-relations-panel",
|
|
5
|
+
"options": {
|
|
6
|
+
"seriesType": "graph"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"alternatives": [],
|
|
10
|
+
"data": {
|
|
11
|
+
"range": {
|
|
12
|
+
"from": 1790349877294,
|
|
13
|
+
"to": 1790353477294
|
|
14
|
+
},
|
|
15
|
+
"capturedAt": 1790353477806,
|
|
16
|
+
"results": {
|
|
17
|
+
"A": {
|
|
18
|
+
"status": 200,
|
|
19
|
+
"frames": [
|
|
20
|
+
{
|
|
21
|
+
"schema": {
|
|
22
|
+
"fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "title",
|
|
29
|
+
"type": "string"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"name": "nodes",
|
|
33
|
+
"meta": {
|
|
34
|
+
"preferredVisualisationType": "nodeGraph"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"data": {
|
|
38
|
+
"values": [
|
|
39
|
+
[
|
|
40
|
+
"a",
|
|
41
|
+
"b"
|
|
42
|
+
],
|
|
43
|
+
[
|
|
44
|
+
"A",
|
|
45
|
+
"B"
|
|
46
|
+
]
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"schema": {
|
|
52
|
+
"fields": [
|
|
53
|
+
{
|
|
54
|
+
"name": "id",
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "source",
|
|
59
|
+
"type": "string"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "target",
|
|
63
|
+
"type": "string"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"name": "edges",
|
|
67
|
+
"meta": {
|
|
68
|
+
"preferredVisualisationType": "nodeGraph"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"data": {
|
|
72
|
+
"values": [
|
|
73
|
+
[
|
|
74
|
+
"a-b"
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
"a"
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
"b"
|
|
81
|
+
]
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"results": {
|
|
5
|
+
"A": {
|
|
6
|
+
"status": 200,
|
|
7
|
+
"frames": [
|
|
8
|
+
{
|
|
9
|
+
"schema": {
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"name": "a",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "b",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"data": {
|
|
22
|
+
"values": [
|
|
23
|
+
[
|
|
24
|
+
1,
|
|
25
|
+
2,
|
|
26
|
+
3
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
4,
|
|
30
|
+
5,
|
|
31
|
+
6
|
|
32
|
+
]
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": "barchart",
|
|
3
|
+
"panel": {
|
|
4
|
+
"type": "grafana-echartscartesian-panel",
|
|
5
|
+
"options": {
|
|
6
|
+
"seriesType": "bar"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"alternatives": [
|
|
10
|
+
{
|
|
11
|
+
"chart": "histogram",
|
|
12
|
+
"panel": {
|
|
13
|
+
"type": "grafana-echartscartesian-panel",
|
|
14
|
+
"options": {
|
|
15
|
+
"histogram": true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"chart": "piechart",
|
|
21
|
+
"panel": {
|
|
22
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
23
|
+
"options": {
|
|
24
|
+
"seriesType": "pie"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"chart": "funnel",
|
|
30
|
+
"panel": {
|
|
31
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
32
|
+
"options": {
|
|
33
|
+
"seriesType": "funnel"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"chart": "parallel",
|
|
39
|
+
"panel": {
|
|
40
|
+
"type": "grafana-echartsmultivariate-panel",
|
|
41
|
+
"options": {
|
|
42
|
+
"seriesType": "parallel"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"data": {
|
|
48
|
+
"range": {
|
|
49
|
+
"from": 1790349877294,
|
|
50
|
+
"to": 1790353477294
|
|
51
|
+
},
|
|
52
|
+
"capturedAt": 1790353477806,
|
|
53
|
+
"results": {
|
|
54
|
+
"A": {
|
|
55
|
+
"status": 200,
|
|
56
|
+
"frames": [
|
|
57
|
+
{
|
|
58
|
+
"schema": {
|
|
59
|
+
"fields": [
|
|
60
|
+
{
|
|
61
|
+
"name": "a",
|
|
62
|
+
"type": "number"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "b",
|
|
66
|
+
"type": "number"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
"data": {
|
|
71
|
+
"values": [
|
|
72
|
+
[
|
|
73
|
+
1,
|
|
74
|
+
2,
|
|
75
|
+
3
|
|
76
|
+
],
|
|
77
|
+
[
|
|
78
|
+
4,
|
|
79
|
+
5,
|
|
80
|
+
6
|
|
81
|
+
]
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"results": {
|
|
5
|
+
"A": {
|
|
6
|
+
"status": 200,
|
|
7
|
+
"frames": [
|
|
8
|
+
{
|
|
9
|
+
"schema": {
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"name": "value",
|
|
13
|
+
"type": "number"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"data": {
|
|
18
|
+
"values": [
|
|
19
|
+
[
|
|
20
|
+
42
|
|
21
|
+
]
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": "barchart",
|
|
3
|
+
"panel": {
|
|
4
|
+
"type": "grafana-echartscartesian-panel",
|
|
5
|
+
"options": {
|
|
6
|
+
"seriesType": "bar"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"alternatives": [
|
|
10
|
+
{
|
|
11
|
+
"chart": "histogram",
|
|
12
|
+
"panel": {
|
|
13
|
+
"type": "grafana-echartscartesian-panel",
|
|
14
|
+
"options": {
|
|
15
|
+
"histogram": true
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"chart": "piechart",
|
|
21
|
+
"panel": {
|
|
22
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
23
|
+
"options": {
|
|
24
|
+
"seriesType": "pie"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"chart": "funnel",
|
|
30
|
+
"panel": {
|
|
31
|
+
"type": "grafana-echartsparttowhole-panel",
|
|
32
|
+
"options": {
|
|
33
|
+
"seriesType": "funnel"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"data": {
|
|
39
|
+
"range": {
|
|
40
|
+
"from": 1790349877294,
|
|
41
|
+
"to": 1790353477294
|
|
42
|
+
},
|
|
43
|
+
"capturedAt": 1790353477806,
|
|
44
|
+
"results": {
|
|
45
|
+
"A": {
|
|
46
|
+
"status": 200,
|
|
47
|
+
"frames": [
|
|
48
|
+
{
|
|
49
|
+
"schema": {
|
|
50
|
+
"fields": [
|
|
51
|
+
{
|
|
52
|
+
"name": "value",
|
|
53
|
+
"type": "number"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"data": {
|
|
58
|
+
"values": [
|
|
59
|
+
[
|
|
60
|
+
42
|
|
61
|
+
]
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"status": 200,
|
|
3
|
+
"body": {
|
|
4
|
+
"results": {
|
|
5
|
+
"A": {
|
|
6
|
+
"status": 200,
|
|
7
|
+
"frames": [
|
|
8
|
+
{
|
|
9
|
+
"schema": {
|
|
10
|
+
"fields": [
|
|
11
|
+
{
|
|
12
|
+
"name": "time",
|
|
13
|
+
"type": "time"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "value",
|
|
17
|
+
"type": "number"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"data": {
|
|
22
|
+
"values": [
|
|
23
|
+
[
|
|
24
|
+
1700000000000,
|
|
25
|
+
1700000000000,
|
|
26
|
+
null
|
|
27
|
+
],
|
|
28
|
+
[
|
|
29
|
+
1,
|
|
30
|
+
2,
|
|
31
|
+
3
|
|
32
|
+
]
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|