diff --git a/src/containers/Header/Header.tsx b/src/containers/Header/Header.tsx index 8914aa5a58..fbbb4915f7 100644 --- a/src/containers/Header/Header.tsx +++ b/src/containers/Header/Header.tsx @@ -99,6 +99,8 @@ function Header() { clusterName, dbName: databaseData.Name, dbType: databaseData.Type, + controlPlane: databaseData.ControlPlane, + userAttributes: databaseData.UserAttributes, }) : null; diff --git a/src/utils/monitoring.ts b/src/utils/monitoring.ts index bf8a10c1b8..eecd139ff4 100644 --- a/src/utils/monitoring.ts +++ b/src/utils/monitoring.ts @@ -1,11 +1,13 @@ import type {MetaBaseClusterInfo, MetaClusterMonitoringData} from '../types/api/meta'; -import type {ETenantType} from '../types/api/tenant'; +import type {ETenantType, TTenant} from '../types/api/tenant'; interface GetMonitoringLinkProps { monitoring: MetaBaseClusterInfo['solomon']; dbName: string; dbType: ETenantType; clusterName?: string; + controlPlane?: TTenant['ControlPlane']; + userAttributes?: TTenant['UserAttributes']; } export type GetMonitoringLink = typeof getMonitoringLink;