@perses-dev/timeseries-table-plugin 0.12.0 → 0.13.0-beta.2
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/__mf/js/{TimeSeriesTable.a46d4c0c.js → TimeSeriesTable.306f8f49.js} +3 -3
- package/__mf/js/async/1522.c207deed.js +22 -0
- package/__mf/js/async/1616.2eecb24c.js +1 -0
- package/__mf/js/async/1915.483e1629.js +37 -0
- package/__mf/js/async/2043.3868224e.js +2 -0
- package/__mf/js/async/2266.219b7a42.js +1 -0
- package/__mf/js/async/2901.7299202e.js +1 -0
- package/__mf/js/async/392.e5afbc9f.js +2 -0
- package/__mf/js/async/3923.2e6628ef.js +1 -0
- package/__mf/js/async/4077.59d693f0.js +1 -0
- package/__mf/js/async/4121.91bf4bcc.js +2 -0
- package/__mf/js/async/4496.b6247974.js +1 -0
- package/__mf/js/async/4647.d4f0a558.js +1 -0
- package/__mf/js/async/5002.3e47ae67.js +1 -0
- package/__mf/js/async/5071.be72dc35.js +1 -0
- package/__mf/js/async/5587.b0e5e14b.js +1 -0
- package/__mf/js/async/6157.ae204aed.js +3 -0
- package/__mf/js/async/6274.4748d1fc.js +2 -0
- package/__mf/js/async/6458.8911babf.js +1 -0
- package/__mf/js/async/6465.e08a3883.js +1 -0
- package/__mf/js/async/672.13c099dd.js +7 -0
- package/__mf/js/async/{589.f808cb6d.js.LICENSE.txt → 672.13c099dd.js.LICENSE.txt} +41 -1
- package/__mf/js/async/7028.2a8af948.js +1 -0
- package/__mf/js/async/7192.a782922d.js +1 -0
- package/__mf/js/async/7633.531c287c.js +2 -0
- package/__mf/js/async/7968.1c541836.js +1 -0
- package/__mf/js/async/7978.a6164548.js +1 -0
- package/__mf/js/async/8356.903dfdcc.js +1 -0
- package/__mf/js/async/8470.8828be23.js +2 -0
- package/__mf/js/async/873.146dbd48.js +1 -0
- package/__mf/js/async/9148.14b32a38.js +1 -0
- package/__mf/js/async/9235.87877125.js +1 -0
- package/__mf/js/async/941.1550fb5d.js +2 -0
- package/__mf/js/async/9588.85235ea3.js +1 -0
- package/__mf/js/async/{357.8ed888fe.js → 9736.9653b5a5.js} +7 -6
- package/__mf/js/async/__federation_expose_TimeSeriesTable.e4525ca7.js +1 -0
- package/__mf/js/async/lib-router.d1eec799.js +2 -0
- package/__mf/js/{main.aa88f2d9.js → main.d7039fe9.js} +2 -2
- package/lib/TimeSeriesTable.d.ts +3 -3
- package/lib/TimeSeriesTable.d.ts.map +1 -1
- package/lib/TimeSeriesTable.js +2 -2
- package/lib/TimeSeriesTable.js.map +1 -1
- package/lib/TimeSeriesTablePanel.d.ts +4 -4
- package/lib/TimeSeriesTablePanel.d.ts.map +1 -1
- package/lib/TimeSeriesTablePanel.js +3 -3
- package/lib/TimeSeriesTablePanel.js.map +1 -1
- package/lib/bootstrap.js +2 -2
- package/lib/components/DataTable.d.ts +4 -4
- package/lib/components/DataTable.d.ts.map +1 -1
- package/lib/components/DataTable.js +7 -7
- package/lib/components/DataTable.js.map +1 -1
- package/lib/components/EmbeddedPanel.d.ts +3 -3
- package/lib/components/EmbeddedPanel.d.ts.map +1 -1
- package/lib/components/EmbeddedPanel.js +4 -4
- package/lib/components/EmbeddedPanel.js.map +1 -1
- package/lib/components/SeriesName.d.ts +2 -2
- package/lib/components/SeriesName.d.ts.map +1 -1
- package/lib/components/SeriesName.js +3 -3
- package/lib/components/SeriesName.js.map +1 -1
- package/lib/components/TimeSeriesTableItemSelectionActionsEditor.d.ts +2 -2
- package/lib/components/TimeSeriesTableItemSelectionActionsEditor.d.ts.map +1 -1
- package/lib/components/TimeSeriesTableItemSelectionActionsEditor.js +2 -2
- package/lib/components/TimeSeriesTableItemSelectionActionsEditor.js.map +1 -1
- package/lib/components/index.js +3 -3
- package/lib/components/index.js.map +1 -1
- package/lib/getPluginModule.d.ts +1 -1
- package/lib/getPluginModule.d.ts.map +1 -1
- package/lib/getPluginModule.js +3 -1
- package/lib/getPluginModule.js.map +1 -1
- package/lib/index-federation.js +1 -1
- package/lib/index.js +6 -6
- package/lib/index.js.map +1 -1
- package/lib/model.d.ts +1 -1
- package/lib/model.d.ts.map +1 -1
- package/lib/model.js.map +1 -1
- package/lib/setup-tests.d.ts +1 -1
- package/lib/setup-tests.d.ts.map +1 -1
- package/lib/setup-tests.js +2 -2
- package/lib/setup-tests.js.map +1 -1
- package/lib/test/mock-query-results.d.ts +1 -1
- package/lib/test/mock-query-results.d.ts.map +1 -1
- package/lib/test/mock-query-results.js.map +1 -1
- package/mf-manifest.json +45 -46
- package/mf-stats.json +45 -46
- package/package.json +11 -11
- package/__mf/js/async/121.592e3064.js +0 -2
- package/__mf/js/async/177.c119132c.js +0 -1
- package/__mf/js/async/187.e7610888.js +0 -7
- package/__mf/js/async/187.e7610888.js.LICENSE.txt +0 -39
- package/__mf/js/async/192.50958a78.js +0 -1
- package/__mf/js/async/2.56628a75.js +0 -1
- package/__mf/js/async/235.24837781.js +0 -1
- package/__mf/js/async/240.67c2c89e.js +0 -1
- package/__mf/js/async/274.65444167.js +0 -2
- package/__mf/js/async/356.3bfad7d9.js +0 -1
- package/__mf/js/async/392.1ef58718.js +0 -2
- package/__mf/js/async/413.06624aa3.js +0 -1
- package/__mf/js/async/43.9749b9fd.js +0 -2
- package/__mf/js/async/458.621e2d5a.js +0 -1
- package/__mf/js/async/470.e310152e.js +0 -2
- package/__mf/js/async/546.453f730a.js +0 -3
- package/__mf/js/async/558.3509fb4b.js +0 -1
- package/__mf/js/async/587.3ce8a0bb.js +0 -1
- package/__mf/js/async/588.001b4256.js +0 -1
- package/__mf/js/async/589.f808cb6d.js +0 -2
- package/__mf/js/async/599.ca81e868.js +0 -2
- package/__mf/js/async/603.0e24b840.js +0 -2
- package/__mf/js/async/616.0bbea9bc.js +0 -1
- package/__mf/js/async/71.70c374bd.js +0 -1
- package/__mf/js/async/77.179f6b48.js +0 -1
- package/__mf/js/async/842.bc227066.js +0 -1
- package/__mf/js/async/873.58804e15.js +0 -1
- package/__mf/js/async/939.70679ab8.js +0 -1
- package/__mf/js/async/941.4bc4bec7.js +0 -2
- package/__mf/js/async/968.96a94ca9.js +0 -1
- package/__mf/js/async/978.0065bf35.js +0 -1
- package/__mf/js/async/984.894a30f6.js +0 -22
- package/__mf/js/async/994.d6948621.js +0 -37
- package/__mf/js/async/__federation_expose_TimeSeriesTable.00ffd570.js +0 -1
- package/__mf/js/async/lib-router.03790637.js +0 -2
- package/lib/cjs/TimeSeriesTable.js +0 -42
- package/lib/cjs/TimeSeriesTablePanel.js +0 -44
- package/lib/cjs/bootstrap.js +0 -26
- package/lib/cjs/components/DataTable.js +0 -333
- package/lib/cjs/components/EmbeddedPanel.js +0 -52
- package/lib/cjs/components/SeriesName.js +0 -100
- package/lib/cjs/components/TimeSeriesTableItemSelectionActionsEditor.js +0 -44
- package/lib/cjs/components/index.js +0 -32
- package/lib/cjs/env.d.js +0 -14
- package/lib/cjs/getPluginModule.js +0 -39
- package/lib/cjs/index-federation.js +0 -55
- package/lib/cjs/index.js +0 -41
- package/lib/cjs/model.js +0 -16
- package/lib/cjs/setup-tests.js +0 -19
- package/lib/cjs/test/mock-query-results.js +0 -417
- /package/__mf/css/async/{187.85c2cbf6.css → 672.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{984.894a30f6.js.LICENSE.txt → 1522.c207deed.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{43.9749b9fd.js.LICENSE.txt → 2043.3868224e.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.1ef58718.js.LICENSE.txt → 392.e5afbc9f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{121.592e3064.js.LICENSE.txt → 4121.91bf4bcc.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{274.65444167.js.LICENSE.txt → 6274.4748d1fc.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{603.0e24b840.js.LICENSE.txt → 7633.531c287c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.e310152e.js.LICENSE.txt → 8470.8828be23.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.4bc4bec7.js.LICENSE.txt → 941.1550fb5d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{357.8ed888fe.js.LICENSE.txt → 9736.9653b5a5.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{lib-router.03790637.js.LICENSE.txt → lib-router.d1eec799.js.LICENSE.txt} +0 -0
package/lib/cjs/index.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
Object.defineProperty(exports, "getPluginModule", {
|
|
18
|
-
enumerable: true,
|
|
19
|
-
get: function() {
|
|
20
|
-
return _getPluginModule.getPluginModule;
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
_export_star(require("./components/DataTable"), exports);
|
|
24
|
-
const _getPluginModule = require("./getPluginModule");
|
|
25
|
-
_export_star(require("./model"), exports);
|
|
26
|
-
_export_star(require("./components/SeriesName"), exports);
|
|
27
|
-
_export_star(require("./TimeSeriesTable"), exports);
|
|
28
|
-
_export_star(require("./TimeSeriesTablePanel"), exports);
|
|
29
|
-
function _export_star(from, to) {
|
|
30
|
-
Object.keys(from).forEach(function(k) {
|
|
31
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
|
|
32
|
-
Object.defineProperty(to, k, {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function() {
|
|
35
|
-
return from[k];
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
return from;
|
|
41
|
-
}
|
package/lib/cjs/model.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the \"License\");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an \"AS IS\" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
package/lib/cjs/setup-tests.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
require("@testing-library/jest-dom");
|
|
18
|
-
// Always mock e-charts during tests since we don't have a proper canvas in jsdom
|
|
19
|
-
jest.mock('echarts/core');
|
|
@@ -1,417 +0,0 @@
|
|
|
1
|
-
// Copyright The Perses Authors
|
|
2
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
-
// you may not use this file except in compliance with the License.
|
|
4
|
-
// You may obtain a copy of the License at
|
|
5
|
-
//
|
|
6
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
-
//
|
|
8
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
-
// See the License for the specific language governing permissions and
|
|
12
|
-
// limitations under the License.
|
|
13
|
-
"use strict";
|
|
14
|
-
Object.defineProperty(exports, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
});
|
|
17
|
-
function _export(target, all) {
|
|
18
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
_export(exports, {
|
|
24
|
-
get MOCK_NULL_QUERY_RESULT () {
|
|
25
|
-
return MOCK_NULL_QUERY_RESULT;
|
|
26
|
-
},
|
|
27
|
-
get MOCK_TIME_SERIES_DATA_MULTIVALUE () {
|
|
28
|
-
return MOCK_TIME_SERIES_DATA_MULTIVALUE;
|
|
29
|
-
},
|
|
30
|
-
get MOCK_TIME_SERIES_DATA_SINGLEVALUE () {
|
|
31
|
-
return MOCK_TIME_SERIES_DATA_SINGLEVALUE;
|
|
32
|
-
},
|
|
33
|
-
get MOCK_TIME_SERIES_QUERY_DEFINITION () {
|
|
34
|
-
return MOCK_TIME_SERIES_QUERY_DEFINITION;
|
|
35
|
-
},
|
|
36
|
-
get MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE () {
|
|
37
|
-
return MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE;
|
|
38
|
-
},
|
|
39
|
-
get MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE () {
|
|
40
|
-
return MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
const MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE = [
|
|
44
|
-
{
|
|
45
|
-
status: 'success',
|
|
46
|
-
fetchStatus: 'idle',
|
|
47
|
-
isLoading: false,
|
|
48
|
-
isSuccess: true,
|
|
49
|
-
isError: false,
|
|
50
|
-
data: {
|
|
51
|
-
timeRange: {
|
|
52
|
-
start: new Date(1666625490000),
|
|
53
|
-
end: new Date(1666625535000)
|
|
54
|
-
},
|
|
55
|
-
stepMs: 24379,
|
|
56
|
-
series: [
|
|
57
|
-
{
|
|
58
|
-
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
59
|
-
values: [
|
|
60
|
-
[
|
|
61
|
-
1666479357903,
|
|
62
|
-
0.27700745551584494
|
|
63
|
-
],
|
|
64
|
-
[
|
|
65
|
-
1666479382282,
|
|
66
|
-
0.27701284657366565
|
|
67
|
-
]
|
|
68
|
-
],
|
|
69
|
-
labels: {
|
|
70
|
-
device: '/dev/vda1',
|
|
71
|
-
env: 'demo',
|
|
72
|
-
fstype: 'ext4',
|
|
73
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
74
|
-
job: 'node',
|
|
75
|
-
mountpoint: '/'
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
80
|
-
values: [
|
|
81
|
-
[
|
|
82
|
-
1666479357903,
|
|
83
|
-
0.08486496097624885
|
|
84
|
-
],
|
|
85
|
-
[
|
|
86
|
-
1666479382282,
|
|
87
|
-
0.08486496097624885
|
|
88
|
-
]
|
|
89
|
-
],
|
|
90
|
-
labels: {
|
|
91
|
-
device: '/dev/vda15',
|
|
92
|
-
env: 'demo',
|
|
93
|
-
fstype: 'vfat',
|
|
94
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
95
|
-
job: 'node',
|
|
96
|
-
mountpoint: '/boot/efi'
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
]
|
|
100
|
-
},
|
|
101
|
-
dataUpdatedAt: 1666500979895,
|
|
102
|
-
error: null,
|
|
103
|
-
errorUpdatedAt: 0,
|
|
104
|
-
failureCount: 0,
|
|
105
|
-
errorUpdateCount: 0,
|
|
106
|
-
isFetched: true,
|
|
107
|
-
isFetchedAfterMount: true,
|
|
108
|
-
isFetching: false,
|
|
109
|
-
isRefetching: false,
|
|
110
|
-
isLoadingError: false,
|
|
111
|
-
isPaused: false,
|
|
112
|
-
isPlaceholderData: false,
|
|
113
|
-
isPreviousData: false,
|
|
114
|
-
isRefetchError: false,
|
|
115
|
-
isStale: true
|
|
116
|
-
}
|
|
117
|
-
];
|
|
118
|
-
const MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE = [
|
|
119
|
-
{
|
|
120
|
-
status: 'success',
|
|
121
|
-
fetchStatus: 'idle',
|
|
122
|
-
isLoading: false,
|
|
123
|
-
isSuccess: true,
|
|
124
|
-
isError: false,
|
|
125
|
-
data: {
|
|
126
|
-
timeRange: {
|
|
127
|
-
start: new Date(1666625535000),
|
|
128
|
-
end: new Date(1666625535000)
|
|
129
|
-
},
|
|
130
|
-
stepMs: 24379,
|
|
131
|
-
series: [
|
|
132
|
-
{
|
|
133
|
-
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
134
|
-
values: [
|
|
135
|
-
[
|
|
136
|
-
1666479357903,
|
|
137
|
-
0.27700745551584494
|
|
138
|
-
]
|
|
139
|
-
],
|
|
140
|
-
labels: {
|
|
141
|
-
device: '/dev/vda1',
|
|
142
|
-
env: 'demo',
|
|
143
|
-
fstype: 'ext4',
|
|
144
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
145
|
-
job: 'node',
|
|
146
|
-
mountpoint: '/'
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
151
|
-
values: [
|
|
152
|
-
[
|
|
153
|
-
1666479357903,
|
|
154
|
-
0.08486496097624885
|
|
155
|
-
]
|
|
156
|
-
],
|
|
157
|
-
labels: {
|
|
158
|
-
device: '/dev/vda15',
|
|
159
|
-
env: 'demo',
|
|
160
|
-
fstype: 'vfat',
|
|
161
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
162
|
-
job: 'node',
|
|
163
|
-
mountpoint: '/boot/efi'
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
|
-
dataUpdatedAt: 1666500979895,
|
|
169
|
-
error: null,
|
|
170
|
-
errorUpdatedAt: 0,
|
|
171
|
-
failureCount: 0,
|
|
172
|
-
errorUpdateCount: 0,
|
|
173
|
-
isFetched: true,
|
|
174
|
-
isFetchedAfterMount: true,
|
|
175
|
-
isFetching: false,
|
|
176
|
-
isRefetching: false,
|
|
177
|
-
isLoadingError: false,
|
|
178
|
-
isPaused: false,
|
|
179
|
-
isPlaceholderData: false,
|
|
180
|
-
isPreviousData: false,
|
|
181
|
-
isRefetchError: false,
|
|
182
|
-
isStale: true
|
|
183
|
-
}
|
|
184
|
-
];
|
|
185
|
-
const MOCK_TIME_SERIES_DATA_MULTIVALUE = {
|
|
186
|
-
timeRange: {
|
|
187
|
-
start: new Date(1666625490000),
|
|
188
|
-
end: new Date(1666625535000)
|
|
189
|
-
},
|
|
190
|
-
stepMs: 24379,
|
|
191
|
-
series: [
|
|
192
|
-
{
|
|
193
|
-
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
194
|
-
values: [
|
|
195
|
-
[
|
|
196
|
-
1666479357903,
|
|
197
|
-
0.27700745551584494
|
|
198
|
-
],
|
|
199
|
-
[
|
|
200
|
-
1666479382282,
|
|
201
|
-
0.27701284657366565
|
|
202
|
-
]
|
|
203
|
-
],
|
|
204
|
-
labels: {
|
|
205
|
-
device: '/dev/vda1',
|
|
206
|
-
env: 'demo',
|
|
207
|
-
fstype: 'ext4',
|
|
208
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
209
|
-
job: 'node',
|
|
210
|
-
mountpoint: '/'
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
215
|
-
values: [
|
|
216
|
-
[
|
|
217
|
-
1666479357903,
|
|
218
|
-
0.08486496097624885
|
|
219
|
-
],
|
|
220
|
-
[
|
|
221
|
-
1666479382282,
|
|
222
|
-
0.08486496097624885
|
|
223
|
-
]
|
|
224
|
-
],
|
|
225
|
-
labels: {
|
|
226
|
-
device: '/dev/vda15',
|
|
227
|
-
env: 'demo',
|
|
228
|
-
fstype: 'vfat',
|
|
229
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
230
|
-
job: 'node',
|
|
231
|
-
mountpoint: '/boot/efi'
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
]
|
|
235
|
-
};
|
|
236
|
-
const MOCK_TIME_SERIES_DATA_SINGLEVALUE = {
|
|
237
|
-
timeRange: {
|
|
238
|
-
start: new Date(1666625535000),
|
|
239
|
-
end: new Date(1666625535000)
|
|
240
|
-
},
|
|
241
|
-
stepMs: 24379,
|
|
242
|
-
series: [
|
|
243
|
-
{
|
|
244
|
-
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
245
|
-
values: [
|
|
246
|
-
[
|
|
247
|
-
1666479357903,
|
|
248
|
-
0.27700745551584494
|
|
249
|
-
]
|
|
250
|
-
],
|
|
251
|
-
labels: {
|
|
252
|
-
device: '/dev/vda1',
|
|
253
|
-
env: 'demo',
|
|
254
|
-
fstype: 'ext4',
|
|
255
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
256
|
-
job: 'node',
|
|
257
|
-
mountpoint: '/'
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
262
|
-
values: [
|
|
263
|
-
[
|
|
264
|
-
1666479357903,
|
|
265
|
-
0.08486496097624885
|
|
266
|
-
]
|
|
267
|
-
],
|
|
268
|
-
labels: {
|
|
269
|
-
device: '/dev/vda15',
|
|
270
|
-
env: 'demo',
|
|
271
|
-
fstype: 'vfat',
|
|
272
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
273
|
-
job: 'node',
|
|
274
|
-
mountpoint: '/boot/efi'
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
]
|
|
278
|
-
};
|
|
279
|
-
const MOCK_NULL_QUERY_RESULT = [
|
|
280
|
-
{
|
|
281
|
-
status: 'success',
|
|
282
|
-
fetchStatus: 'idle',
|
|
283
|
-
isLoading: false,
|
|
284
|
-
isSuccess: true,
|
|
285
|
-
isError: false,
|
|
286
|
-
data: {
|
|
287
|
-
timeRange: {
|
|
288
|
-
start: new Date(1677376110000),
|
|
289
|
-
end: new Date(1677376410000)
|
|
290
|
-
},
|
|
291
|
-
stepMs: 15000,
|
|
292
|
-
series: [
|
|
293
|
-
{
|
|
294
|
-
name: 'node_memory_Buffers_bytes{env="demo",instance="demo.do.prometheus.io:9100",job="node"}',
|
|
295
|
-
values: [
|
|
296
|
-
[
|
|
297
|
-
1677376110000,
|
|
298
|
-
40000000
|
|
299
|
-
],
|
|
300
|
-
[
|
|
301
|
-
1677376125000,
|
|
302
|
-
40000000
|
|
303
|
-
],
|
|
304
|
-
[
|
|
305
|
-
1677376140000,
|
|
306
|
-
null
|
|
307
|
-
],
|
|
308
|
-
[
|
|
309
|
-
1677376155000,
|
|
310
|
-
null
|
|
311
|
-
],
|
|
312
|
-
[
|
|
313
|
-
1677376170000,
|
|
314
|
-
null
|
|
315
|
-
],
|
|
316
|
-
[
|
|
317
|
-
1677376185000,
|
|
318
|
-
null
|
|
319
|
-
],
|
|
320
|
-
[
|
|
321
|
-
1677376200000,
|
|
322
|
-
null
|
|
323
|
-
],
|
|
324
|
-
[
|
|
325
|
-
1677376215000,
|
|
326
|
-
40013824
|
|
327
|
-
],
|
|
328
|
-
[
|
|
329
|
-
1677376230000,
|
|
330
|
-
40038400
|
|
331
|
-
],
|
|
332
|
-
[
|
|
333
|
-
1677376245000,
|
|
334
|
-
40054784
|
|
335
|
-
],
|
|
336
|
-
[
|
|
337
|
-
1677376260000,
|
|
338
|
-
40071168
|
|
339
|
-
],
|
|
340
|
-
[
|
|
341
|
-
1677376275000,
|
|
342
|
-
40075264
|
|
343
|
-
],
|
|
344
|
-
[
|
|
345
|
-
1677376290000,
|
|
346
|
-
40091648
|
|
347
|
-
],
|
|
348
|
-
[
|
|
349
|
-
1677376305000,
|
|
350
|
-
40099840
|
|
351
|
-
],
|
|
352
|
-
[
|
|
353
|
-
1677376320000,
|
|
354
|
-
40120320
|
|
355
|
-
],
|
|
356
|
-
[
|
|
357
|
-
1677376335000,
|
|
358
|
-
40128512
|
|
359
|
-
],
|
|
360
|
-
[
|
|
361
|
-
1677376350000,
|
|
362
|
-
40153088
|
|
363
|
-
],
|
|
364
|
-
[
|
|
365
|
-
1677376365000,
|
|
366
|
-
40165376
|
|
367
|
-
],
|
|
368
|
-
[
|
|
369
|
-
1677376380000,
|
|
370
|
-
40177664
|
|
371
|
-
],
|
|
372
|
-
[
|
|
373
|
-
1677376395000,
|
|
374
|
-
40194048
|
|
375
|
-
],
|
|
376
|
-
[
|
|
377
|
-
1677376410000,
|
|
378
|
-
40198144
|
|
379
|
-
]
|
|
380
|
-
],
|
|
381
|
-
formattedName: 'node_memory_Buffers_bytes{env="demo",instance="demo.do.prometheus.io:9100",job="node"}',
|
|
382
|
-
labels: {
|
|
383
|
-
env: 'demo',
|
|
384
|
-
instance: 'demo.do.prometheus.io:9100',
|
|
385
|
-
job: 'node'
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
]
|
|
389
|
-
},
|
|
390
|
-
dataUpdatedAt: 1677376410000,
|
|
391
|
-
error: null,
|
|
392
|
-
errorUpdatedAt: 0,
|
|
393
|
-
failureCount: 0,
|
|
394
|
-
errorUpdateCount: 0,
|
|
395
|
-
isFetched: true,
|
|
396
|
-
isFetchedAfterMount: true,
|
|
397
|
-
isFetching: false,
|
|
398
|
-
isRefetching: false,
|
|
399
|
-
isLoadingError: false,
|
|
400
|
-
isPaused: false,
|
|
401
|
-
isPlaceholderData: false,
|
|
402
|
-
isPreviousData: false,
|
|
403
|
-
isRefetchError: false,
|
|
404
|
-
isStale: true
|
|
405
|
-
}
|
|
406
|
-
];
|
|
407
|
-
const MOCK_TIME_SERIES_QUERY_DEFINITION = {
|
|
408
|
-
kind: 'TimeSeriesQuery',
|
|
409
|
-
spec: {
|
|
410
|
-
plugin: {
|
|
411
|
-
kind: 'PrometheusTimeSeriesQuery',
|
|
412
|
-
spec: {
|
|
413
|
-
query: ''
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/__mf/js/async/{lib-router.03790637.js.LICENSE.txt → lib-router.d1eec799.js.LICENSE.txt}
RENAMED
|
File without changes
|