2021-04-26 14:27:19 +00:00
{
"annotations" : {
"list" : [ ]
} ,
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
"hideControls" : false ,
"links" : [ ] ,
"refresh" : "10s" ,
"rows" : [
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 1 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "requests" ,
"color" : "#F2495C" ,
"fill" : 0 ,
"hideTooltip" : true ,
"legend" : true ,
"linewidth" : 2 ,
"stack" : false
} ,
{
"alias" : "limits" ,
"color" : "#FF9830" ,
"fill" : 0 ,
"hideTooltip" : true ,
"legend" : true ,
"linewidth" : 2 ,
"stack" : false
}
] ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-07-01 10:36:35 +00:00
"expr" : "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=\"$namespace\", pod=\"$pod\", cluster=\"$cluster\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{container}}" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "requests" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"cpu\"}\n)\n" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "limits" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "CPU Usage" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "CPU Usage" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 2 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : true ,
"max" : true ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(increase(container_cpu_cfs_throttled_periods_total{job=\"cadvisor\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", cluster=\"$cluster\"}[$__rate_interval])) by (container) /sum(increase(container_cpu_cfs_periods_total{job=\"cadvisor\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", cluster=\"$cluster\"}[$__rate_interval])) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{container}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [
{
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 0.25 ,
"yaxis" : "left"
}
] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "CPU Throttling" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "percentunit" ,
"label" : null ,
"logBase" : 1 ,
"max" : 1 ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "CPU Throttling" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 3 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : false ,
"steppedLine" : false ,
"styles" : [
{
"alias" : "Time" ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"pattern" : "Time" ,
"type" : "hidden"
} ,
{
"alias" : "CPU Usage" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #A" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "CPU Requests" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #B" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "CPU Requests %" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #C" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "percentunit"
} ,
{
"alias" : "CPU Limits" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #D" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "CPU Limits %" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #E" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "percentunit"
} ,
{
"alias" : "Container" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "container" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "/.*/" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
}
] ,
"targets" : [
{
2021-07-01 10:36:35 +00:00
"expr" : "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "C" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "D" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container) / sum(cluster:namespace:pod_cpu:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "E" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "CPU Quota" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"transform" : "table" ,
"type" : "table" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "CPU Quota" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 4 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [
{
"alias" : "requests" ,
"color" : "#F2495C" ,
"dashes" : true ,
"fill" : 0 ,
"hideTooltip" : true ,
"legend" : true ,
"linewidth" : 2 ,
"stack" : false
} ,
{
"alias" : "limits" ,
"color" : "#FF9830" ,
"dashes" : true ,
"fill" : 0 ,
"hideTooltip" : true ,
"legend" : true ,
"linewidth" : 2 ,
"stack" : false
}
] ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{container}}" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(\n kube_pod_container_resource_requests{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "requests" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(\n kube_pod_container_resource_limits{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", resource=\"memory\"}\n)\n" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "limits" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Memory Usage (WSS)" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "bytes" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Memory Usage" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 5 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : false ,
"steppedLine" : false ,
"styles" : [
{
"alias" : "Time" ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"pattern" : "Time" ,
"type" : "hidden"
} ,
{
"alias" : "Memory Usage (WSS)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #A" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Memory Requests" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #B" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Memory Requests %" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #C" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "percentunit"
} ,
{
"alias" : "Memory Limits" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #D" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Memory Limits %" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #E" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "percentunit"
} ,
{
"alias" : "Memory Usage (RSS)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #F" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Memory Usage (Cache)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #G" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Memory Usage (Swap)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #H" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "bytes"
} ,
{
"alias" : "Container" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "container" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "/.*/" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
}
] ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "B" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_requests{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "C" ,
"step" : 10
} ,
{
2021-07-21 13:06:40 +00:00
"expr" : "sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "D" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_working_set_bytes{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container!=\"\", image!=\"\"}) by (container) / sum(cluster:namespace:pod_memory:active:kube_pod_container_resource_limits{cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "E" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_rss{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "F" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_cache{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "G" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(container_memory_swap{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\", container != \"\", container != \"POD\"}) by (container)" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "H" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Memory Quota" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"transform" : "table" ,
"type" : "table" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Memory Quota" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 6 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_receive_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Receive Bandwidth" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 7 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_transmit_bytes_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Transmit Bandwidth" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Bandwidth" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 8 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_receive_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Rate of Received Packets" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-07-01 10:36:35 +00:00
"format" : "pps" ,
2021-04-26 14:27:19 +00:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 9 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_transmit_packets_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Rate of Transmitted Packets" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-07-01 10:36:35 +00:00
"format" : "pps" ,
2021-04-26 14:27:19 +00:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Rate of Packets" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 10 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_receive_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Rate of Received Packets Dropped" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-07-01 10:36:35 +00:00
"format" : "pps" ,
2021-04-26 14:27:19 +00:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 11 ,
"interval" : "1m" ,
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum(irate(container_network_transmit_packets_dropped_total{job=\"cadvisor\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod}}" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Rate of Transmitted Packets Dropped" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2021-07-01 10:36:35 +00:00
"format" : "pps" ,
2021-04-26 14:27:19 +00:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Rate of Packets Dropped" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"decimals" : -1 ,
"fill" : 10 ,
"id" : 12 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "ceil(sum by(pod) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Reads" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "ceil(sum by(pod) (rate(container_fs_writes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\",namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Writes" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "IOPS" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 13 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(pod) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Reads" ,
"legendLink" : null ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(pod) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Writes" ,
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "ThroughPut" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Storage IO - Distribution(Pod - Read & Writes)" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"decimals" : -1 ,
"fill" : 10 ,
"id" : 14 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "ceil(sum by(container) (rate(container_fs_reads_total{job=\"cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval])))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2021-07-01 10:36:35 +00:00
"legendFormat" : "{{container}}" ,
2021-04-26 14:27:19 +00:00
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "IOPS(Reads+Writes)" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 15 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"cadvisor\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
2021-07-01 10:36:35 +00:00
"legendFormat" : "{{container}}" ,
2021-04-26 14:27:19 +00:00
"legendLink" : null ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "ThroughPut(Read+Write)" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Storage IO - Distribution(Containers)" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 16 ,
2022-09-16 09:21:38 +00:00
"interval" : "1m" ,
2021-04-26 14:27:19 +00:00
"legend" : {
2022-09-16 09:21:38 +00:00
"alignAsTable" : true ,
2021-04-26 14:27:19 +00:00
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2022-09-16 09:21:38 +00:00
"rightSide" : true ,
2021-04-26 14:27:19 +00:00
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"sort" : {
"col" : 4 ,
"desc" : true
} ,
"spaceLength" : 10 ,
"span" : 12 ,
"stack" : false ,
"steppedLine" : false ,
"styles" : [
{
"alias" : "Time" ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"pattern" : "Time" ,
"type" : "hidden"
} ,
{
"alias" : "IOPS(Reads)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : -1 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #A" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "IOPS(Writes)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : -1 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #B" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "IOPS(Reads + Writes)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : -1 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #C" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "Throughput(Read)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #D" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "Bps"
} ,
{
"alias" : "Throughput(Write)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #E" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "Bps"
} ,
{
"alias" : "Throughput(Read + Write)" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"link" : false ,
"linkTargetBlank" : false ,
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "Value #F" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "Bps"
} ,
{
2021-07-01 10:36:35 +00:00
"alias" : "Container" ,
2021-04-26 14:27:19 +00:00
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
2021-07-01 10:36:35 +00:00
"link" : false ,
2021-04-26 14:27:19 +00:00
"linkTargetBlank" : false ,
2021-07-01 10:36:35 +00:00
"linkTooltip" : "Drill down" ,
"linkUrl" : "" ,
"pattern" : "container" ,
2021-04-26 14:27:19 +00:00
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
} ,
{
"alias" : "" ,
"colorMode" : null ,
"colors" : [ ] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "/.*/" ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
}
] ,
"targets" : [
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_writes_total{job=\"cadvisor\",device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "B" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_reads_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "C" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "D" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "E" ,
"step" : 10
} ,
{
2022-09-16 09:21:38 +00:00
"expr" : "sum by(container) (rate(container_fs_reads_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]) + rate(container_fs_writes_bytes_total{job=\"cadvisor\", device=~\"mmcblk.p.+|nvme.+|rbd.+|sd.+|vd.+|xvd.+|dm-.+|dasd.+\", container!=\"\", cluster=\"$cluster\", namespace=\"$namespace\", pod=\"$pod\"}[$__rate_interval]))" ,
2021-04-26 14:27:19 +00:00
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "F" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Current Storage IO" ,
"tooltip" : {
"shared" : false ,
2021-12-09 18:03:55 +00:00
"sort" : 2 ,
2021-04-26 14:27:19 +00:00
"value_type" : "individual"
} ,
"transform" : "table" ,
"type" : "table" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Storage IO - Distribution" ,
"titleSize" : "h6"
}
] ,
"schemaVersion" : 14 ,
"style" : "dark" ,
"tags" : [
"kubernetes"
] ,
"templating" : {
"list" : [
{
"current" : {
"text" : "default" ,
"value" : "default"
} ,
"hide" : 0 ,
2021-12-09 18:03:55 +00:00
"label" : "Data Source" ,
2021-04-26 14:27:19 +00:00
"name" : "datasource" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "datasource"
} ,
{
"allValue" : null ,
"current" : {
"text" : "" ,
"value" : ""
} ,
"datasource" : "$datasource" ,
"hide" : 2 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "cluster" ,
"options" : [ ] ,
2022-09-16 09:21:38 +00:00
"query" : "label_values(up{job=\"kube-state-metrics\"}, cluster)" ,
2021-04-26 14:27:19 +00:00
"refresh" : 2 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : {
"text" : "" ,
"value" : ""
} ,
"datasource" : "$datasource" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "namespace" ,
"options" : [ ] ,
2022-09-16 09:21:38 +00:00
"query" : "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)" ,
2021-04-26 14:27:19 +00:00
"refresh" : 2 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : {
"text" : "" ,
"value" : ""
} ,
"datasource" : "$datasource" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "pod" ,
"options" : [ ] ,
2022-09-16 09:21:38 +00:00
"query" : "label_values(kube_pod_info{job=\"kube-state-metrics\", cluster=\"$cluster\", namespace=\"$namespace\"}, pod)" ,
2021-04-26 14:27:19 +00:00
"refresh" : 2 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
}
]
} ,
"time" : {
"from" : "now-1h" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "UTC" ,
2021-04-26 14:46:35 +00:00
"title" : "Compute Resources / Pod" ,
2021-04-26 14:27:19 +00:00
"uid" : "6581e46e4e5c7ba40a07646395ef7b23" ,
"version" : 0
}