Skip to content

Commit 213267a

Browse files
Mohammed AbdiMohammed Abdi
authored andcommitted
available to utilized
Signed-off-by: Mohammed Abdi <[email protected]>
1 parent d9f0c72 commit 213267a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/src/pages/MCADashboard/Metrics/queries.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Query, Unit } from './types';
22

33
export const availableResourceQueries: Query[] = [
44
{
5-
name: 'Available CPU %',
6-
query: '(1 - cluster:node_cpu:ratio{cluster=""}) * 100',
5+
name: 'Utilized CPU %',
6+
query: '(cluster:node_cpu:ratio{cluster=""}) * 100',
77
unit: Unit.PERCENT,
88
},
99
{
@@ -16,8 +16,8 @@ export const availableResourceQueries: Query[] = [
1616
'sum(cluster:capacity_cpu_cores:sum{cluster=""}) - sum(cluster:cpu_usage_cores:sum{cluster=""})',
1717
},
1818
{
19-
name: 'Available Memory %',
20-
query: '(1 - cluster:memory_usage:ratio{cluster=""}) * 100',
19+
name: 'Utilized Memory %',
20+
query: '(cluster:memory_usage:ratio{cluster=""}) * 100',
2121
unit: Unit.PERCENT,
2222
},
2323
{

0 commit comments

Comments
 (0)