diff --git a/.github/workflows/build-sealos-cluster-image.yml b/.github/workflows/build-sealos-cluster-image.yml index 5fce9c2..e7e5906 100644 --- a/.github/workflows/build-sealos-cluster-image.yml +++ b/.github/workflows/build-sealos-cluster-image.yml @@ -97,19 +97,19 @@ jobs: sudo buildah manifest add $IMAGE:$VERSION docker://$IMAGE:$VERSION-arm64 sudo buildah manifest push --all $IMAGE:$VERSION docker://$IMAGE:$VERSION - - name: Renew issue and Sync Images - uses: labring/gh-rebot@v0.0.6 - with: - version: v0.0.8-rc1 - env: - GH_TOKEN: "${{ secrets.GH_PAT }}" - SEALOS_TYPE: "issue_renew" - SEALOS_ISSUE_TITLE: "【DaylyReport】 Auto build for sealaf" - SEALOS_ISSUE_BODYFILE: "README.md" - SEALOS_ISSUE_LABEL: "dayly-report" - SEALOS_ISSUE_TYPE: "day" - SEALOS_ISSUE_REPO: "labring-actions/cluster-image" - SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/${{ env.image }}:${{ env.tag }}" + # - name: Renew issue and Sync Images + # uses: labring/gh-rebot@v0.0.6 + # with: + # version: v0.0.8-rc1 + # env: + # GH_TOKEN: "${{ secrets.GH_PAT }}" + # SEALOS_TYPE: "issue_renew" + # SEALOS_ISSUE_TITLE: "【DaylyReport】 Auto build for sealaf" + # SEALOS_ISSUE_BODYFILE: "README.md" + # SEALOS_ISSUE_LABEL: "dayly-report" + # SEALOS_ISSUE_TYPE: "day" + # SEALOS_ISSUE_REPO: "labring-actions/cluster-image" + # SEALOS_COMMENT_BODY: "/imagesync ghcr.io/${{ github.repository_owner }}/${{ env.image }}:${{ env.tag }}" # trigger-workflow-e2e: # needs: [build_cluster_image] diff --git a/web/src/pages/app/mods/StatusBar/MonitorBar/index.tsx b/web/src/pages/app/mods/StatusBar/MonitorBar/index.tsx index a93e5ae..033bb69 100644 --- a/web/src/pages/app/mods/StatusBar/MonitorBar/index.tsx +++ b/web/src/pages/app/mods/StatusBar/MonitorBar/index.tsx @@ -76,12 +76,12 @@ export default function MonitorBar() { setResources([ { label: `CPU`, - percent: getAverage(instantData.cpu) * 100, + percent: getAverage(instantData.cpu), color: "#47C8BF", }, { label: t("Spec.RAM"), - percent: getAverage(instantData.memory) * 100, + percent: getAverage(instantData.memory), color: "#8172D8", }, { diff --git a/web/src/pages/app/setting/SysSetting/AppMonitor/AreaCard/index.tsx b/web/src/pages/app/setting/SysSetting/AppMonitor/AreaCard/index.tsx index eeefa3a..dc0e168 100644 --- a/web/src/pages/app/setting/SysSetting/AppMonitor/AreaCard/index.tsx +++ b/web/src/pages/app/setting/SysSetting/AppMonitor/AreaCard/index.tsx @@ -118,7 +118,7 @@ export default function AreaCard(props: { const tempData = item.values.map((item) => { return { xData: modifyTimestamp(item[0]), - [`value${index}`]: Number((Number(item[1]) * maxValue).toFixed(2)), + [`value${index}`]: Number((Number(item[1]) * maxValue * 0.01).toFixed(2)), }; }); tempDataArray.push(tempData); @@ -131,7 +131,7 @@ export default function AreaCard(props: { data[dataNumber - 1]?.values.map((item) => { return { xData: item[0] * 1000, - value0: Number((Number(item[1]) * maxValue).toFixed(2)), + value0: Number((Number(item[1]) * maxValue * 0.01).toFixed(2)), }; }), );