mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
chore: use wss usage for workloads listing (#9104)
This commit is contained in:
parent
629378bbec
commit
233a8e4cc3
@ -31,7 +31,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Mem Usage',
|
label: 'Mem Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -105,7 +105,7 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left">Memory Utilization (bytes)</div>,
|
title: <div className="column-header-left">Memory Utilization (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 80,
|
||||||
@ -113,7 +113,7 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left">Memory Allocatable (bytes)</div>,
|
title: <div className="column-header-left">Memory Allocatable</div>,
|
||||||
dataIndex: 'memory_allocatable',
|
dataIndex: 'memory_allocatable',
|
||||||
key: 'memory_allocatable',
|
key: 'memory_allocatable',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
|||||||
@ -72,7 +72,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Mem Usage',
|
label: 'Mem Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -211,10 +211,10 @@ const columnsConfig = [
|
|||||||
className: `column ${columnProgressBarClassName}`,
|
className: `column ${columnProgressBarClassName}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header small-col">Mem Usage</div>,
|
title: <div className="column-header med-col">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
@ -203,10 +203,10 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left small-col">Mem Usage</div>,
|
title: <div className="column-header-left small-col">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
|
|||||||
@ -84,7 +84,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Mem Usage',
|
label: 'Mem Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -238,10 +238,10 @@ const columnsConfig = [
|
|||||||
className: `column ${columnProgressBarClassName}`,
|
className: `column ${columnProgressBarClassName}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header small-col">Mem Usage</div>,
|
title: <div className="column-header small-col">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
@ -99,10 +99,10 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left">Mem Usage</div>,
|
title: <div className="column-header-left">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
|
|||||||
@ -37,7 +37,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Memory Usage (bytes)',
|
label: 'Memory Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -121,7 +121,7 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left">Memory Usage (bytes)</div>,
|
title: <div className="column-header-left">Memory Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 80,
|
||||||
@ -129,7 +129,7 @@ const columnsConfig = [
|
|||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header-left">Memory Alloc (bytes)</div>,
|
title: <div className="column-header-left">Memory Allocatable</div>,
|
||||||
dataIndex: 'memory_allocatable',
|
dataIndex: 'memory_allocatable',
|
||||||
key: 'memory_allocatable',
|
key: 'memory_allocatable',
|
||||||
width: 80,
|
width: 80,
|
||||||
|
|||||||
@ -72,7 +72,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Mem Usage',
|
label: 'Mem Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -211,10 +211,10 @@ const columnsConfig = [
|
|||||||
className: `column ${columnProgressBarClassName}`,
|
className: `column ${columnProgressBarClassName}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header small-col">Mem Usage</div>,
|
title: <div className="column-header med-col">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
@ -69,7 +69,7 @@ export const defaultAddedColumns: IEntityColumn[] = [
|
|||||||
canRemove: false,
|
canRemove: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Mem Usage',
|
label: 'Mem Usage (WSS)',
|
||||||
value: 'memory',
|
value: 'memory',
|
||||||
id: 'memory',
|
id: 'memory',
|
||||||
canRemove: false,
|
canRemove: false,
|
||||||
@ -207,10 +207,10 @@ const columnsConfig = [
|
|||||||
className: `column ${columnProgressBarClassName}`,
|
className: `column ${columnProgressBarClassName}`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: <div className="column-header">Mem Usage</div>,
|
title: <div className="column-header med-col">Mem Usage (WSS)</div>,
|
||||||
dataIndex: 'memory',
|
dataIndex: 'memory',
|
||||||
key: 'memory',
|
key: 'memory',
|
||||||
width: 80,
|
width: 120,
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
sorter: true,
|
sorter: true,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
|
|||||||
@ -207,7 +207,7 @@ var (
|
|||||||
// TODO(srikanthccv): import metadata yaml from receivers and use generated files to check the metrics
|
// TODO(srikanthccv): import metadata yaml from receivers and use generated files to check the metrics
|
||||||
podMetricNamesToCheck = []string{
|
podMetricNamesToCheck = []string{
|
||||||
GetDotMetrics("k8s_pod_cpu_usage"),
|
GetDotMetrics("k8s_pod_cpu_usage"),
|
||||||
GetDotMetrics("k8s_pod_memory_usage"),
|
GetDotMetrics("k8s_pod_memory_working_set"),
|
||||||
GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
||||||
GetDotMetrics("k8s_pod_memory_request_utilization"),
|
GetDotMetrics("k8s_pod_memory_request_utilization"),
|
||||||
GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
||||||
@ -218,7 +218,7 @@ var (
|
|||||||
nodeMetricNamesToCheck = []string{
|
nodeMetricNamesToCheck = []string{
|
||||||
GetDotMetrics("k8s_node_cpu_usage"),
|
GetDotMetrics("k8s_node_cpu_usage"),
|
||||||
GetDotMetrics("k8s_node_allocatable_cpu"),
|
GetDotMetrics("k8s_node_allocatable_cpu"),
|
||||||
GetDotMetrics("k8s_node_memory_usage"),
|
GetDotMetrics("k8s_node_memory_working_set"),
|
||||||
GetDotMetrics("k8s_node_allocatable_memory"),
|
GetDotMetrics("k8s_node_allocatable_memory"),
|
||||||
GetDotMetrics("k8s_node_condition_ready"),
|
GetDotMetrics("k8s_node_condition_ready"),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,7 +36,7 @@ var (
|
|||||||
metricNamesForNodes = map[string]string{
|
metricNamesForNodes = map[string]string{
|
||||||
"cpu": GetDotMetrics("k8s_node_cpu_usage"),
|
"cpu": GetDotMetrics("k8s_node_cpu_usage"),
|
||||||
"cpu_allocatable": GetDotMetrics("k8s_node_allocatable_cpu"),
|
"cpu_allocatable": GetDotMetrics("k8s_node_allocatable_cpu"),
|
||||||
"memory": GetDotMetrics("k8s_node_memory_usage"),
|
"memory": GetDotMetrics("k8s_node_memory_working_set"),
|
||||||
"memory_allocatable": GetDotMetrics("k8s_node_allocatable_memory"),
|
"memory_allocatable": GetDotMetrics("k8s_node_allocatable_memory"),
|
||||||
"node_condition": GetDotMetrics("k8s_node_condition_ready"),
|
"node_condition": GetDotMetrics("k8s_node_condition_ready"),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -52,7 +52,7 @@ var (
|
|||||||
"cpu": GetDotMetrics("k8s_pod_cpu_usage"),
|
"cpu": GetDotMetrics("k8s_pod_cpu_usage"),
|
||||||
"cpu_request": GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
"cpu_request": GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
||||||
"cpu_limit": GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
"cpu_limit": GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
||||||
"memory": GetDotMetrics("k8s_pod_memory_usage"),
|
"memory": GetDotMetrics("k8s_pod_memory_working_set"),
|
||||||
"memory_request": GetDotMetrics("k8s_pod_memory_request_utilization"),
|
"memory_request": GetDotMetrics("k8s_pod_memory_request_utilization"),
|
||||||
"memory_limit": GetDotMetrics("k8s_pod_memory_limit_utilization"),
|
"memory_limit": GetDotMetrics("k8s_pod_memory_limit_utilization"),
|
||||||
"restarts": GetDotMetrics("k8s_container_restarts"),
|
"restarts": GetDotMetrics("k8s_container_restarts"),
|
||||||
|
|||||||
@ -7,7 +7,7 @@ var (
|
|||||||
"cpu": GetDotMetrics("k8s_pod_cpu_usage"),
|
"cpu": GetDotMetrics("k8s_pod_cpu_usage"),
|
||||||
"cpu_request": GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
"cpu_request": GetDotMetrics("k8s_pod_cpu_request_utilization"),
|
||||||
"cpu_limit": GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
"cpu_limit": GetDotMetrics("k8s_pod_cpu_limit_utilization"),
|
||||||
"memory": GetDotMetrics("k8s_pod_memory_usage"),
|
"memory": GetDotMetrics("k8s_pod_memory_working_set"),
|
||||||
"memory_request": GetDotMetrics("k8s_pod_memory_request_utilization"),
|
"memory_request": GetDotMetrics("k8s_pod_memory_request_utilization"),
|
||||||
"memory_limit": GetDotMetrics("k8s_pod_memory_limit_utilization"),
|
"memory_limit": GetDotMetrics("k8s_pod_memory_limit_utilization"),
|
||||||
"restarts": GetDotMetrics("k8s_container_restarts"),
|
"restarts": GetDotMetrics("k8s_container_restarts"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user