diff --git a/docs/content.en/docs/release-notes/_index.md b/docs/content.en/docs/release-notes/_index.md index 93793e94..ab68e2cd 100644 --- a/docs/content.en/docs/release-notes/_index.md +++ b/docs/content.en/docs/release-notes/_index.md @@ -23,6 +23,7 @@ Information about release notes of INFINI Console is provided here. - Adapter metrics query with cluster id and cluster uuid - Optimize metric query bucket size (#59) - Add suggestion to chart in monitor if is no data because the time interval is less than the collection interval. +- check if the cluster version supports metric transport_outbound_comnections in monitor. ## 1.27.0 (2024-12-09) diff --git a/web/src/components/Overview/Monitor/index.jsx b/web/src/components/Overview/Monitor/index.jsx index e319410a..4344001c 100644 --- a/web/src/components/Overview/Monitor/index.jsx +++ b/web/src/components/Overview/Monitor/index.jsx @@ -84,7 +84,7 @@ const Monitor = (props) => { }) ); - const [refresh, setRefresh] = useState({ isRefreshPaused: allTimeSettingsCache.isRefreshPaused || false, refreshInterval: allTimeSettingsCache.refreshInterval || 30000 }); + const [refresh, setRefresh] = useState({ isRefreshPaused: typeof allTimeSettingsCache.isRefreshPaused !== 'undefined' ? allTimeSettingsCache.isRefreshPaused : true, refreshInterval: allTimeSettingsCache.refreshInterval || 30000 }); const [timeZone, setTimeZone] = useState(() => allTimeSettingsCache.timeZone || getTimezone()); useEffect(() => { diff --git a/web/src/pages/Agent/Instance/components/RowDetail.jsx b/web/src/pages/Agent/Instance/components/RowDetail.jsx index b14b7422..4da977e7 100644 --- a/web/src/pages/Agent/Instance/components/RowDetail.jsx +++ b/web/src/pages/Agent/Instance/components/RowDetail.jsx @@ -366,7 +366,7 @@ export const AgentRowDetail = ({ agentID, t }) => { }} tabBarExtraContent={
- {state.processesTab == "unknown" ? ( + {hasAuthority("agent.instance:all") && state.processesTab === "unknown" ? (