@yugabytedb/perf-advisor-ui 1.0.86 → 1.0.88

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
@@ -319,6 +319,8 @@ interface MetadataFields {
319
319
  dataMountPoints: string[];
320
320
  otherMountPoints: string[];
321
321
  lastSyncError?: string | null;
322
+ status?: boolean;
323
+ actions?: string;
322
324
  }
323
325
  interface AuthDetails {
324
326
  authType: string;
@@ -725,22 +727,24 @@ interface MetricsAnalysisEntryProps {
725
727
  appName: AppName;
726
728
  timezone?: string;
727
729
  apiUrl: string;
730
+ showStandaloneAnomalies?: boolean;
728
731
  onSelectedIssue?: (troubleshootUuid: string | null, params?: PAUrlParams) => void;
729
732
  onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
730
733
  onNavigateToUrl?: (url: string) => void;
731
734
  }
732
- declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName, timezone, apiUrl, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: MetricsAnalysisEntryProps) => JSX.Element;
735
+ declare const MetricsAnalysisEntry: ({ universeUuid, troubleshootUuid, appName, timezone, apiUrl, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: MetricsAnalysisEntryProps) => JSX.Element;
733
736
 
734
737
  interface PerfAdvisorEntryProps {
735
738
  timezone?: string;
736
739
  universeUuid: string;
737
740
  appName: AppName;
738
741
  apiUrl: string;
742
+ showStandaloneAnomalies?: boolean;
739
743
  onSelectedIssue?: (troubleshootUuid: string, params?: PAUrlParams) => void;
740
744
  onSelectedQuery?: (queryId: string, params?: QueryPageParams) => void;
741
745
  onNavigateToUrl?: (url: string) => void;
742
746
  }
743
- declare const PerfAdvisorEntry: ({ timezone, universeUuid, appName, apiUrl, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: PerfAdvisorEntryProps) => JSX.Element;
747
+ declare const PerfAdvisorEntry: ({ timezone, universeUuid, appName, apiUrl, showStandaloneAnomalies, onSelectedIssue, onSelectedQuery, onNavigateToUrl }: PerfAdvisorEntryProps) => JSX.Element;
744
748
 
745
749
  interface TroubleshootConfigurationProps {
746
750
  apiUrl: string;
@@ -762,7 +766,6 @@ declare const RuntimeConfigs: ({ apiUrl, appName, toast }: RuntimeConfigsProps)
762
766
  declare enum QUERY_KEY {
763
767
  fetchAnomalies = "fetchAnomalies",
764
768
  fetchGraphs = "fetchGraphs",
765
- fetchQueries = "fetchQueries",
766
769
  fetchUniverseMetadataList = "fetchUniverseMetadataList",
767
770
  deleteUniverseMetadata = "deleteUniverseMetadata",
768
771
  updateUniverseMetadata = "updateUniverseMetadata",
@@ -791,6 +794,7 @@ declare enum QUERY_KEY {
791
794
  fetchLoadDbStatsPage = "fetchLoadDbStatsPage",
792
795
  fetchTabletsStatsPage = "fetchTabletsStatsPage",
793
796
  fetchNodeLoadStatsPage = "fetchNodeLoadStatsPage",
797
+ sendTelemetryEvent = "sendTelemetryEvent",
794
798
  fetchBackgroundTasks = "fetchBackgroundTasks"
795
799
  }
796
800
  declare class ApiService {
@@ -808,7 +812,6 @@ declare class ApiService {
808
812
  fetchQueriesDatabases: (universeUuid: string, apiUrl?: string) => Promise<string[]>;
809
813
  fetchAnomaliesById: (universeUuid: string, anomalyUuid: string, apiUrl?: string) => Promise<Anomaly>;
810
814
  fetchGraphs: (universeUuid: String, data: any, apiUrl?: string, requestKey?: string) => Promise<ClusterLoadResponseData[]>;
811
- fetchQueries: (universeUuid: string, apiUrl?: string, queryParams?: QueryPageParams | null) => Promise<GraphRequestParams[]>;
812
815
  fetchCustomerMetadataList: (apiUrl?: string) => Promise<MetadataFields[]>;
813
816
  fetchCustomerMetadataById: (customerUuid: string, apiUrl?: string) => Promise<any>;
814
817
  updateCustomerMetadata: (customerUuid: string, data: any, apiUrl?: string) => Promise<any>;
@@ -834,6 +837,7 @@ declare class ApiService {
834
837
  }, apiUrl?: string) => {};
835
838
  fetchAnomalyGroupsByType: (universeUuid: string, startTime: string, endTime: string, anomalyType: string, apiUrl?: string) => Promise<AnomalyGroup[]>;
836
839
  fetchAnomalyGroupById: (universeUuid: string, anomalyGroupId: string, startTime: string, endTime: string, apiUrl?: string) => {};
840
+ sendTelemetryEvent: (universeUuid: string, payload: any, apiUrl?: string) => Promise<any>;
837
841
  }
838
842
  declare const PerfAdvisorAPI: ApiService;
839
843
 
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.86",
3
+ "version": "1.0.88",
4
4
  "main": "dist/cjs/index.js",
5
5
  "types": "dist/types.d.ts",
6
+ "module": "dist/esm/index.js",
6
7
  "author": "Rajagopalan Madhavan",
7
8
  "files": [
8
9
  "dist",