@yugabytedb/perf-advisor-ui 1.0.53 → 1.0.54

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/types.d.ts CHANGED
@@ -329,14 +329,14 @@ declare enum PrimaryDashboardViewTabs {
329
329
  ANOMALY = "Anomaly",
330
330
  QUERY = "Query"
331
331
  }
332
- interface QueryPageParams extends TPUrlParams {
332
+ interface QueryPageParams extends PAUrlParams {
333
333
  dbId?: string | null;
334
334
  queryId?: string | null;
335
335
  universeId?: string | null;
336
336
  userId?: string | null;
337
337
  type: QueryType | null;
338
338
  }
339
- interface TPUrlParams {
339
+ interface PAUrlParams {
340
340
  duration?: string | null;
341
341
  startTime?: string | null;
342
342
  endTime?: string | null;
@@ -546,7 +546,7 @@ interface MetricsAnalysisEntryProps {
546
546
  appName: AppName;
547
547
  timezone?: string;
548
548
  apiUrl: string;
549
- onSelectedIssue?: (troubleshootUuid: string | null, params?: TPUrlParams) => void;
549
+ onSelectedIssue?: (troubleshootUuid: string | null, params?: PAUrlParams) => void;
550
550
  onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
551
551
  }
552
552
  declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, universeData, appName, timezone, apiUrl, onSelectedIssue, onSelectedQuery }: MetricsAnalysisEntryProps) => JSX.Element;
@@ -556,7 +556,7 @@ interface PerfAdvisorEntryProps {
556
556
  universeUuid: string;
557
557
  appName: AppName;
558
558
  apiUrl: string;
559
- onSelectedIssue?: (troubleshootUuid: string, params?: TPUrlParams) => void;
559
+ onSelectedIssue?: (troubleshootUuid: string, params?: PAUrlParams) => void;
560
560
  onSelectedQuery?: (queryId: string, params?: QueryPageParams) => void;
561
561
  }
562
562
  declare const PerfAdvisorEntry: ({ timezone, universeUuid, appName, apiUrl, onSelectedIssue, onSelectedQuery }: PerfAdvisorEntryProps) => JSX.Element;
@@ -651,7 +651,7 @@ interface YBButtonProps extends Omit<MUIButtonProps, 'variant' | 'color' | 'clas
651
651
  }
652
652
  declare const YBButton: FC<YBButtonProps>;
653
653
 
654
- interface CodeBlockProps$1 {
654
+ interface CodeBlockProps {
655
655
  showCopyButton?: boolean;
656
656
  multiBlock?: boolean;
657
657
  codeClassName?: string;
@@ -667,26 +667,9 @@ interface CodeBlockProps$1 {
667
667
  collapseLabel?: string;
668
668
  onCopySuccess?: () => void;
669
669
  }
670
- declare const YBCodeBlock: FC<CodeBlockProps$1>;
671
-
672
- interface CodeBlockProps {
673
- showCopyButton?: boolean;
674
- analyticsEventProps?: Record<string, string>;
675
- multiBlock?: boolean;
676
- codeClassName?: string;
677
- preClassName?: string;
678
- lang?: string;
679
- containerClassName?: string;
680
- text: string | string[] | React$1.ReactElement | React$1.ReactElement[];
681
- dataTestId?: string;
682
- enabledExpandCollapse?: boolean;
683
- showExpandCollapse?: boolean;
684
- collapseHeight?: number;
685
- appName: AppName;
686
- }
687
- declare const YBCodeBlockCopy: FC<CodeBlockProps>;
670
+ declare const YBCodeBlock: FC<CodeBlockProps>;
688
671
 
689
- 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">;
672
+ 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">;
690
673
 
691
674
  interface YBErrorIndicatorProps {
692
675
  type?: string;
@@ -838,7 +821,7 @@ interface YBPanelItemProps {
838
821
  body: any;
839
822
  title?: string;
840
823
  }
841
- declare const YBPanelItem: ({ noBackground, className, bodyClassName, children, body, header, title, }: YBPanelItemProps) => JSX.Element;
824
+ declare const YBPanelItem: ({ noBackground, className, bodyClassName, children, body, header, title }: YBPanelItemProps) => JSX.Element;
842
825
 
843
826
  interface CustomTableOptions extends MUIDataTableOptions {
844
827
  customHeader?: ReactNode;
@@ -888,7 +871,7 @@ declare const YBToggleField: <T extends FieldValues>(props: YBInputFieldProps<T>
888
871
 
889
872
  interface MetricSplitSelectorProps {
890
873
  metricSplitSelectors: any;
891
- anomalyData?: Anomaly | null;
874
+ anomalyData?: AnomalyGroup | null;
892
875
  shouldShowViewMetricsLabel?: boolean;
893
876
  onSplitTypeSelected: (selectedOption: MetricMeasure) => void;
894
877
  }
@@ -1041,11 +1024,16 @@ declare const filterDurations: readonly [{
1041
1024
  }];
1042
1025
  declare const CATEGORY_HEADER_DATA_MAP: Record<any, any>;
1043
1026
  declare const QUERY_DETAILS = "QUERY DETAILS";
1027
+ declare const QUERY_TAG = "QUERY";
1028
+ declare const DB_CAPS_TAG_ = "DATABASE";
1029
+ declare const QUERY_TYPE_TAG = "QUERY TYPE";
1044
1030
  declare const DB_TAG = "Database";
1045
1031
  declare const USER_TAG = "User";
1046
1032
  declare const TABLE_TAG = "Table";
1047
1033
  declare const TABLET_TAG = "Tablet Id";
1034
+ declare const TABLET_ID_TAG = "TABLET ID";
1048
1035
  declare const ANOMALY_TAG = "ANOMALY";
1036
+ declare const REGION_ZONE_TAG = "REGION/ZONE";
1049
1037
  declare const REGION_TAG = "Region";
1050
1038
  declare const ZONE_TAG = "Zone";
1051
1039
  declare const MetricOrigin: {
@@ -1289,4 +1277,4 @@ declare const isValidObject: typeof isDefinedNotNull;
1289
1277
  declare function removeNullProperties(obj: any): void;
1290
1278
  declare function isYAxisGreaterThanThousand(dataArray: any): boolean;
1291
1279
 
1292
- export { ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE, ACTIVE_SESSION_HISTORY_EPS_GLOBAL, ACTIVE_SESSION_HISTORY_QUERY_EVENTS, 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, CORES, CPU_CORES, CPU_COUNT, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterLoadTabs, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_TAG, DEFAULT_ERROR_MESSAGES, 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_DATABASES_STORAGE_KEY, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_DB_RESOURCES_WITH_GRAPHS, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_DATABASES, 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, RCA_GANT_CHART, 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, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, otherSplitSelectors, removeNullProperties, useCodeBlockStyles };
1280
+ export { ACTIVE_SESSION_HISOTRY_EPS_CLIENT_NODE, ACTIVE_SESSION_HISTORY_EPS_GLOBAL, ACTIVE_SESSION_HISTORY_QUERY_EVENTS, 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, CORES, CPU_CORES, CPU_COUNT, CQL_QUERY_REQUEST_GRAPHS, ClusterLoadResponseData, ClusterLoadTabs, ClusterNodeInfo, ClusterNodeListMetadata, ClusterRegionSelector, Column, ColumnOptions, ConfigureUniverseMetadata, DB_CAPS_TAG_, DB_TAG, DEFAULT_ERROR_MESSAGES, 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_DATABASES_STORAGE_KEY, METRICS_OUTLIER_TABLES_STORAGE_KEY, METRICS_SESSION_STORAGE_KEY, METRIC_DB_RESOURCES_WITH_GRAPHS, METRIC_FONT, METRIC_NAMES, METRIC_RESOURCES_WITH_GRAPHS, METRIC_TABLES_RESOURCES_WITH_GRAPHS, METRIC_TABS, METRIC_TABS_DATABASES, 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, PAUrlParams, PerfAdvisorAPI, PerfAdvisorEntry, PrimaryDashboardViewTabs, QUERIES, QUERY_DETAILS, QUERY_KEY, QUERY_TAG, QUERY_TYPE_TAG, QueryPageParams, QueryType, QueryWaitEvents, RCAGuideline, RCA_GANT_CHART, REACT_APP_API_URL, REGION_TAG, REGION_ZONE_TAG, RUNTIME_CONFIG_KEYS, Resources, RowItemClasses$1 as RowItemClasses, RuntimeConfigData, RuntimeConfigType, RuntimeConfigs, SQL_QUERY_REQUEST_GRAPHS, SortDirection, SplitMode, SplitType, TABLET_ID_TAG, TABLET_TAG, TABLE_REQUEST_GRAPHS, TABLE_TAG, TIME_FILTER_LABEL, TIME_FILTER_VALUES, TPFeatureFlags, 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, YBDateTimePicker, YBErrorIndicator, YBInfinitePagination, YBInput, YBInputField, YBLabel, YBModal, YBPagination, YBPanelItem, YBSelect, YBTable, YBToggle, YBToggleField, YBTooltip, ZONE_TAG, ZoneNodeSelector, filterDurations, getCustomFooterComponent, getRowCellComponent, isDefinedNotNull, isEmptyArray, isEmptyObject, isEmptyString, isNonEmptyArray, isNonEmptyObject, isNonEmptyString, isNullOrEmpty, isValidObject, isYAxisGreaterThanThousand, metricOutlierSelectors, metricSplitSelectors, otherSplitSelectors, removeNullProperties, useCodeBlockStyles };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.53",
3
+ "version": "1.0.54",
4
4
  "main": "dist/cjs/index.js",
5
5
  "types": "dist/types.d.ts",
6
6
  "author": "Rajagopalan Madhavan",