@yugabytedb/perf-advisor-ui 1.0.55-alpha.18 → 1.0.57
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/types.d.ts +10 -5
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -619,7 +619,7 @@ declare class ApiService {
|
|
|
619
619
|
fetchAnomalies: (universeUuid: string, startTime?: Date | null, endTime?: Date | null, apiUrl?: string) => Promise<Anomaly[]>;
|
|
620
620
|
fetchAnomaliesPage: (universeUuid: string, pageno: number, apiUrl?: string, records_to_fetch?: number, startTime?: Date | null, endTime?: Date | null, category?: any, searchInput?: string) => Promise<axios.AxiosResponse<Anomaly[]>>;
|
|
621
621
|
fetchQueriesPage: (universeUuid: string, payload: any) => Promise<axios.AxiosResponse<GraphRequestParams[]>>;
|
|
622
|
-
fetchQueriesStatsPage: (universeUuid: string, payload: any) => Promise<axios.AxiosResponse<GraphRequestParams[]>>;
|
|
622
|
+
fetchQueriesStatsPage: (universeUuid: string, payload: any, getClusterDetails: () => any, filteredLegends: string[]) => Promise<axios.AxiosResponse<GraphRequestParams[]>>;
|
|
623
623
|
fetchNamespaceSchemas: (universeUuid: string, namespaceName: string, apiUrl?: string) => Promise<string[]>;
|
|
624
624
|
fetchQueryStats: (universeUuid: string, payload: any, apiUrl?: string) => Promise<string[]>;
|
|
625
625
|
fetchTablesPage: (universeUuid: string, payload: any) => Promise<axios.AxiosResponse<any[]>>;
|
|
@@ -644,7 +644,12 @@ declare class ApiService {
|
|
|
644
644
|
fetchSpecificRuntimeConfigs: (scopeUuid: string | undefined, keys: string[], apiUrl?: string) => Promise<string[]>;
|
|
645
645
|
updateRuntimeConfig: (scopeUuid: string | undefined, configKey: string, configValue: string, apiUrl?: string) => Promise<any>;
|
|
646
646
|
deleteRuntimeConfig: (scopeUuid: string | undefined, configKey: string, apiUrl?: string) => Promise<any>;
|
|
647
|
-
fetchAnomalyGroups: (universeUuid: string, startTime: string | null, endTime: string | null,
|
|
647
|
+
fetchAnomalyGroups: (universeUuid: string, startTime: string | null, endTime: string | null, anomalyType: string | undefined, getClusterDetails: () => {
|
|
648
|
+
cluster: string;
|
|
649
|
+
region: string;
|
|
650
|
+
zone: string;
|
|
651
|
+
node: string;
|
|
652
|
+
}, apiUrl?: string) => {};
|
|
648
653
|
fetchAnomalyGroupsByType: (universeUuid: string, startTime: string, endTime: string, anomalyType: string, apiUrl?: string) => Promise<AnomalyGroup[]>;
|
|
649
654
|
fetchAnomalyGroupById: (universeUuid: string, anomalyGroupId: string, startTime: string, endTime: string, apiUrl?: string) => {};
|
|
650
655
|
}
|
|
@@ -676,7 +681,7 @@ interface CodeBlockProps {
|
|
|
676
681
|
}
|
|
677
682
|
declare const YBCodeBlock: FC<CodeBlockProps>;
|
|
678
683
|
|
|
679
|
-
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"codeClassName" | "preClassName" | "containerClassName" | "searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryPreBlockWeb" | "queryCodeElement" | "queryCodeElementWeb" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn" | "preQueryBlock">;
|
|
684
|
+
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"codeClassName" | "preClassName" | "containerClassName" | "searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryPreBlockWeb" | "queryPreBlockFull" | "queryCodeElement" | "queryCodeElementWeb" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn" | "preQueryBlock">;
|
|
680
685
|
|
|
681
686
|
interface YBErrorIndicatorProps {
|
|
682
687
|
type?: string;
|
|
@@ -879,10 +884,9 @@ declare const YBToggleField: <T extends FieldValues>(props: YBInputFieldProps<T>
|
|
|
879
884
|
interface MetricSplitSelectorProps {
|
|
880
885
|
metricSplitSelectors: any;
|
|
881
886
|
anomalyData?: AnomalyGroup | null;
|
|
882
|
-
shouldShowViewMetricsLabel?: boolean;
|
|
883
887
|
onSplitTypeSelected: (selectedOption: MetricMeasure) => void;
|
|
884
888
|
}
|
|
885
|
-
declare const MetricSplitSelector: ({ metricSplitSelectors, onSplitTypeSelected,
|
|
889
|
+
declare const MetricSplitSelector: ({ metricSplitSelectors, onSplitTypeSelected, anomalyData }: MetricSplitSelectorProps) => JSX.Element;
|
|
886
890
|
|
|
887
891
|
interface OutlierSelectorProps {
|
|
888
892
|
metricOutlierSelectors: any;
|
|
@@ -929,6 +933,7 @@ declare const CPU_CORES = "# vCPU";
|
|
|
929
933
|
declare const MetricConsts: {
|
|
930
934
|
readonly NODE_AVERAGE: "Selected Nodes Average";
|
|
931
935
|
readonly ALL: "all";
|
|
936
|
+
readonly ALL_DATABASES: "All Databases";
|
|
932
937
|
readonly TOP: "top";
|
|
933
938
|
readonly PRIMARY: "PRIMARY";
|
|
934
939
|
};
|