@perses-dev/timeseries-table-plugin 0.6.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/LICENSE +201 -0
- package/README.md +41 -0
- package/__mf/css/async/341.53436797.css +1 -0
- package/__mf/css/async/759.53436797.css +1 -0
- package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
- package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
- package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
- package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
- package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
- package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
- package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
- package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
- package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
- package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
- package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
- package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
- package/__mf/js/795.a00f14d5.js +5 -0
- package/__mf/js/TimeSeriesTable.78b6adc4.js +5 -0
- package/__mf/js/async/156.edaa1366.js +1 -0
- package/__mf/js/async/173.7677c422.js +2 -0
- package/__mf/js/async/173.7677c422.js.LICENSE.txt +19 -0
- package/__mf/js/async/570.4e5c2806.js +1 -0
- package/__mf/js/async/620.989f65d2.js +2 -0
- package/__mf/js/async/620.989f65d2.js.LICENSE.txt +9 -0
- package/__mf/js/async/621.966dfe80.js +111 -0
- package/__mf/js/async/621.966dfe80.js.LICENSE.txt +52 -0
- package/__mf/js/async/651.f2005980.js +1 -0
- package/__mf/js/async/694.46f61549.js +1 -0
- package/__mf/js/async/740.64988389.js +1 -0
- package/__mf/js/async/75.65fec995.js +1 -0
- package/__mf/js/async/770.46d7d5f9.js +1 -0
- package/__mf/js/async/960.d242a960.js +2 -0
- package/__mf/js/async/960.d242a960.js.LICENSE.txt +8 -0
- package/__mf/js/async/964.7386b918.js +2 -0
- package/__mf/js/async/964.7386b918.js.LICENSE.txt +9 -0
- package/__mf/js/async/998.e20cf478.js +65 -0
- package/__mf/js/async/998.e20cf478.js.LICENSE.txt +59 -0
- package/__mf/js/async/__federation_expose_TimeSeriesTable.0774ca0f.js +1 -0
- package/__mf/js/main.857476c9.js +1 -0
- package/lib/TimeSeriesTable.d.ts +8 -0
- package/lib/TimeSeriesTable.d.ts.map +1 -0
- package/lib/TimeSeriesTable.js +29 -0
- package/lib/TimeSeriesTable.js.map +1 -0
- package/lib/TimeSeriesTablePanel.d.ts +7 -0
- package/lib/TimeSeriesTablePanel.d.ts.map +1 -0
- package/lib/TimeSeriesTablePanel.js +33 -0
- package/lib/TimeSeriesTablePanel.js.map +1 -0
- package/lib/bootstrap.d.ts +2 -0
- package/lib/bootstrap.d.ts.map +1 -0
- package/lib/bootstrap.js +19 -0
- package/lib/bootstrap.js.map +1 -0
- package/lib/cjs/TimeSeriesTable.js +35 -0
- package/lib/cjs/TimeSeriesTablePanel.js +41 -0
- package/lib/cjs/bootstrap.js +26 -0
- package/lib/cjs/components/DataTable.js +185 -0
- package/lib/cjs/components/HistogramChart.js +121 -0
- package/lib/cjs/components/SeriesName.js +100 -0
- package/lib/cjs/components/index.js +20 -0
- package/lib/cjs/env.d.js +14 -0
- package/lib/cjs/getPluginModule.js +27 -0
- package/lib/cjs/index-federation.js +55 -0
- package/lib/cjs/index.js +29 -0
- package/lib/cjs/model.js +5 -0
- package/lib/cjs/setup-tests.js +19 -0
- package/lib/cjs/test/mock-query-results.js +417 -0
- package/lib/components/DataTable.d.ts +18 -0
- package/lib/components/DataTable.d.ts.map +1 -0
- package/lib/components/DataTable.js +173 -0
- package/lib/components/DataTable.js.map +1 -0
- package/lib/components/HistogramChart.d.ts +16 -0
- package/lib/components/HistogramChart.d.ts.map +1 -0
- package/lib/components/HistogramChart.js +113 -0
- package/lib/components/HistogramChart.js.map +1 -0
- package/lib/components/SeriesName.d.ts +11 -0
- package/lib/components/SeriesName.d.ts.map +1 -0
- package/lib/components/SeriesName.js +95 -0
- package/lib/components/SeriesName.js.map +1 -0
- package/lib/components/index.d.ts +4 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/components/index.js +5 -0
- package/lib/components/index.js.map +1 -0
- package/lib/env.d.js +15 -0
- package/lib/env.d.js.map +1 -0
- package/lib/getPluginModule.d.ts +6 -0
- package/lib/getPluginModule.d.ts.map +1 -0
- package/lib/getPluginModule.js +16 -0
- package/lib/getPluginModule.js.map +1 -0
- package/lib/index-federation.d.ts +1 -0
- package/lib/index-federation.d.ts.map +1 -0
- package/lib/index-federation.js +15 -0
- package/lib/index-federation.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/model.d.ts +3 -0
- package/lib/model.d.ts.map +1 -0
- package/lib/model.js +4 -0
- package/lib/model.js.map +1 -0
- package/lib/setup-tests.d.ts +2 -0
- package/lib/setup-tests.d.ts.map +1 -0
- package/lib/setup-tests.js +17 -0
- package/lib/setup-tests.js.map +1 -0
- package/lib/test/mock-query-results.d.ts +136 -0
- package/lib/test/mock-query-results.d.ts.map +1 -0
- package/lib/test/mock-query-results.js +389 -0
- package/lib/test/mock-query-results.js.map +1 -0
- package/mf-manifest.json +212 -0
- package/mf-stats.json +242 -0
- package/package.json +54 -0
package/lib/model.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/model.ts"],"sourcesContent":["// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport interface TimeSeriesTableOptions {}\n"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,WAA0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-tests.d.ts","sourceRoot":"","sources":["../../src/setup-tests.ts"],"names":[],"mappings":"AAaA,OAAO,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright 2023 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
|
+
import '@testing-library/jest-dom';
|
|
14
|
+
// Always mock e-charts during tests since we don't have a proper canvas in jsdom
|
|
15
|
+
jest.mock('echarts/core');
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=setup-tests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/setup-tests.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport '@testing-library/jest-dom';\n\n// Always mock e-charts during tests since we don't have a proper canvas in jsdom\njest.mock('echarts/core');\n"],"names":["jest","mock"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,OAAO,4BAA4B;AAEnC,iFAAiF;AACjFA,KAAKC,IAAI,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { TimeSeriesData } from '@perses-dev/core';
|
|
2
|
+
export declare const MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE: {
|
|
3
|
+
status: string;
|
|
4
|
+
fetchStatus: string;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
isSuccess: boolean;
|
|
7
|
+
isError: boolean;
|
|
8
|
+
data: {
|
|
9
|
+
timeRange: {
|
|
10
|
+
start: Date;
|
|
11
|
+
end: Date;
|
|
12
|
+
};
|
|
13
|
+
stepMs: number;
|
|
14
|
+
series: {
|
|
15
|
+
name: string;
|
|
16
|
+
values: number[][];
|
|
17
|
+
labels: {
|
|
18
|
+
device: string;
|
|
19
|
+
env: string;
|
|
20
|
+
fstype: string;
|
|
21
|
+
instance: string;
|
|
22
|
+
job: string;
|
|
23
|
+
mountpoint: string;
|
|
24
|
+
};
|
|
25
|
+
}[];
|
|
26
|
+
};
|
|
27
|
+
dataUpdatedAt: number;
|
|
28
|
+
error: null;
|
|
29
|
+
errorUpdatedAt: number;
|
|
30
|
+
failureCount: number;
|
|
31
|
+
errorUpdateCount: number;
|
|
32
|
+
isFetched: boolean;
|
|
33
|
+
isFetchedAfterMount: boolean;
|
|
34
|
+
isFetching: boolean;
|
|
35
|
+
isRefetching: boolean;
|
|
36
|
+
isLoadingError: boolean;
|
|
37
|
+
isPaused: boolean;
|
|
38
|
+
isPlaceholderData: boolean;
|
|
39
|
+
isPreviousData: boolean;
|
|
40
|
+
isRefetchError: boolean;
|
|
41
|
+
isStale: boolean;
|
|
42
|
+
}[];
|
|
43
|
+
export declare const MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE: {
|
|
44
|
+
status: string;
|
|
45
|
+
fetchStatus: string;
|
|
46
|
+
isLoading: boolean;
|
|
47
|
+
isSuccess: boolean;
|
|
48
|
+
isError: boolean;
|
|
49
|
+
data: {
|
|
50
|
+
timeRange: {
|
|
51
|
+
start: Date;
|
|
52
|
+
end: Date;
|
|
53
|
+
};
|
|
54
|
+
stepMs: number;
|
|
55
|
+
series: {
|
|
56
|
+
name: string;
|
|
57
|
+
values: number[][];
|
|
58
|
+
labels: {
|
|
59
|
+
device: string;
|
|
60
|
+
env: string;
|
|
61
|
+
fstype: string;
|
|
62
|
+
instance: string;
|
|
63
|
+
job: string;
|
|
64
|
+
mountpoint: string;
|
|
65
|
+
};
|
|
66
|
+
}[];
|
|
67
|
+
};
|
|
68
|
+
dataUpdatedAt: number;
|
|
69
|
+
error: null;
|
|
70
|
+
errorUpdatedAt: number;
|
|
71
|
+
failureCount: number;
|
|
72
|
+
errorUpdateCount: number;
|
|
73
|
+
isFetched: boolean;
|
|
74
|
+
isFetchedAfterMount: boolean;
|
|
75
|
+
isFetching: boolean;
|
|
76
|
+
isRefetching: boolean;
|
|
77
|
+
isLoadingError: boolean;
|
|
78
|
+
isPaused: boolean;
|
|
79
|
+
isPlaceholderData: boolean;
|
|
80
|
+
isPreviousData: boolean;
|
|
81
|
+
isRefetchError: boolean;
|
|
82
|
+
isStale: boolean;
|
|
83
|
+
}[];
|
|
84
|
+
export declare const MOCK_TIME_SERIES_DATA_MULTIVALUE: TimeSeriesData;
|
|
85
|
+
export declare const MOCK_TIME_SERIES_DATA_SINGLEVALUE: TimeSeriesData;
|
|
86
|
+
export declare const MOCK_NULL_QUERY_RESULT: {
|
|
87
|
+
status: string;
|
|
88
|
+
fetchStatus: string;
|
|
89
|
+
isLoading: boolean;
|
|
90
|
+
isSuccess: boolean;
|
|
91
|
+
isError: boolean;
|
|
92
|
+
data: {
|
|
93
|
+
timeRange: {
|
|
94
|
+
start: Date;
|
|
95
|
+
end: Date;
|
|
96
|
+
};
|
|
97
|
+
stepMs: number;
|
|
98
|
+
series: {
|
|
99
|
+
name: string;
|
|
100
|
+
values: (number | null)[][];
|
|
101
|
+
formattedName: string;
|
|
102
|
+
labels: {
|
|
103
|
+
env: string;
|
|
104
|
+
instance: string;
|
|
105
|
+
job: string;
|
|
106
|
+
};
|
|
107
|
+
}[];
|
|
108
|
+
};
|
|
109
|
+
dataUpdatedAt: number;
|
|
110
|
+
error: null;
|
|
111
|
+
errorUpdatedAt: number;
|
|
112
|
+
failureCount: number;
|
|
113
|
+
errorUpdateCount: number;
|
|
114
|
+
isFetched: boolean;
|
|
115
|
+
isFetchedAfterMount: boolean;
|
|
116
|
+
isFetching: boolean;
|
|
117
|
+
isRefetching: boolean;
|
|
118
|
+
isLoadingError: boolean;
|
|
119
|
+
isPaused: boolean;
|
|
120
|
+
isPlaceholderData: boolean;
|
|
121
|
+
isPreviousData: boolean;
|
|
122
|
+
isRefetchError: boolean;
|
|
123
|
+
isStale: boolean;
|
|
124
|
+
}[];
|
|
125
|
+
export declare const MOCK_TIME_SERIES_QUERY_DEFINITION: {
|
|
126
|
+
kind: string;
|
|
127
|
+
spec: {
|
|
128
|
+
plugin: {
|
|
129
|
+
kind: string;
|
|
130
|
+
spec: {
|
|
131
|
+
query: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
//# sourceMappingURL=mock-query-results.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mock-query-results.d.ts","sourceRoot":"","sources":["../../../src/test/mock-query-results.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8DpD,CAAC;AAEF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDrD,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,cAsC9C,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE,cAgC/C,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgElC,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;CAU7C,CAAC"}
|
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
// Copyright 2023 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
|
+
export const MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE = [
|
|
14
|
+
{
|
|
15
|
+
status: 'success',
|
|
16
|
+
fetchStatus: 'idle',
|
|
17
|
+
isLoading: false,
|
|
18
|
+
isSuccess: true,
|
|
19
|
+
isError: false,
|
|
20
|
+
data: {
|
|
21
|
+
timeRange: {
|
|
22
|
+
start: new Date(1666625490000),
|
|
23
|
+
end: new Date(1666625535000)
|
|
24
|
+
},
|
|
25
|
+
stepMs: 24379,
|
|
26
|
+
series: [
|
|
27
|
+
{
|
|
28
|
+
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
29
|
+
values: [
|
|
30
|
+
[
|
|
31
|
+
1666479357903,
|
|
32
|
+
0.27700745551584494
|
|
33
|
+
],
|
|
34
|
+
[
|
|
35
|
+
1666479382282,
|
|
36
|
+
0.27701284657366565
|
|
37
|
+
]
|
|
38
|
+
],
|
|
39
|
+
labels: {
|
|
40
|
+
device: '/dev/vda1',
|
|
41
|
+
env: 'demo',
|
|
42
|
+
fstype: 'ext4',
|
|
43
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
44
|
+
job: 'node',
|
|
45
|
+
mountpoint: '/'
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
50
|
+
values: [
|
|
51
|
+
[
|
|
52
|
+
1666479357903,
|
|
53
|
+
0.08486496097624885
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
1666479382282,
|
|
57
|
+
0.08486496097624885
|
|
58
|
+
]
|
|
59
|
+
],
|
|
60
|
+
labels: {
|
|
61
|
+
device: '/dev/vda15',
|
|
62
|
+
env: 'demo',
|
|
63
|
+
fstype: 'vfat',
|
|
64
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
65
|
+
job: 'node',
|
|
66
|
+
mountpoint: '/boot/efi'
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
},
|
|
71
|
+
dataUpdatedAt: 1666500979895,
|
|
72
|
+
error: null,
|
|
73
|
+
errorUpdatedAt: 0,
|
|
74
|
+
failureCount: 0,
|
|
75
|
+
errorUpdateCount: 0,
|
|
76
|
+
isFetched: true,
|
|
77
|
+
isFetchedAfterMount: true,
|
|
78
|
+
isFetching: false,
|
|
79
|
+
isRefetching: false,
|
|
80
|
+
isLoadingError: false,
|
|
81
|
+
isPaused: false,
|
|
82
|
+
isPlaceholderData: false,
|
|
83
|
+
isPreviousData: false,
|
|
84
|
+
isRefetchError: false,
|
|
85
|
+
isStale: true
|
|
86
|
+
}
|
|
87
|
+
];
|
|
88
|
+
export const MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE = [
|
|
89
|
+
{
|
|
90
|
+
status: 'success',
|
|
91
|
+
fetchStatus: 'idle',
|
|
92
|
+
isLoading: false,
|
|
93
|
+
isSuccess: true,
|
|
94
|
+
isError: false,
|
|
95
|
+
data: {
|
|
96
|
+
timeRange: {
|
|
97
|
+
start: new Date(1666625535000),
|
|
98
|
+
end: new Date(1666625535000)
|
|
99
|
+
},
|
|
100
|
+
stepMs: 24379,
|
|
101
|
+
series: [
|
|
102
|
+
{
|
|
103
|
+
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
104
|
+
values: [
|
|
105
|
+
[
|
|
106
|
+
1666479357903,
|
|
107
|
+
0.27700745551584494
|
|
108
|
+
]
|
|
109
|
+
],
|
|
110
|
+
labels: {
|
|
111
|
+
device: '/dev/vda1',
|
|
112
|
+
env: 'demo',
|
|
113
|
+
fstype: 'ext4',
|
|
114
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
115
|
+
job: 'node',
|
|
116
|
+
mountpoint: '/'
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
121
|
+
values: [
|
|
122
|
+
[
|
|
123
|
+
1666479357903,
|
|
124
|
+
0.08486496097624885
|
|
125
|
+
]
|
|
126
|
+
],
|
|
127
|
+
labels: {
|
|
128
|
+
device: '/dev/vda15',
|
|
129
|
+
env: 'demo',
|
|
130
|
+
fstype: 'vfat',
|
|
131
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
132
|
+
job: 'node',
|
|
133
|
+
mountpoint: '/boot/efi'
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
dataUpdatedAt: 1666500979895,
|
|
139
|
+
error: null,
|
|
140
|
+
errorUpdatedAt: 0,
|
|
141
|
+
failureCount: 0,
|
|
142
|
+
errorUpdateCount: 0,
|
|
143
|
+
isFetched: true,
|
|
144
|
+
isFetchedAfterMount: true,
|
|
145
|
+
isFetching: false,
|
|
146
|
+
isRefetching: false,
|
|
147
|
+
isLoadingError: false,
|
|
148
|
+
isPaused: false,
|
|
149
|
+
isPlaceholderData: false,
|
|
150
|
+
isPreviousData: false,
|
|
151
|
+
isRefetchError: false,
|
|
152
|
+
isStale: true
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
export const MOCK_TIME_SERIES_DATA_MULTIVALUE = {
|
|
156
|
+
timeRange: {
|
|
157
|
+
start: new Date(1666625490000),
|
|
158
|
+
end: new Date(1666625535000)
|
|
159
|
+
},
|
|
160
|
+
stepMs: 24379,
|
|
161
|
+
series: [
|
|
162
|
+
{
|
|
163
|
+
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
164
|
+
values: [
|
|
165
|
+
[
|
|
166
|
+
1666479357903,
|
|
167
|
+
0.27700745551584494
|
|
168
|
+
],
|
|
169
|
+
[
|
|
170
|
+
1666479382282,
|
|
171
|
+
0.27701284657366565
|
|
172
|
+
]
|
|
173
|
+
],
|
|
174
|
+
labels: {
|
|
175
|
+
device: '/dev/vda1',
|
|
176
|
+
env: 'demo',
|
|
177
|
+
fstype: 'ext4',
|
|
178
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
179
|
+
job: 'node',
|
|
180
|
+
mountpoint: '/'
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
185
|
+
values: [
|
|
186
|
+
[
|
|
187
|
+
1666479357903,
|
|
188
|
+
0.08486496097624885
|
|
189
|
+
],
|
|
190
|
+
[
|
|
191
|
+
1666479382282,
|
|
192
|
+
0.08486496097624885
|
|
193
|
+
]
|
|
194
|
+
],
|
|
195
|
+
labels: {
|
|
196
|
+
device: '/dev/vda15',
|
|
197
|
+
env: 'demo',
|
|
198
|
+
fstype: 'vfat',
|
|
199
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
200
|
+
job: 'node',
|
|
201
|
+
mountpoint: '/boot/efi'
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
};
|
|
206
|
+
export const MOCK_TIME_SERIES_DATA_SINGLEVALUE = {
|
|
207
|
+
timeRange: {
|
|
208
|
+
start: new Date(1666625535000),
|
|
209
|
+
end: new Date(1666625535000)
|
|
210
|
+
},
|
|
211
|
+
stepMs: 24379,
|
|
212
|
+
series: [
|
|
213
|
+
{
|
|
214
|
+
name: 'device="/dev/vda1", env="demo", fstype="ext4", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/"',
|
|
215
|
+
values: [
|
|
216
|
+
[
|
|
217
|
+
1666479357903,
|
|
218
|
+
0.27700745551584494
|
|
219
|
+
]
|
|
220
|
+
],
|
|
221
|
+
labels: {
|
|
222
|
+
device: '/dev/vda1',
|
|
223
|
+
env: 'demo',
|
|
224
|
+
fstype: 'ext4',
|
|
225
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
226
|
+
job: 'node',
|
|
227
|
+
mountpoint: '/'
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
name: 'device="/dev/vda15", env="demo", fstype="vfat", instance="demo.do.prometheus.io:9100", job="node", mountpoint="/boot/efi"',
|
|
232
|
+
values: [
|
|
233
|
+
[
|
|
234
|
+
1666479357903,
|
|
235
|
+
0.08486496097624885
|
|
236
|
+
]
|
|
237
|
+
],
|
|
238
|
+
labels: {
|
|
239
|
+
device: '/dev/vda15',
|
|
240
|
+
env: 'demo',
|
|
241
|
+
fstype: 'vfat',
|
|
242
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
243
|
+
job: 'node',
|
|
244
|
+
mountpoint: '/boot/efi'
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
};
|
|
249
|
+
export const MOCK_NULL_QUERY_RESULT = [
|
|
250
|
+
{
|
|
251
|
+
status: 'success',
|
|
252
|
+
fetchStatus: 'idle',
|
|
253
|
+
isLoading: false,
|
|
254
|
+
isSuccess: true,
|
|
255
|
+
isError: false,
|
|
256
|
+
data: {
|
|
257
|
+
timeRange: {
|
|
258
|
+
start: new Date(1677376110000),
|
|
259
|
+
end: new Date(1677376410000)
|
|
260
|
+
},
|
|
261
|
+
stepMs: 15000,
|
|
262
|
+
series: [
|
|
263
|
+
{
|
|
264
|
+
name: 'node_memory_Buffers_bytes{env="demo",instance="demo.do.prometheus.io:9100",job="node"}',
|
|
265
|
+
values: [
|
|
266
|
+
[
|
|
267
|
+
1677376110000,
|
|
268
|
+
40000000
|
|
269
|
+
],
|
|
270
|
+
[
|
|
271
|
+
1677376125000,
|
|
272
|
+
40000000
|
|
273
|
+
],
|
|
274
|
+
[
|
|
275
|
+
1677376140000,
|
|
276
|
+
null
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
1677376155000,
|
|
280
|
+
null
|
|
281
|
+
],
|
|
282
|
+
[
|
|
283
|
+
1677376170000,
|
|
284
|
+
null
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
1677376185000,
|
|
288
|
+
null
|
|
289
|
+
],
|
|
290
|
+
[
|
|
291
|
+
1677376200000,
|
|
292
|
+
null
|
|
293
|
+
],
|
|
294
|
+
[
|
|
295
|
+
1677376215000,
|
|
296
|
+
40013824
|
|
297
|
+
],
|
|
298
|
+
[
|
|
299
|
+
1677376230000,
|
|
300
|
+
40038400
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
1677376245000,
|
|
304
|
+
40054784
|
|
305
|
+
],
|
|
306
|
+
[
|
|
307
|
+
1677376260000,
|
|
308
|
+
40071168
|
|
309
|
+
],
|
|
310
|
+
[
|
|
311
|
+
1677376275000,
|
|
312
|
+
40075264
|
|
313
|
+
],
|
|
314
|
+
[
|
|
315
|
+
1677376290000,
|
|
316
|
+
40091648
|
|
317
|
+
],
|
|
318
|
+
[
|
|
319
|
+
1677376305000,
|
|
320
|
+
40099840
|
|
321
|
+
],
|
|
322
|
+
[
|
|
323
|
+
1677376320000,
|
|
324
|
+
40120320
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
1677376335000,
|
|
328
|
+
40128512
|
|
329
|
+
],
|
|
330
|
+
[
|
|
331
|
+
1677376350000,
|
|
332
|
+
40153088
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
1677376365000,
|
|
336
|
+
40165376
|
|
337
|
+
],
|
|
338
|
+
[
|
|
339
|
+
1677376380000,
|
|
340
|
+
40177664
|
|
341
|
+
],
|
|
342
|
+
[
|
|
343
|
+
1677376395000,
|
|
344
|
+
40194048
|
|
345
|
+
],
|
|
346
|
+
[
|
|
347
|
+
1677376410000,
|
|
348
|
+
40198144
|
|
349
|
+
]
|
|
350
|
+
],
|
|
351
|
+
formattedName: 'node_memory_Buffers_bytes{env="demo",instance="demo.do.prometheus.io:9100",job="node"}',
|
|
352
|
+
labels: {
|
|
353
|
+
env: 'demo',
|
|
354
|
+
instance: 'demo.do.prometheus.io:9100',
|
|
355
|
+
job: 'node'
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
dataUpdatedAt: 1677376410000,
|
|
361
|
+
error: null,
|
|
362
|
+
errorUpdatedAt: 0,
|
|
363
|
+
failureCount: 0,
|
|
364
|
+
errorUpdateCount: 0,
|
|
365
|
+
isFetched: true,
|
|
366
|
+
isFetchedAfterMount: true,
|
|
367
|
+
isFetching: false,
|
|
368
|
+
isRefetching: false,
|
|
369
|
+
isLoadingError: false,
|
|
370
|
+
isPaused: false,
|
|
371
|
+
isPlaceholderData: false,
|
|
372
|
+
isPreviousData: false,
|
|
373
|
+
isRefetchError: false,
|
|
374
|
+
isStale: true
|
|
375
|
+
}
|
|
376
|
+
];
|
|
377
|
+
export const MOCK_TIME_SERIES_QUERY_DEFINITION = {
|
|
378
|
+
kind: 'TimeSeriesQuery',
|
|
379
|
+
spec: {
|
|
380
|
+
plugin: {
|
|
381
|
+
kind: 'PrometheusTimeSeriesQuery',
|
|
382
|
+
spec: {
|
|
383
|
+
query: ''
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
};
|
|
388
|
+
|
|
389
|
+
//# sourceMappingURL=mock-query-results.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/test/mock-query-results.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TimeSeriesData } from '@perses-dev/core';\n\nexport const MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE = [\n {\n status: 'success',\n fetchStatus: 'idle',\n isLoading: false,\n isSuccess: true,\n isError: false,\n data: {\n timeRange: {\n start: new Date(1666625490000),\n end: new Date(1666625535000),\n },\n stepMs: 24379,\n series: [\n {\n name: 'device=\"/dev/vda1\", env=\"demo\", fstype=\"ext4\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/\"',\n values: [\n [1666479357903, 0.27700745551584494],\n [1666479382282, 0.27701284657366565],\n ],\n labels: {\n device: '/dev/vda1',\n env: 'demo',\n fstype: 'ext4',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/',\n },\n },\n {\n name: 'device=\"/dev/vda15\", env=\"demo\", fstype=\"vfat\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/boot/efi\"',\n values: [\n [1666479357903, 0.08486496097624885],\n [1666479382282, 0.08486496097624885],\n ],\n labels: {\n device: '/dev/vda15',\n env: 'demo',\n fstype: 'vfat',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/boot/efi',\n },\n },\n ],\n },\n dataUpdatedAt: 1666500979895,\n error: null,\n errorUpdatedAt: 0,\n failureCount: 0,\n errorUpdateCount: 0,\n isFetched: true,\n isFetchedAfterMount: true,\n isFetching: false,\n isRefetching: false,\n isLoadingError: false,\n isPaused: false,\n isPlaceholderData: false,\n isPreviousData: false,\n isRefetchError: false,\n isStale: true,\n },\n];\n\nexport const MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE = [\n {\n status: 'success',\n fetchStatus: 'idle',\n isLoading: false,\n isSuccess: true,\n isError: false,\n data: {\n timeRange: {\n start: new Date(1666625535000),\n end: new Date(1666625535000),\n },\n stepMs: 24379,\n series: [\n {\n name: 'device=\"/dev/vda1\", env=\"demo\", fstype=\"ext4\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/\"',\n values: [[1666479357903, 0.27700745551584494]],\n labels: {\n device: '/dev/vda1',\n env: 'demo',\n fstype: 'ext4',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/',\n },\n },\n {\n name: 'device=\"/dev/vda15\", env=\"demo\", fstype=\"vfat\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/boot/efi\"',\n values: [[1666479357903, 0.08486496097624885]],\n labels: {\n device: '/dev/vda15',\n env: 'demo',\n fstype: 'vfat',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/boot/efi',\n },\n },\n ],\n },\n dataUpdatedAt: 1666500979895,\n error: null,\n errorUpdatedAt: 0,\n failureCount: 0,\n errorUpdateCount: 0,\n isFetched: true,\n isFetchedAfterMount: true,\n isFetching: false,\n isRefetching: false,\n isLoadingError: false,\n isPaused: false,\n isPlaceholderData: false,\n isPreviousData: false,\n isRefetchError: false,\n isStale: true,\n },\n];\n\nexport const MOCK_TIME_SERIES_DATA_MULTIVALUE: TimeSeriesData = {\n timeRange: {\n start: new Date(1666625490000),\n end: new Date(1666625535000),\n },\n stepMs: 24379,\n series: [\n {\n name: 'device=\"/dev/vda1\", env=\"demo\", fstype=\"ext4\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/\"',\n values: [\n [1666479357903, 0.27700745551584494],\n [1666479382282, 0.27701284657366565],\n ],\n labels: {\n device: '/dev/vda1',\n env: 'demo',\n fstype: 'ext4',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/',\n },\n },\n {\n name: 'device=\"/dev/vda15\", env=\"demo\", fstype=\"vfat\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/boot/efi\"',\n values: [\n [1666479357903, 0.08486496097624885],\n [1666479382282, 0.08486496097624885],\n ],\n labels: {\n device: '/dev/vda15',\n env: 'demo',\n fstype: 'vfat',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/boot/efi',\n },\n },\n ],\n};\n\nexport const MOCK_TIME_SERIES_DATA_SINGLEVALUE: TimeSeriesData = {\n timeRange: {\n start: new Date(1666625535000),\n end: new Date(1666625535000),\n },\n stepMs: 24379,\n series: [\n {\n name: 'device=\"/dev/vda1\", env=\"demo\", fstype=\"ext4\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/\"',\n values: [[1666479357903, 0.27700745551584494]],\n labels: {\n device: '/dev/vda1',\n env: 'demo',\n fstype: 'ext4',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/',\n },\n },\n {\n name: 'device=\"/dev/vda15\", env=\"demo\", fstype=\"vfat\", instance=\"demo.do.prometheus.io:9100\", job=\"node\", mountpoint=\"/boot/efi\"',\n values: [[1666479357903, 0.08486496097624885]],\n labels: {\n device: '/dev/vda15',\n env: 'demo',\n fstype: 'vfat',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n mountpoint: '/boot/efi',\n },\n },\n ],\n};\n\nexport const MOCK_NULL_QUERY_RESULT = [\n {\n status: 'success',\n fetchStatus: 'idle',\n isLoading: false,\n isSuccess: true,\n isError: false,\n data: {\n timeRange: {\n start: new Date(1677376110000),\n end: new Date(1677376410000),\n },\n stepMs: 15000,\n series: [\n {\n name: 'node_memory_Buffers_bytes{env=\"demo\",instance=\"demo.do.prometheus.io:9100\",job=\"node\"}',\n values: [\n [1677376110000, 40000000],\n [1677376125000, 40000000],\n [1677376140000, null],\n [1677376155000, null],\n [1677376170000, null],\n [1677376185000, null],\n [1677376200000, null],\n [1677376215000, 40013824],\n [1677376230000, 40038400],\n [1677376245000, 40054784],\n [1677376260000, 40071168],\n [1677376275000, 40075264],\n [1677376290000, 40091648],\n [1677376305000, 40099840],\n [1677376320000, 40120320],\n [1677376335000, 40128512],\n [1677376350000, 40153088],\n [1677376365000, 40165376],\n [1677376380000, 40177664],\n [1677376395000, 40194048],\n [1677376410000, 40198144],\n ],\n formattedName: 'node_memory_Buffers_bytes{env=\"demo\",instance=\"demo.do.prometheus.io:9100\",job=\"node\"}',\n labels: {\n env: 'demo',\n instance: 'demo.do.prometheus.io:9100',\n job: 'node',\n },\n },\n ],\n },\n dataUpdatedAt: 1677376410000,\n error: null,\n errorUpdatedAt: 0,\n failureCount: 0,\n errorUpdateCount: 0,\n isFetched: true,\n isFetchedAfterMount: true,\n isFetching: false,\n isRefetching: false,\n isLoadingError: false,\n isPaused: false,\n isPlaceholderData: false,\n isPreviousData: false,\n isRefetchError: false,\n isStale: true,\n },\n];\n\nexport const MOCK_TIME_SERIES_QUERY_DEFINITION = {\n kind: 'TimeSeriesQuery',\n spec: {\n plugin: {\n kind: 'PrometheusTimeSeriesQuery',\n spec: {\n query: '',\n },\n },\n },\n};\n"],"names":["MOCK_TIME_SERIES_QUERY_RESULT_MULTIVALUE","status","fetchStatus","isLoading","isSuccess","isError","data","timeRange","start","Date","end","stepMs","series","name","values","labels","device","env","fstype","instance","job","mountpoint","dataUpdatedAt","error","errorUpdatedAt","failureCount","errorUpdateCount","isFetched","isFetchedAfterMount","isFetching","isRefetching","isLoadingError","isPaused","isPlaceholderData","isPreviousData","isRefetchError","isStale","MOCK_TIME_SERIES_QUERY_RESULT_SINGLEVALUE","MOCK_TIME_SERIES_DATA_MULTIVALUE","MOCK_TIME_SERIES_DATA_SINGLEVALUE","MOCK_NULL_QUERY_RESULT","formattedName","MOCK_TIME_SERIES_QUERY_DEFINITION","kind","spec","plugin","query"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAIjC,OAAO,MAAMA,2CAA2C;IACtD;QACEC,QAAQ;QACRC,aAAa;QACbC,WAAW;QACXC,WAAW;QACXC,SAAS;QACTC,MAAM;YACJC,WAAW;gBACTC,OAAO,IAAIC,KAAK;gBAChBC,KAAK,IAAID,KAAK;YAChB;YACAE,QAAQ;YACRC,QAAQ;gBACN;oBACEC,MAAM;oBACNC,QAAQ;wBACN;4BAAC;4BAAe;yBAAoB;wBACpC;4BAAC;4BAAe;yBAAoB;qBACrC;oBACDC,QAAQ;wBACNC,QAAQ;wBACRC,KAAK;wBACLC,QAAQ;wBACRC,UAAU;wBACVC,KAAK;wBACLC,YAAY;oBACd;gBACF;gBACA;oBACER,MAAM;oBACNC,QAAQ;wBACN;4BAAC;4BAAe;yBAAoB;wBACpC;4BAAC;4BAAe;yBAAoB;qBACrC;oBACDC,QAAQ;wBACNC,QAAQ;wBACRC,KAAK;wBACLC,QAAQ;wBACRC,UAAU;wBACVC,KAAK;wBACLC,YAAY;oBACd;gBACF;aACD;QACH;QACAC,eAAe;QACfC,OAAO;QACPC,gBAAgB;QAChBC,cAAc;QACdC,kBAAkB;QAClBC,WAAW;QACXC,qBAAqB;QACrBC,YAAY;QACZC,cAAc;QACdC,gBAAgB;QAChBC,UAAU;QACVC,mBAAmB;QACnBC,gBAAgB;QAChBC,gBAAgB;QAChBC,SAAS;IACX;CACD,CAAC;AAEF,OAAO,MAAMC,4CAA4C;IACvD;QAC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