@yugabytedb/perf-advisor-ui 1.0.139 → 1.0.141
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.
|
@@ -247,6 +247,8 @@ export declare const METRIC_K8S_RESOURCES_WITH_GRAPHS: readonly [{
|
|
|
247
247
|
}];
|
|
248
248
|
export declare const METRIC_TABS: ("ysql_ops" | "ycql_ops" | "server" | "per_process" | "disk_io" | "tserver" | "master" | "master_advanced" | "lsmdb")[];
|
|
249
249
|
export declare const METRIC_TABS_K8S: ("container" | "ysql_ops" | "ycql_ops" | "tserver" | "master" | "master_advanced" | "lsmdb")[];
|
|
250
|
+
export declare const MASTER_NODE_METRIC_TAB_NAMES: ReadonlySet<string>;
|
|
251
|
+
export declare const TSERVER_NODE_METRIC_TAB_NAMES: ReadonlySet<string>;
|
|
250
252
|
export declare const RCA_GANT_CHART = "gant-chart-anomalies";
|
|
251
253
|
export declare const METRIC_NAMES: {
|
|
252
254
|
ysql_server_rpc_per_second: string;
|
package/dist/helpers/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Anomaly, AnomalyCategory, AppName, ClusterLoadOverallTabs, ClusterLoadSubTabs, GraphFilters, InsightsTabs, WaitEventClassification, GraphRequestParams, GraphType, MetricMeasure, QueryPageParams, AnomalyGroup, TransformedData, TransformedDbLoadData, TransformedNodeLoadData, TransformedTabletsData, BackgroundTasksResponse, TransformedBackgroundTasksResponse, AnomalyPossibleCauseData, UniverseNodeDetails, QueryPlanEntry, ClusterDetails } from './dtos';
|
|
1
|
+
import { Anomaly, AnomalyCategory, AppName, ClusterLoadOverallTabs, ClusterLoadSubTabs, GraphFilters, InsightsTabs, WaitEventClassification, GraphRequestParams, GraphType, MetricMeasure, QueryPageParams, AnomalyGroup, TransformedData, TransformedDbLoadData, TransformedNodeLoadData, TransformedTabletsData, BackgroundTasksResponse, TransformedBackgroundTasksResponse, AnomalyPossibleCauseData, UniverseNodeDetails, QueryPlanEntry, ClusterDetails, NodeType } from './dtos';
|
|
2
2
|
export declare const formatData: (data: any) => any;
|
|
3
3
|
export declare const formatUniverseNodeDetails: (universeNodesDetails: UniverseNodeDetails) => {
|
|
4
4
|
primaryZoneMapping: any;
|
|
@@ -56,6 +56,12 @@ export declare const getOperations: (metricMeasure: string, metricData: any, gra
|
|
|
56
56
|
export declare const calculateDateDifference: (startDate: Date, endDate: Date) => number;
|
|
57
57
|
export declare const applyClusterFilters: (filters: GraphFilters, details: Pick<ClusterDetails, 'cluster' | 'region' | 'zone' | 'node' | 'nodeType'>) => void;
|
|
58
58
|
export declare const buildClusterUrlParams: (details: Pick<ClusterDetails, 'cluster' | 'region' | 'zone' | 'node' | 'nodeType'>) => URLSearchParams;
|
|
59
|
+
export type MetricTabResource = {
|
|
60
|
+
readonly title: string;
|
|
61
|
+
readonly name: string;
|
|
62
|
+
readonly metrics: readonly string[];
|
|
63
|
+
};
|
|
64
|
+
export declare const filterMetricResourcesByNodeType: (resources: readonly MetricTabResource[], nodeType?: NodeType) => readonly MetricTabResource[];
|
|
59
65
|
export declare const buildTopKMetricParams: (clusterDetails: ClusterDetails, metricsTabNumber: number, isK8sUniverse?: boolean) => GraphRequestParams[] | undefined;
|
|
60
66
|
export declare const buildAnomalyGraphParams: (clusterDetails: ClusterDetails, graphParamsCopy: GraphRequestParams[]) => GraphRequestParams[];
|
|
61
67
|
export declare const buildHistoricalQueryParams: (clusterDetails: ClusterDetails, urlParams: QueryPageParams | null, graphNames: readonly string[], anomalyData?: AnomalyGroup | null, ashGroupBy?: WaitEventClassification) => GraphRequestParams[];
|