@yugabytedb/perf-advisor-ui 1.0.14 → 1.0.16
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.css +10 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/types.d.ts +18 -11
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -647,16 +647,20 @@ interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'clas
|
|
|
647
647
|
declare const YBButton: FC<YBButtonProps>;
|
|
648
648
|
|
|
649
649
|
interface CodeBlockProps$1 {
|
|
650
|
-
analyticsEventOnCopy?: string;
|
|
651
|
-
analyticsEventProps?: Record<string, string>;
|
|
652
650
|
showCopyButton?: boolean;
|
|
653
651
|
multiBlock?: boolean;
|
|
654
652
|
codeClassName?: string;
|
|
655
653
|
preClassName?: string;
|
|
656
|
-
lang?:
|
|
654
|
+
lang?: string;
|
|
657
655
|
containerClassName?: string;
|
|
658
656
|
text: string | string[] | React$1.ReactElement | React$1.ReactElement[];
|
|
659
657
|
dataTestId?: string;
|
|
658
|
+
enabledExpandCollapse?: boolean;
|
|
659
|
+
collapseHeight?: number;
|
|
660
|
+
copyLabel?: string;
|
|
661
|
+
showAllLabel?: string;
|
|
662
|
+
collapseLabel?: string;
|
|
663
|
+
onCopySuccess?: () => void;
|
|
660
664
|
}
|
|
661
665
|
declare const YBCodeBlock: FC<CodeBlockProps$1>;
|
|
662
666
|
|
|
@@ -677,7 +681,7 @@ interface CodeBlockProps {
|
|
|
677
681
|
}
|
|
678
682
|
declare const YBCodeBlockCopy: FC<CodeBlockProps>;
|
|
679
683
|
|
|
680
|
-
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"searchBox" | "refreshBtn" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryCodeElement" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
|
|
684
|
+
declare const useCodeBlockStyles: (props?: any) => _material_ui_core_styles_withStyles.ClassNameMap<"searchBox" | "refreshBtn" | "codeBlock" | "codeBlockSqlView" | "tableHeaderCell" | "rowTableCell" | "tableContainer" | "tableRow" | "queryTableRow" | "queryTableCell" | "queryPreBlock" | "queryCodeElement" | "queryContainerCode" | "defaultActions" | "overrideExpandBtn">;
|
|
681
685
|
|
|
682
686
|
interface YBErrorIndicatorProps {
|
|
683
687
|
type?: string;
|
|
@@ -918,6 +922,8 @@ declare const ALL_REGIONS = "All Regions and Clusters";
|
|
|
918
922
|
declare const ALL = "All";
|
|
919
923
|
declare const ALL_ZONES = "All Zones and Nodes";
|
|
920
924
|
declare const ASH = "ASH";
|
|
925
|
+
declare const TYPE = "type";
|
|
926
|
+
declare const QUERIES = "Queries";
|
|
921
927
|
declare const MIN_OUTLIER_NUM_NODES = 3;
|
|
922
928
|
declare const MAX_OUTLIER_NUM_NODES = 10;
|
|
923
929
|
declare const METRIC_FONT = "Inter";
|
|
@@ -969,10 +975,11 @@ declare const RUNTIME_CONFIG_KEYS: {
|
|
|
969
975
|
declare const ANOMALY_TYPE_TO_NAME_MAP: Record<string, string>;
|
|
970
976
|
declare const MORE = "MORE";
|
|
971
977
|
declare const ELLIPSIS = "...";
|
|
978
|
+
declare const VIEW_MORE = "View More";
|
|
972
979
|
declare const TIME_FILTER_LABEL: {
|
|
973
980
|
readonly ONE_HOUR: "Last 1 hour";
|
|
974
981
|
readonly SIX_HOURS: "Last 6 hours";
|
|
975
|
-
readonly
|
|
982
|
+
readonly ONE_DAY: "Last 1 day";
|
|
976
983
|
readonly TWO_DAYS: "Last 2 days";
|
|
977
984
|
readonly SEVEN_DAYS: "Last 7 days";
|
|
978
985
|
readonly CUSTOM: "Custom";
|
|
@@ -980,20 +987,20 @@ declare const TIME_FILTER_LABEL: {
|
|
|
980
987
|
declare const TIME_FILTER_VALUES: {
|
|
981
988
|
readonly ONE_HOUR: "1h";
|
|
982
989
|
readonly SIX_HOURS: "6h";
|
|
983
|
-
readonly
|
|
990
|
+
readonly ONE_DAY: "1d";
|
|
984
991
|
readonly TWO_DAYS: "2d";
|
|
985
992
|
readonly SEVEN_DAYS: "7d";
|
|
986
993
|
readonly CUSTOM: "Custom";
|
|
987
994
|
};
|
|
988
995
|
declare const ANOMALY_FILTER_DURATION_OPTIONS: readonly [{
|
|
989
|
-
readonly label: "Last
|
|
990
|
-
readonly value: "
|
|
996
|
+
readonly label: "Last 1 hour";
|
|
997
|
+
readonly value: "1h";
|
|
991
998
|
}, {
|
|
992
999
|
readonly label: "Last 6 hours";
|
|
993
1000
|
readonly value: "6h";
|
|
994
1001
|
}, {
|
|
995
|
-
readonly label: "Last 1
|
|
996
|
-
readonly value: "
|
|
1002
|
+
readonly label: "Last 1 day";
|
|
1003
|
+
readonly value: "1d";
|
|
997
1004
|
}, {
|
|
998
1005
|
readonly label: "Last 2 days";
|
|
999
1006
|
readonly value: "2d";
|
|
@@ -1221,4 +1228,4 @@ declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
|
|
|
1221
1228
|
declare function divideYAxisByThousand(dataArray: any): any;
|
|
1222
1229
|
declare function timeFormatXAxis(dataArray: any, timezone: string | undefined): any;
|
|
1223
1230
|
|
|
1224
|
-
export { ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AnomalyTypeFilter, AppName, AttachUniversePayload, AuthDetails, BACKGROUND_QUERY_REQUEST_GRAPHS, CATALOG_READ_REQUEST_GRAPH, CATEGORY_HEADER_DATA_MAP, COLORS, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_TAG, DEFAULT_RECORDS_PER_PAGE, ELLIPSIS, FormattedAnomalyRca, GLOBAL_RUNTIME_CONFIG, GROUP_BY_OPERATIONS, GenericFailure, GraphAxisData, GraphFilters, GraphMetadata, GraphRequestParams, GraphResponse, GraphSettings, GraphType, GroupEventsParam, IN_DEVELOPMENT_MODE, InsightsTabs, MAX_OUTLIER_NUM_NODES, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_TABLES, MIN_OUTLIER_NUM_NODES, MORE, MetadataFields, MetricConsts, MetricMeasure, MetricOrigin, MetricSplitSelector, MetricsAnalysisEntry, MetricsAnalysisEntryProps, NAME_COLOR_MAPPING, NodeData, NodeDataCloudInfo, NodeDataMetrics, NodeDetails, NodeInfo, NodeState, OutlierSelector, PerfAdvisorAPI, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERY_DETAILS, QUERY_KEY, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, REACT_APP_API_URL, REGION_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SQL_QUERY_REQUEST_GRAPHS, SortDirection, SplitMode, SplitType, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, TPUrlParams, TableInfo, TablePageParams, TroubleshootingRecommendations, URL_TAB_PATH, USER_TAG, Universe, UniverseConfig, UniverseMetadataFields, UniverseQueryData, UniverseQueryStatsData, UpdateMetadataFormFields, UpdateRuntimeConfigFormFields, UrlParams, WAIT_EVENT_MAPPING, WaitEventClassification, YBAlert, YBButton, YBCheckbox, YBCheckboxField, YBCodeBlock, YBCodeBlockCopy, YBDateTimePicker, YBErrorIndicator, YBInfinitePagination, YBInput, YBInputField, YBLabel, YBModal, YBPagination, YBPanelItem, YBSelect, YBTable, YBToggle, YBToggleField, YBTooltip, ZONE_TAG, ZoneNodeSelector, divideYAxisByThousand, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, removeNullProperties, timeFormatXAxis, useCodeBlockStyles };
|
|
1231
|
+
export { ALL, ALL_REGIONS, ALL_ZONES, ANOMALY_CATEGORY_LIST, ANOMALY_FILTER_DURATION_OPTIONS, ANOMALY_TAG, ANOMALY_TYPE_TO_NAME_MAP, ASH, ASH_GROUPBY_VALUES, AggregatedLineSettings, Aggregation, AlertVariant, Anomaly, AnomalyCategory, AnomalyDetails, AnomalyDetectionStatus, AnomalyDetectionStatusText, AnomalyGroup, AnomalyInstance, AnomalyResponse, AnomalyType, AnomalyTypeFilter, AppName, AttachUniversePayload, AuthDetails, BACKGROUND_QUERY_REQUEST_GRAPHS, CATALOG_READ_REQUEST_GRAPH, CATEGORY_HEADER_DATA_MAP, COLORS, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_TAG, DEFAULT_RECORDS_PER_PAGE, ELLIPSIS, FormattedAnomalyRca, GLOBAL_RUNTIME_CONFIG, GROUP_BY_OPERATIONS, GenericFailure, GraphAxisData, GraphFilters, GraphMetadata, GraphRequestParams, GraphResponse, GraphSettings, GraphType, GroupEventsParam, IN_DEVELOPMENT_MODE, InsightsTabs, MAX_OUTLIER_NUM_NODES, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_TABLES, MIN_OUTLIER_NUM_NODES, MORE, MetadataFields, MetricConsts, MetricMeasure, MetricOrigin, MetricSplitSelector, MetricsAnalysisEntry, MetricsAnalysisEntryProps, NAME_COLOR_MAPPING, NodeData, NodeDataCloudInfo, NodeDataMetrics, NodeDetails, NodeInfo, NodeState, OutlierSelector, PerfAdvisorAPI, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERIES, QUERY_DETAILS, QUERY_KEY, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, REACT_APP_API_URL, REGION_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SQL_QUERY_REQUEST_GRAPHS, SortDirection, SplitMode, SplitType, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, TPUrlParams, TYPE, TableInfo, TablePageParams, TroubleshootingRecommendations, URL_TAB_PATH, USER_TAG, Universe, UniverseConfig, UniverseMetadataFields, UniverseQueryData, UniverseQueryStatsData, UpdateMetadataFormFields, UpdateRuntimeConfigFormFields, UrlParams, VIEW_MORE, WAIT_EVENT_MAPPING, WaitEventClassification, YBAlert, YBButton, YBCheckbox, YBCheckboxField, YBCodeBlock, YBCodeBlockCopy, YBDateTimePicker, YBErrorIndicator, YBInfinitePagination, YBInput, YBInputField, YBLabel, YBModal, YBPagination, YBPanelItem, YBSelect, YBTable, YBToggle, YBToggleField, YBTooltip, ZONE_TAG, ZoneNodeSelector, divideYAxisByThousand, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, removeNullProperties, timeFormatXAxis, useCodeBlockStyles };
|