@yugabytedb/perf-advisor-ui 1.0.110 → 1.0.112
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/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +14406 -15896
- package/dist/esm/index.js.map +1 -1
- package/dist/types.d.ts +9 -7
- package/package.json +1 -1
- package/dist/cjs/index.css +0 -1
- package/dist/esm/index.css +0 -1
package/dist/types.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ interface UrlParams {
|
|
|
330
330
|
universeId: string | null;
|
|
331
331
|
userId?: string | null;
|
|
332
332
|
type?: QueryType | null;
|
|
333
|
+
timezoneName?: string | null;
|
|
333
334
|
}
|
|
334
335
|
interface MetadataFields {
|
|
335
336
|
id: string;
|
|
@@ -745,9 +746,10 @@ interface TransformedNodeLoadData {
|
|
|
745
746
|
universeId: string;
|
|
746
747
|
}
|
|
747
748
|
interface PaFeatureRuntimeConfigs {
|
|
748
|
-
showDbLoadView
|
|
749
|
-
showBgTasksView
|
|
750
|
-
showSystemQueriesView
|
|
749
|
+
showDbLoadView?: boolean;
|
|
750
|
+
showBgTasksView?: boolean;
|
|
751
|
+
showSystemQueriesView?: boolean;
|
|
752
|
+
showTimezoneSelector?: boolean;
|
|
751
753
|
}
|
|
752
754
|
interface AnomalyPossibleCauseData {
|
|
753
755
|
summary: string;
|
|
@@ -764,17 +766,16 @@ interface MetricsAnalysisEntryProps {
|
|
|
764
766
|
universeUuid: string;
|
|
765
767
|
troubleshootUuid: string | null;
|
|
766
768
|
appName: AppName;
|
|
767
|
-
timezone?: string;
|
|
768
769
|
apiUrl: string;
|
|
770
|
+
runtimeConfigs?: PaFeatureRuntimeConfigs;
|
|
769
771
|
showStandaloneAnomalies?: boolean;
|
|
770
772
|
onSelectedIssue?: (troubleshootUuid: string | null, params?: PAUrlParams) => void;
|
|
771
773
|
onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
|
|
772
774
|
onNavigateToUrl?: (url: string) => void;
|
|
773
775
|
}
|
|
774
|
-
declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName,
|
|
776
|
+
declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName, apiUrl, runtimeConfigs, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: MetricsAnalysisEntryProps) => JSX.Element;
|
|
775
777
|
|
|
776
778
|
interface PerfAdvisorEntryProps {
|
|
777
|
-
timezone?: string;
|
|
778
779
|
universeUuid: string;
|
|
779
780
|
appName: AppName;
|
|
780
781
|
apiUrl: string;
|
|
@@ -785,7 +786,7 @@ interface PerfAdvisorEntryProps {
|
|
|
785
786
|
onNavigateToUrl?: (url: string) => void;
|
|
786
787
|
backgroundTasksMappingFunc?: (value: string) => string;
|
|
787
788
|
}
|
|
788
|
-
declare const PerfAdvisorEntry: ({
|
|
789
|
+
declare const PerfAdvisorEntry: ({ universeUuid, appName, apiUrl, runtimeConfigs, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl, backgroundTasksMappingFunc }: PerfAdvisorEntryProps) => JSX.Element;
|
|
789
790
|
|
|
790
791
|
interface TroubleshootConfigurationProps {
|
|
791
792
|
apiUrl: string;
|
|
@@ -1062,6 +1063,7 @@ declare const RUNTIME_CONFIG_KEYS: {
|
|
|
1062
1063
|
SHOW_QUERIES_VIEW: string;
|
|
1063
1064
|
SHOW_TOPK_METRICS_VIEW: string;
|
|
1064
1065
|
SHOW_DB_CLUSTER_LOAD_VIEW: string;
|
|
1066
|
+
SHOW_TIMEZONE_SELECTOR: string;
|
|
1065
1067
|
};
|
|
1066
1068
|
declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
|
|
1067
1069
|
declare const MORE = "MORE";
|
package/package.json
CHANGED
package/dist/cjs/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ganttChart-module_ganttContainer__ZLGGU{background-color:#fff;display:flex;font-family:Inter,sans-serif;overflow:hidden}.ganttChart-module_groupPanel__oFRg3{border-right:1px dashed #d7dee4;flex-shrink:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.ganttChart-module_groupPanel__oFRg3::-webkit-scrollbar{display:none}.ganttChart-module_groupRow__6PPe1{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;position:relative;user-select:none}.ganttChart-module_groupRow__6PPe1:focus-visible{outline:2px solid #3884fb;outline-offset:-2px}.ganttChart-module_rowContent__gs9Uc{align-items:center;display:flex;flex:1;gap:6px;min-width:0;overflow:hidden}.ganttChart-module_rowLevel1__v2GY5{color:#0b1117;font-size:13px;font-weight:400;padding-bottom:16px;padding-top:16px}.ganttChart-module_rowLevel2__5ftBq{color:#0b1117;font-size:11.5px;font-weight:600;padding-bottom:8px;padding-top:8px}.ganttChart-module_rowLevel3__nqdSs{color:#0b1117;font-size:11px;font-weight:400;padding-bottom:8px;padding-top:8px}.ganttChart-module_expandIcon__wh0gm{flex-shrink:0;font-size:14px;line-height:1;text-align:center;width:14px}.ganttChart-module_rowLabel__-Ol3k{color:inherit;cursor:pointer;letter-spacing:.3px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.ganttChart-module_rowLabel__-Ol3k:hover{box-shadow:inset 0 0 4px #f7f9fbcc}.ganttChart-module_rowLevel3__nqdSs .ganttChart-module_rowLabel__-Ol3k{text-decoration:underline}.ganttChart-module_leftBorder__MYP53{position:relative}.ganttChart-module_leftBorder__MYP53:before{bottom:0;content:"";left:0;position:absolute;top:0;width:2px}.ganttChart-module_leftBorderLast__68qTE{position:relative}.ganttChart-module_leftBorderLast__68qTE:before{bottom:8px;content:"";left:0;position:absolute;top:0;width:2px}.ganttChart-module_category_db__FOtWQ.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_db__FOtWQ.ganttChart-module_leftBorder__MYP53:before{background-color:#7879f1}.ganttChart-module_category_node__ntDIm.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_node__ntDIm.ganttChart-module_leftBorder__MYP53:before{background-color:#ffd383}.ganttChart-module_category_sql__FlcM9.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_sql__FlcM9.ganttChart-module_leftBorder__MYP53:before{background-color:#bb42bc}.ganttChart-module_category_app__PGCVc.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_app__PGCVc.ganttChart-module_leftBorder__MYP53:before{background-color:#2fb3ff}.ganttChart-module_category_infra__ni9Yf.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_infra__ni9Yf.ganttChart-module_leftBorder__MYP53:before{background-color:#507ce1}.ganttChart-module_category_all--background--jobs__HsSBv.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_all--background--jobs__HsSBv.ganttChart-module_leftBorder__MYP53:before{background-color:#97a5b0}.ganttChart-module_badge__fT6pf{align-items:center;border-radius:4px;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-size:11.5px;font-weight:500;height:20px;justify-content:center;line-height:16px;margin-right:8px;min-width:20px;padding:0 6px}.ganttChart-module_badge_db__cfDCy{background-color:#e8e9fe;color:#30307f}.ganttChart-module_badge_node__Qk2pi{background-color:#ffeec8;color:#9d6c00}.ganttChart-module_badge_sql__88SEV{background-color:#bb42bc26;color:#7d2777}.ganttChart-module_badge_app__Sn0l1{background-color:#d7eff4;color:#2b59c3}.ganttChart-module_badge_infra__nGVhx{background-color:#c1ccec;color:#507ce1}.ganttChart-module_badge_bg-jobs__Maw0z{background-color:#e9eef2;color:#4e5f6d}.ganttChart-module_categorySeparator__I-Iud{background-color:#d7dee4;height:1px;width:100%}.ganttChart-module_timelinePanel__2SmIp{flex:1;margin-left:8px;overflow-x:auto;overflow-y:auto;scrollbar-width:none}.ganttChart-module_timelinePanel__2SmIp::-webkit-scrollbar{display:none}.ganttChart-module_timelineSvg__Cbjlv{display:block}.ganttChart-module_timeAxis__Xs2oE text{fill:#0b1117;font-family:Inter,sans-serif;font-size:11px;font-weight:400}.ganttChart-module_tickLabel__bZd9O{fill:#4e5f6d;font-family:Inter,sans-serif;font-size:11px;font-weight:400}
|
package/dist/esm/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ganttChart-module_ganttContainer__ZLGGU{background-color:#fff;display:flex;font-family:Inter,sans-serif;overflow:hidden}.ganttChart-module_groupPanel__oFRg3{border-right:1px dashed #d7dee4;flex-shrink:0;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.ganttChart-module_groupPanel__oFRg3::-webkit-scrollbar{display:none}.ganttChart-module_groupRow__6PPe1{align-items:center;box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;position:relative;user-select:none}.ganttChart-module_groupRow__6PPe1:focus-visible{outline:2px solid #3884fb;outline-offset:-2px}.ganttChart-module_rowContent__gs9Uc{align-items:center;display:flex;flex:1;gap:6px;min-width:0;overflow:hidden}.ganttChart-module_rowLevel1__v2GY5{color:#0b1117;font-size:13px;font-weight:400;padding-bottom:16px;padding-top:16px}.ganttChart-module_rowLevel2__5ftBq{color:#0b1117;font-size:11.5px;font-weight:600;padding-bottom:8px;padding-top:8px}.ganttChart-module_rowLevel3__nqdSs{color:#0b1117;font-size:11px;font-weight:400;padding-bottom:8px;padding-top:8px}.ganttChart-module_expandIcon__wh0gm{flex-shrink:0;font-size:14px;line-height:1;text-align:center;width:14px}.ganttChart-module_rowLabel__-Ol3k{color:inherit;cursor:pointer;letter-spacing:.3px;overflow:hidden;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.ganttChart-module_rowLabel__-Ol3k:hover{box-shadow:inset 0 0 4px #f7f9fbcc}.ganttChart-module_rowLevel3__nqdSs .ganttChart-module_rowLabel__-Ol3k{text-decoration:underline}.ganttChart-module_leftBorder__MYP53{position:relative}.ganttChart-module_leftBorder__MYP53:before{bottom:0;content:"";left:0;position:absolute;top:0;width:2px}.ganttChart-module_leftBorderLast__68qTE{position:relative}.ganttChart-module_leftBorderLast__68qTE:before{bottom:8px;content:"";left:0;position:absolute;top:0;width:2px}.ganttChart-module_category_db__FOtWQ.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_db__FOtWQ.ganttChart-module_leftBorder__MYP53:before{background-color:#7879f1}.ganttChart-module_category_node__ntDIm.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_node__ntDIm.ganttChart-module_leftBorder__MYP53:before{background-color:#ffd383}.ganttChart-module_category_sql__FlcM9.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_sql__FlcM9.ganttChart-module_leftBorder__MYP53:before{background-color:#bb42bc}.ganttChart-module_category_app__PGCVc.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_app__PGCVc.ganttChart-module_leftBorder__MYP53:before{background-color:#2fb3ff}.ganttChart-module_category_infra__ni9Yf.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_infra__ni9Yf.ganttChart-module_leftBorder__MYP53:before{background-color:#507ce1}.ganttChart-module_category_all--background--jobs__HsSBv.ganttChart-module_leftBorderLast__68qTE:before,.ganttChart-module_category_all--background--jobs__HsSBv.ganttChart-module_leftBorder__MYP53:before{background-color:#97a5b0}.ganttChart-module_badge__fT6pf{align-items:center;border-radius:4px;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-size:11.5px;font-weight:500;height:20px;justify-content:center;line-height:16px;margin-right:8px;min-width:20px;padding:0 6px}.ganttChart-module_badge_db__cfDCy{background-color:#e8e9fe;color:#30307f}.ganttChart-module_badge_node__Qk2pi{background-color:#ffeec8;color:#9d6c00}.ganttChart-module_badge_sql__88SEV{background-color:#bb42bc26;color:#7d2777}.ganttChart-module_badge_app__Sn0l1{background-color:#d7eff4;color:#2b59c3}.ganttChart-module_badge_infra__nGVhx{background-color:#c1ccec;color:#507ce1}.ganttChart-module_badge_bg-jobs__Maw0z{background-color:#e9eef2;color:#4e5f6d}.ganttChart-module_categorySeparator__I-Iud{background-color:#d7dee4;height:1px;width:100%}.ganttChart-module_timelinePanel__2SmIp{flex:1;margin-left:8px;overflow-x:auto;overflow-y:auto;scrollbar-width:none}.ganttChart-module_timelinePanel__2SmIp::-webkit-scrollbar{display:none}.ganttChart-module_timelineSvg__Cbjlv{display:block}.ganttChart-module_timeAxis__Xs2oE text{fill:#0b1117;font-family:Inter,sans-serif;font-size:11px;font-weight:400}.ganttChart-module_tickLabel__bZd9O{fill:#4e5f6d;font-family:Inter,sans-serif;font-size:11px;font-weight:400}
|