@yugabytedb/perf-advisor-ui 1.0.87 → 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
@@ -727,11 +727,12 @@ interface MetricsAnalysisEntryProps {
727
727
  appName: AppName;
728
728
  timezone?: string;
729
729
  apiUrl: string;
730
+ showStandaloneAnomalies?: boolean;
730
731
  onSelectedIssue?: (troubleshootUuid: string | null, params?: PAUrlParams) => void;
731
732
  onSelectedQuery?: (queryId: string | null, params?: QueryPageParams) => void;
732
733
  onNavigateToUrl?: (url: string) => void;
733
734
  }
734
- 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;
735
736
 
736
737
  interface PerfAdvisorEntryProps {
737
738
  timezone?: string;
@@ -765,7 +766,6 @@ declare const RuntimeConfigs: ({ apiUrl, appName, toast }: RuntimeConfigsProps)
765
766
  declare enum QUERY_KEY {
766
767
  fetchAnomalies = "fetchAnomalies",
767
768
  fetchGraphs = "fetchGraphs",
768
- fetchQueries = "fetchQueries",
769
769
  fetchUniverseMetadataList = "fetchUniverseMetadataList",
770
770
  deleteUniverseMetadata = "deleteUniverseMetadata",
771
771
  updateUniverseMetadata = "updateUniverseMetadata",
@@ -794,6 +794,7 @@ declare enum QUERY_KEY {
794
794
  fetchLoadDbStatsPage = "fetchLoadDbStatsPage",
795
795
  fetchTabletsStatsPage = "fetchTabletsStatsPage",
796
796
  fetchNodeLoadStatsPage = "fetchNodeLoadStatsPage",
797
+ sendTelemetryEvent = "sendTelemetryEvent",
797
798
  fetchBackgroundTasks = "fetchBackgroundTasks"
798
799
  }
799
800
  declare class ApiService {
@@ -811,7 +812,6 @@ declare class ApiService {
811
812
  fetchQueriesDatabases: (universeUuid: string, apiUrl?: string) => Promise<string[]>;
812
813
  fetchAnomaliesById: (universeUuid: string, anomalyUuid: string, apiUrl?: string) => Promise<Anomaly>;
813
814
  fetchGraphs: (universeUuid: String, data: any, apiUrl?: string, requestKey?: string) => Promise<ClusterLoadResponseData[]>;
814
- fetchQueries: (universeUuid: string, apiUrl?: string, queryParams?: QueryPageParams | null) => Promise<GraphRequestParams[]>;
815
815
  fetchCustomerMetadataList: (apiUrl?: string) => Promise<MetadataFields[]>;
816
816
  fetchCustomerMetadataById: (customerUuid: string, apiUrl?: string) => Promise<any>;
817
817
  updateCustomerMetadata: (customerUuid: string, data: any, apiUrl?: string) => Promise<any>;
@@ -837,6 +837,7 @@ declare class ApiService {
837
837
  }, apiUrl?: string) => {};
838
838
  fetchAnomalyGroupsByType: (universeUuid: string, startTime: string, endTime: string, anomalyType: string, apiUrl?: string) => Promise<AnomalyGroup[]>;
839
839
  fetchAnomalyGroupById: (universeUuid: string, anomalyGroupId: string, startTime: string, endTime: string, apiUrl?: string) => {};
840
+ sendTelemetryEvent: (universeUuid: string, payload: any, apiUrl?: string) => Promise<any>;
840
841
  }
841
842
  declare const PerfAdvisorAPI: ApiService;
842
843
 
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@yugabytedb/perf-advisor-ui",
3
- "version": "1.0.87",
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",