Skip to content

Commit

Permalink
hotfix(v0.6.1): merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
TangliziGit committed Apr 20, 2021
2 parents 60296cd + 3c5c572 commit 7d76688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/network/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const NetworkDetailPage = () => {
<Card title={"内存使用情况"} type={'inner'}>
<NetworkMonitorChart
id={`${networkID}-mem`}
query={'container_memory_usage_bytes{namespace="default", pod=~".*?net5.*", id!~".*?docker.*"}'}
query={`container_memory_usage_bytes{namespace="default", pod=~".*?net${networkID}.*", id!~".*?docker.*"}`}
useByteFormatter
/>
</Card>
Expand All @@ -128,7 +128,7 @@ const NetworkDetailPage = () => {
<Card title={"CPU 使用情况"} type={'inner'}>
<NetworkMonitorChart
id={`${networkID}-cpu`}
query={'container_cpu_usage_seconds_total{namespace="default", pod=~".*?net5.*", id!~".*?docker.*"}'}
query={`container_cpu_usage_seconds_total{namespace="default", pod=~".*?net${networkID}.*", id!~".*?docker.*"}`}
/>
</Card>
</Col>
Expand Down

0 comments on commit 7d76688

Please sign in to comment.