@perses-dev/logs-table-plugin 0.3.0-rc.1 → 0.3.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/__mf/js/{LogsTable.9823d4be.js → LogsTable.f8cdc769.js} +2 -2
- package/__mf/js/async/{2546.011c9c58.js → 2546.6b3aab40.js} +2 -2
- package/__mf/js/async/2842.610cb74b.js +1 -0
- package/__mf/js/async/{3332.3b8e2b2f.js → 3332.ab0338e8.js} +2 -2
- package/__mf/js/async/{9126.66f4505f.js → 9126.a313fc37.js} +3 -3
- package/__mf/js/async/{__federation_expose_LogsTable.9045f682.js → __federation_expose_LogsTable.e6a243de.js} +1 -1
- package/__mf/js/{main.c2df795f.js → main.4253925a.js} +2 -2
- package/mf-manifest.json +15 -15
- package/mf-stats.json +15 -15
- package/package.json +5 -5
- package/__mf/js/async/2842.7c7a1b3f.js +0 -1
- /package/__mf/js/async/{3332.3b8e2b2f.js.LICENSE.txt → 3332.ab0338e8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{9126.66f4505f.js.LICENSE.txt → 9126.a313fc37.js.LICENSE.txt} +0 -0
package/mf-manifest.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "LogsTable",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.3.0
|
|
8
|
+
"buildVersion": "0.3.0",
|
|
9
9
|
"buildName": "@perses-dev/logs-table-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/LogsTable.
|
|
12
|
+
"name": "__mf/js/LogsTable.f8cdc769.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -89,14 +89,14 @@
|
|
|
89
89
|
{
|
|
90
90
|
"id": "LogsTable:@perses-dev/components",
|
|
91
91
|
"name": "@perses-dev/components",
|
|
92
|
-
"version": "0.54.0
|
|
92
|
+
"version": "0.54.0",
|
|
93
93
|
"singleton": true,
|
|
94
|
-
"requiredVersion": "^0.54.0
|
|
94
|
+
"requiredVersion": "^0.54.0",
|
|
95
95
|
"assets": {
|
|
96
96
|
"js": {
|
|
97
97
|
"async": [],
|
|
98
98
|
"sync": [
|
|
99
|
-
"__mf/js/async/3332.
|
|
99
|
+
"__mf/js/async/3332.ab0338e8.js"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
102
|
"css": {
|
|
@@ -111,14 +111,14 @@
|
|
|
111
111
|
{
|
|
112
112
|
"id": "LogsTable:@perses-dev/dashboards",
|
|
113
113
|
"name": "@perses-dev/dashboards",
|
|
114
|
-
"version": "0.54.0
|
|
114
|
+
"version": "0.54.0",
|
|
115
115
|
"singleton": true,
|
|
116
|
-
"requiredVersion": "^0.54.0
|
|
116
|
+
"requiredVersion": "^0.54.0",
|
|
117
117
|
"assets": {
|
|
118
118
|
"js": {
|
|
119
119
|
"async": [],
|
|
120
120
|
"sync": [
|
|
121
|
-
"__mf/js/async/9126.
|
|
121
|
+
"__mf/js/async/9126.a313fc37.js"
|
|
122
122
|
]
|
|
123
123
|
},
|
|
124
124
|
"css": {
|
|
@@ -131,14 +131,14 @@
|
|
|
131
131
|
{
|
|
132
132
|
"id": "LogsTable:@perses-dev/plugin-system",
|
|
133
133
|
"name": "@perses-dev/plugin-system",
|
|
134
|
-
"version": "0.54.0
|
|
134
|
+
"version": "0.54.0",
|
|
135
135
|
"singleton": true,
|
|
136
|
-
"requiredVersion": "^0.54.0
|
|
136
|
+
"requiredVersion": "^0.54.0",
|
|
137
137
|
"assets": {
|
|
138
138
|
"js": {
|
|
139
139
|
"async": [],
|
|
140
140
|
"sync": [
|
|
141
|
-
"__mf/js/async/2546.
|
|
141
|
+
"__mf/js/async/2546.6b3aab40.js"
|
|
142
142
|
]
|
|
143
143
|
},
|
|
144
144
|
"css": {
|
|
@@ -151,14 +151,14 @@
|
|
|
151
151
|
{
|
|
152
152
|
"id": "LogsTable:@perses-dev/spec",
|
|
153
153
|
"name": "@perses-dev/spec",
|
|
154
|
-
"version": "0.2.0
|
|
154
|
+
"version": "0.2.0",
|
|
155
155
|
"singleton": true,
|
|
156
|
-
"requiredVersion": "^0.2.0
|
|
156
|
+
"requiredVersion": "^0.2.0",
|
|
157
157
|
"assets": {
|
|
158
158
|
"js": {
|
|
159
159
|
"async": [],
|
|
160
160
|
"sync": [
|
|
161
|
-
"__mf/js/async/2842.
|
|
161
|
+
"__mf/js/async/2842.610cb74b.js"
|
|
162
162
|
]
|
|
163
163
|
},
|
|
164
164
|
"css": {
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"__mf/js/async/7445.009cf084.js",
|
|
323
323
|
"__mf/js/async/8608.618e49dc.js",
|
|
324
324
|
"__mf/js/async/8634.231e1601.js",
|
|
325
|
-
"__mf/js/async/__federation_expose_LogsTable.
|
|
325
|
+
"__mf/js/async/__federation_expose_LogsTable.e6a243de.js"
|
|
326
326
|
],
|
|
327
327
|
"async": [
|
|
328
328
|
"__mf/js/async/lib-router.c5e3aef3.js",
|
package/mf-stats.json
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"name": "LogsTable",
|
|
6
6
|
"type": "app",
|
|
7
7
|
"buildInfo": {
|
|
8
|
-
"buildVersion": "0.3.0
|
|
8
|
+
"buildVersion": "0.3.0",
|
|
9
9
|
"buildName": "@perses-dev/logs-table-plugin"
|
|
10
10
|
},
|
|
11
11
|
"remoteEntry": {
|
|
12
|
-
"name": "__mf/js/LogsTable.
|
|
12
|
+
"name": "__mf/js/LogsTable.f8cdc769.js",
|
|
13
13
|
"path": "",
|
|
14
14
|
"type": "global"
|
|
15
15
|
},
|
|
@@ -100,17 +100,17 @@
|
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"singleton": true,
|
|
103
|
-
"requiredVersion": "^0.54.0
|
|
103
|
+
"requiredVersion": "^0.54.0",
|
|
104
104
|
"shareScope": "default",
|
|
105
105
|
"name": "@perses-dev/components",
|
|
106
|
-
"version": "0.54.0
|
|
106
|
+
"version": "0.54.0",
|
|
107
107
|
"eager": false,
|
|
108
108
|
"id": "LogsTable:@perses-dev/components",
|
|
109
109
|
"assets": {
|
|
110
110
|
"js": {
|
|
111
111
|
"async": [],
|
|
112
112
|
"sync": [
|
|
113
|
-
"__mf/js/async/3332.
|
|
113
|
+
"__mf/js/async/3332.ab0338e8.js"
|
|
114
114
|
]
|
|
115
115
|
},
|
|
116
116
|
"css": {
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"singleton": true,
|
|
131
|
-
"requiredVersion": "^0.54.0
|
|
131
|
+
"requiredVersion": "^0.54.0",
|
|
132
132
|
"shareScope": "default",
|
|
133
133
|
"name": "@perses-dev/dashboards",
|
|
134
|
-
"version": "0.54.0
|
|
134
|
+
"version": "0.54.0",
|
|
135
135
|
"eager": false,
|
|
136
136
|
"id": "LogsTable:@perses-dev/dashboards",
|
|
137
137
|
"assets": {
|
|
138
138
|
"js": {
|
|
139
139
|
"async": [],
|
|
140
140
|
"sync": [
|
|
141
|
-
"__mf/js/async/9126.
|
|
141
|
+
"__mf/js/async/9126.a313fc37.js"
|
|
142
142
|
]
|
|
143
143
|
},
|
|
144
144
|
"css": {
|
|
@@ -154,17 +154,17 @@
|
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
"singleton": true,
|
|
157
|
-
"requiredVersion": "^0.54.0
|
|
157
|
+
"requiredVersion": "^0.54.0",
|
|
158
158
|
"shareScope": "default",
|
|
159
159
|
"name": "@perses-dev/plugin-system",
|
|
160
|
-
"version": "0.54.0
|
|
160
|
+
"version": "0.54.0",
|
|
161
161
|
"eager": false,
|
|
162
162
|
"id": "LogsTable:@perses-dev/plugin-system",
|
|
163
163
|
"assets": {
|
|
164
164
|
"js": {
|
|
165
165
|
"async": [],
|
|
166
166
|
"sync": [
|
|
167
|
-
"__mf/js/async/2546.
|
|
167
|
+
"__mf/js/async/2546.6b3aab40.js"
|
|
168
168
|
]
|
|
169
169
|
},
|
|
170
170
|
"css": {
|
|
@@ -180,17 +180,17 @@
|
|
|
180
180
|
},
|
|
181
181
|
{
|
|
182
182
|
"singleton": true,
|
|
183
|
-
"requiredVersion": "^0.2.0
|
|
183
|
+
"requiredVersion": "^0.2.0",
|
|
184
184
|
"shareScope": "default",
|
|
185
185
|
"name": "@perses-dev/spec",
|
|
186
|
-
"version": "0.2.0
|
|
186
|
+
"version": "0.2.0",
|
|
187
187
|
"eager": false,
|
|
188
188
|
"id": "LogsTable:@perses-dev/spec",
|
|
189
189
|
"assets": {
|
|
190
190
|
"js": {
|
|
191
191
|
"async": [],
|
|
192
192
|
"sync": [
|
|
193
|
-
"__mf/js/async/2842.
|
|
193
|
+
"__mf/js/async/2842.610cb74b.js"
|
|
194
194
|
]
|
|
195
195
|
},
|
|
196
196
|
"css": {
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
"__mf/js/async/7445.009cf084.js",
|
|
395
395
|
"__mf/js/async/8608.618e49dc.js",
|
|
396
396
|
"__mf/js/async/8634.231e1601.js",
|
|
397
|
-
"__mf/js/async/__federation_expose_LogsTable.
|
|
397
|
+
"__mf/js/async/__federation_expose_LogsTable.e6a243de.js"
|
|
398
398
|
],
|
|
399
399
|
"async": [
|
|
400
400
|
"__mf/js/async/lib-router.c5e3aef3.js",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/logs-table-plugin",
|
|
3
|
-
"version": "0.3.0
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://github.com/perses/plugins/blob/main/README.md",
|
|
6
6
|
"repository": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@emotion/react": "^11.7.1",
|
|
33
33
|
"@emotion/styled": "^11.6.0",
|
|
34
34
|
"@hookform/resolvers": "^3.2.0",
|
|
35
|
-
"@perses-dev/components": "^0.54.0
|
|
36
|
-
"@perses-dev/dashboards": "^0.54.0
|
|
37
|
-
"@perses-dev/plugin-system": "^0.54.0
|
|
38
|
-
"@perses-dev/spec": "^0.2.0
|
|
35
|
+
"@perses-dev/components": "^0.54.0",
|
|
36
|
+
"@perses-dev/dashboards": "^0.54.0",
|
|
37
|
+
"@perses-dev/plugin-system": "^0.54.0",
|
|
38
|
+
"@perses-dev/spec": "^0.2.0",
|
|
39
39
|
"date-fns": "^4.1.0",
|
|
40
40
|
"date-fns-tz": "^3.2.0",
|
|
41
41
|
"echarts": "5.5.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.chunk_LogsTable=self.chunk_LogsTable||[]).push([["2842"],{40625(e,a,n){n.r(a),n.d(a,{ONE_WEEK_IN_MS:()=>u,querySpecSchema:()=>C,annotationDisplaySchema:()=>R,buildPanelSpecSchema:()=>K,resolvePanelRef:()=>x,variableDefinitionSchema:()=>es,variableTextSchema:()=>en,isTimeSeriesValueTuple:()=>j,otlpresourcev1:()=>i,parseDurationString:()=>c,isValidQueryPluginType:()=>_,ONE_YEAR_IN_MS:()=>p,DURATION_REGEX:()=>d,createPanelRef:()=>v,getSuggestedStepMs:()=>g,otlpcommonv1:()=>t,variableListSpecSchema:()=>X,variableDisplaySchema:()=>W,DEFAULT_ALL_VALUE:()=>"$__all",ONE_HOUR_IN_MS:()=>o,getPanelKeyFromRef:()=>Y,ONE_MINUTE_IN_MS:()=>6e4,intervalToDuration:()=>M,convertTimeToDuration:()=>h,isDurationString:()=>m,panelSpecSchema:()=>q,buildVariableDefinitionSchema:()=>el,otlptracev1:()=>s,annotationSpecSchema:()=>$,buildDatasourceSpecSchema:()=>z,panelDisplaySpec:()=>U,panelDefinitionSchema:()=>F,buildVariableListSchema:()=>ee,datasourceSpecSchema:()=>L,buildVariableSpecSchema:()=>ei,isAbsoluteTimeRange:()=>f,ONE_SECOND_IN_MS:()=>1e3,displaySchema:()=>w,panelEditorSchema:()=>G,variableListSchema:()=>Z,isValidTraceId:()=>T,roundStepInterval:()=>b,variableTextSpecSchema:()=>ea,durationValidationSchema:()=>P,toAbsoluteTimeRange:()=>k,buildVariableListSpecSchema:()=>J,buildAnnotationSpecSchema:()=>N,buildPanelDefinitionSchema:()=>B,isRelativeTimeRange:()=>y,linkSchema:()=>Q,variableSpecSchema:()=>et,formatDuration:()=>S,buildPanelEditorSchema:()=>H,ONE_DAY_IN_MS:()=>r,pluginSchema:()=>A});var t={};n.r(t);var i={};n.r(i);var s={};n.r(s),n.d(s,{StatusCodeError:()=>O,StatusCodeOk:()=>E,StatusCodeUnset:()=>D});var l=n(94461);let o=36e5,r=864e5,u=6048e5,p=31536e6,d=/^(?:(\d+)y)?(?:(\d+)w)?(?:(\d+)d)?(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/;function c(e){let a=d.exec(e);if(null===a)throw Error(`Invalid duration string '${e}'`);return{years:parseInt(a[1]??"0"),months:0,weeks:parseInt(a[2]??"0"),days:parseInt(a[3]??"0"),hours:parseInt(a[4]??"0"),minutes:parseInt(a[5]??"0"),seconds:parseInt(a[6]??"0")+parseInt(a[7]??"0")/1e3}}function m(e){return""!==e&&d.test(e)}function S(e){let a=[];if(e.years&&a.push(`${e.years}y`),e.weeks&&a.push(`${e.weeks}w`),e.days&&a.push(`${e.days}d`),e.hours&&a.push(`${e.hours}h`),e.minutes&&a.push(`${e.minutes}m`),e.seconds){let n=Math.trunc(e.seconds);n&&a.push(`${n}s`);let t=Math.round((e.seconds-n)*1e3);t&&a.push(`${t}ms`)}return a.join("")}function M(e){return h(e.end.valueOf()-e.start.valueOf())}function h(e){let a=Math.trunc(e/p);a>0&&(e-=a*p);let n=Math.trunc(e/u);n>0&&(e-=n*u);let t=Math.trunc(e/r);t>0&&(e-=t*r);let i=Math.trunc(e/o);i>0&&(e-=i*o);let s=Math.trunc(e/6e4);return s>0&&(e-=6e4*s),{years:a,months:0,weeks:n,days:t,hours:i,minutes:s,seconds:e/1e3}}function y(e){return void 0!==e.pastDuration}function f(e){return void 0!==e.start&&void 0!==e.end}function k(e){let a=e.end??new Date;return{start:(0,l.sub)(a,c(e.pastDuration)),end:a}}let I=[{maxMs:15,roundedStepMs:10,display:"0.01s"},{maxMs:35,roundedStepMs:20,display:"0.02s"},{maxMs:75,roundedStepMs:50,display:"0.05s"},{maxMs:150,roundedStepMs:100,display:"0.1s"},{maxMs:350,roundedStepMs:200,display:"0.2s"},{maxMs:750,roundedStepMs:500,display:"0.5s"},{maxMs:1500,roundedStepMs:1e3,display:"1s"},{maxMs:3500,roundedStepMs:2e3,display:"2s"},{maxMs:7500,roundedStepMs:5e3,display:"5s"},{maxMs:12500,roundedStepMs:1e4,display:"10s"},{maxMs:17500,roundedStepMs:15e3,display:"15s"},{maxMs:25e3,roundedStepMs:2e4,display:"20s"},{maxMs:45e3,roundedStepMs:3e4,display:"30s"},{maxMs:9e4,roundedStepMs:6e4,display:"1m"},{maxMs:21e4,roundedStepMs:12e4,display:"2m"},{maxMs:45e4,roundedStepMs:3e5,display:"5m"},{maxMs:75e4,roundedStepMs:6e5,display:"10m"},{maxMs:75e4,roundedStepMs:9e5,display:"15m"},{maxMs:15e5,roundedStepMs:12e5,display:"20m"},{maxMs:27e5,roundedStepMs:18e5,display:"30m"},{maxMs:54e5,roundedStepMs:36e5,display:"1h"},{maxMs:9e6,roundedStepMs:72e5,display:"2h"},{maxMs:162e5,roundedStepMs:108e5,display:"3h"},{maxMs:324e5,roundedStepMs:216e5,display:"6h"},{maxMs:864e5,roundedStepMs:432e5,display:"12h"},{maxMs:6048e5,roundedStepMs:864e5,display:"1d"},{maxMs:18144e5,roundedStepMs:6048e5,display:"1w"},{maxMs:36288e5,roundedStepMs:2592e6,display:"30d"},{maxMs:63072e6,roundedStepMs:31536e6,display:"1y"}];function b(e){for(let{maxMs:a,roundedStepMs:n}of I)if(e<a)return n;return 15e3}function g(e,a){return b(Math.floor((e.end.valueOf()-e.start.valueOf())/a))}function x(e,a){let n=Y(a),t=e.panels[n];if(void 0===t)throw Error(`Could not resolve panels reference ${a.$ref}`);return t}function Y(e){return e.$ref.substring(14)}function v(e){return{$ref:`#/spec/panels/${e}`}}function _(e){return["TimeSeriesQuery","TraceQuery","ProfileQuery","LogQuery","AlertsQuery","SilencesQuery"].includes(e)}function j(e){return 2===e.length}function T(e){return/^[0-9a-fA-F]+$/.test(e)}let D="STATUS_CODE_UNSET",E="STATUS_CODE_OK",O="STATUS_CODE_ERROR";var V=n(59140);let A=V.Ik({kind:V.Yj().min(1,"Required"),spec:V.g1(V.Yj(),V.bz())}),R=V.Ik({name:V.Yj(),description:V.Yj().optional(),hidden:V.zM().optional(),color:V.Yj().optional()});function N(e){return V.Ik({display:R,plugin:e})}let $=V.Ik({display:R,plugin:A}),w=V.Ik({name:V.Yj().optional(),description:V.Yj().optional()}),L=V.Ik({display:w.optional(),default:V.zM(),plugin:A});function z(e){return V.Ik({display:w.optional(),default:V.zM(),plugin:e})}let P=V.Yj().min(1,"Required").regex(d,"Must be a valid duration string"),U=V.Ik({name:V.Yj().optional(),description:V.Yj().optional()}),C=V.Ik({kind:V.Yj().min(1),spec:V.Ik({name:V.Yj().optional(),plugin:A})}),Q=V.Ik({name:V.Yj().optional(),url:V.Yj().min(1),tooltip:V.Yj().optional(),renderVariables:V.zM().optional(),targetBlank:V.zM().optional()}),q=V.Ik({display:U.optional(),plugin:A,queries:V.YO(C).optional(),links:V.YO(Q).optional()});function K(e){return V.Ik({display:U.optional(),plugin:e,queries:V.YO(C).optional(),links:V.YO(Q).optional()})}let F=V.Ik({kind:V.eu("Panel"),spec:q});function B(e){return V.Ik({kind:V.eu("Panel"),spec:K(e)})}let G=V.Ik({groupId:V.ai(),panelDefinition:F});function H(e){return V.Ik({groupId:V.ai(),panelDefinition:B(e)})}let W=V.Ik({name:V.Yj().optional(),description:V.Yj().optional(),hidden:V.zM().optional()}),X=V.Ik({name:V.Yj().min(1),display:W.optional(),defaultValue:V.Yj().or(V.YO(V.Yj())).optional(),allowAllValue:V.zM(),allowMultiple:V.zM(),customAllValue:V.Yj().optional(),capturingRegexp:V.Yj().optional(),sort:V.k5(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:A});function J(e){return V.Ik({name:V.Yj().min(1),display:W.optional(),defaultValue:V.Yj().or(V.YO(V.Yj())).optional(),allowAllValue:V.zM(),allowMultiple:V.zM(),customAllValue:V.Yj().optional(),capturingRegexp:V.Yj().optional(),sort:V.k5(["none","alphabetical-asc","alphabetical-desc","numerical-asc","numerical-desc","alphabetical-ci-asc","alphabetical-ci-desc"]).optional(),plugin:e})}let Z=V.Ik({kind:V.eu("ListVariable"),spec:X});function ee(e){return V.Ik({kind:V.eu("ListVariable"),spec:J(e)})}let ea=V.Ik({name:V.Yj().min(1),display:W.optional(),value:V.Yj(),constant:V.zM().optional()}),en=V.Ik({kind:V.eu("TextVariable"),spec:ea}),et=V.gM("kind",[en,Z]);function ei(e){return V.KC([en,ee(e)])}let es=et;function el(e){return V.gM("kind",[V.Ik({kind:V.eu("ListVariable"),spec:J(e)}),V.Ik({kind:V.eu("TextVariable"),spec:ea})])}}}]);
|
|
File without changes
|
|
File without changes
|