Skip to content

Commit

Permalink
set CPU and Memory domain to 0-100
Browse files Browse the repository at this point in the history
  • Loading branch information
DaoDaoNoCode committed Jul 7, 2023
1 parent 6e64b15 commit 5c57b5f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ const ServerGraphs: React.FC = () => {
metrics={{ metric: data[ServerMetricType.CPU_UTILIZATION], translatePoint: toPercentage }}
color="purple"
title="CPU utilization %"
domain={() => ({
y: [0, 100],
})}
/>
</StackItem>
<StackItem>
Expand All @@ -55,6 +58,9 @@ const ServerGraphs: React.FC = () => {
}}
color="orange"
title="Memory utilization %"
domain={() => ({
y: [0, 100],
})}
/>
</StackItem>
</Stack>
Expand Down

0 comments on commit 5c57b5f

Please sign in to comment.