2018-03-06 16:42:07 +01:00
{
"annotations" : {
2020-06-19 19:58:37 +02:00
"list" : [ {
"builtIn" : 1 ,
"datasource" : "-- Grafana --" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
} ]
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"description" : "Monitor a Kubernetes cluster using Prometheus TSDB. Shows overall cluster CPU / Memory / Disk usage as well as individual pod statistics. " ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
2020-06-19 19:58:37 +02:00
"gnetId" : 162 ,
2018-03-06 16:42:07 +01:00
"graphTooltip" : 1 ,
2020-06-19 19:58:37 +02:00
"links" : [ ] ,
"panels" : [ {
2018-03-06 16:42:07 +01:00
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
2020-06-19 19:58:37 +02:00
"rgba(50, 172, 45, 0.97)" ,
2018-03-06 16:42:07 +01:00
"rgba(237, 129, 40, 0.89)" ,
2020-06-19 19:58:37 +02:00
"rgba(245, 54, 54, 0.9)"
2018-03-06 16:42:07 +01:00
] ,
2019-02-04 21:02:26 +01:00
"datasource" : "prometheus" ,
2020-06-19 19:58:37 +02:00
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"format" : "percent" ,
2018-03-06 16:42:07 +01:00
"gauge" : {
2020-06-19 19:58:37 +02:00
"maxValue" : 100 ,
2018-03-06 16:42:07 +01:00
"minValue" : 0 ,
2020-06-19 19:58:37 +02:00
"show" : true ,
2018-03-06 16:42:07 +01:00
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 7 ,
"w" : 8 ,
2018-03-06 16:42:07 +01:00
"x" : 0 ,
2020-06-19 19:58:37 +02:00
"y" : 0
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 4 ,
2018-03-06 16:42:07 +01:00
"interval" : null ,
2020-06-19 19:58:37 +02:00
"isNew" : true ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
"mappingType" : 1 ,
2020-06-19 19:58:37 +02:00
"mappingTypes" : [ {
2018-03-06 16:42:07 +01:00
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
2020-06-19 19:58:37 +02:00
"rangeMaps" : [ {
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "(sum(node_memory_MemTotal_bytes) - sum(node_memory_MemFree_bytes+node_memory_Buffers_bytes+node_memory_Cached_bytes) ) / sum(node_memory_MemTotal_bytes) * 100" ,
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 10
} ] ,
"thresholds" : "65, 90" ,
"title" : "Cluster memory usage" ,
2018-03-06 16:42:07 +01:00
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
2020-06-19 19:58:37 +02:00
"valueMaps" : [ {
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
2020-06-19 19:58:37 +02:00
"colorBackground" : true ,
"colorValue" : false ,
2018-03-06 16:42:07 +01:00
"colors" : [
2020-06-19 19:58:37 +02:00
"rgba(0, 0, 0, 0)" ,
"rgb(210, 1, 1)" ,
"#890f02"
2018-03-06 16:42:07 +01:00
] ,
2019-02-04 21:02:26 +01:00
"datasource" : "prometheus" ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"overrides" : [ ]
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"format" : "percentunit" ,
2018-03-06 16:42:07 +01:00
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 2 ,
"w" : 8 ,
"x" : 8 ,
"y" : 0
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 23 ,
2018-03-06 16:42:07 +01:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
2020-06-19 19:58:37 +02:00
"mappingTypes" : [ {
2018-03-06 16:42:07 +01:00
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
2020-06-19 19:58:37 +02:00
"rangeMaps" : [ {
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
2020-06-19 19:58:37 +02:00
"tableColumn" : "{job=\"kubelet\"}" ,
"targets" : [ {
"expr" : "avg(up{job=\"kubelet\",metrics_path=\"/metrics\"}) BY (job)" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
} ] ,
"thresholds" : "1.1" ,
"title" : "Up Nodes" ,
2018-03-06 16:42:07 +01:00
"type" : "singlestat" ,
2020-06-19 19:58:37 +02:00
"valueFontSize" : "120%" ,
"valueMaps" : [ {
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"valueName" : "avg"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
2020-06-19 19:58:37 +02:00
"rgba(50, 172, 45, 0.97)" ,
2018-03-06 16:42:07 +01:00
"rgba(237, 129, 40, 0.89)" ,
2020-06-19 19:58:37 +02:00
"rgba(245, 54, 54, 0.9)"
2018-03-06 16:42:07 +01:00
] ,
2019-02-04 21:02:26 +01:00
"datasource" : "prometheus" ,
2020-06-19 19:58:37 +02:00
"decimals" : 0 ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"format" : "percent" ,
2018-03-06 16:42:07 +01:00
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
2020-06-19 19:58:37 +02:00
"show" : true ,
2018-03-06 16:42:07 +01:00
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 7 ,
"w" : 8 ,
"x" : 16 ,
"y" : 0
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 6 ,
2018-03-06 16:42:07 +01:00
"interval" : null ,
2020-06-19 19:58:37 +02:00
"isNew" : true ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
"mappingType" : 1 ,
2020-06-19 19:58:37 +02:00
"mappingTypes" : [ {
2018-03-06 16:42:07 +01:00
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
2020-06-19 19:58:37 +02:00
"rangeMaps" : [ {
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "avg(100 - (avg by (instance) (irate(node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\"}[5m])) * 100))" ,
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"refId" : "A" ,
"step" : 10
} ] ,
"thresholds" : "65, 90" ,
"title" : "Cluster CPU usage" ,
2018-03-06 16:42:07 +01:00
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
2020-06-19 19:58:37 +02:00
"valueMaps" : [ {
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ] ,
2018-03-06 16:42:07 +01:00
"valueName" : "current"
} ,
{
2020-06-19 19:58:37 +02:00
"columns" : [ ] ,
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fontSize" : "90%" ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 5 ,
2020-06-19 19:58:37 +02:00
"w" : 8 ,
"x" : 8 ,
"y" : 2
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 25 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"pageSize" : null ,
"scroll" : true ,
"showHeader" : true ,
"sort" : {
"col" : 2 ,
"desc" : false
} ,
"styles" : [ {
"alias" : "Time" ,
"align" : "auto" ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"link" : false ,
"pattern" : "Time" ,
"type" : "date"
} ,
{
"alias" : "Uptime" ,
"align" : "auto" ,
"colorMode" : null ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "Value" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "s"
} ,
{
"alias" : "" ,
"align" : "auto" ,
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"decimals" : 2 ,
"pattern" : "/endpoint|job|namespace|pod|service/" ,
"thresholds" : [ ] ,
"type" : "hidden" ,
"unit" : "short"
} ,
{
"alias" : "" ,
"align" : "auto" ,
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "instance" ,
"preserveFormat" : false ,
"sanitize" : false ,
"thresholds" : [ ] ,
"type" : "string" ,
"unit" : "short"
}
] ,
"targets" : [ {
"expr" : "(time() - node_boot_time_seconds)" ,
"format" : "table" ,
"instant" : true ,
"intervalFactor" : 1 ,
"refId" : "A"
} ] ,
"title" : "Node Uptime" ,
"transform" : "table" ,
2018-03-06 16:42:07 +01:00
"transparent" : true ,
2020-06-19 19:58:37 +02:00
"type" : "table-old"
2018-03-06 16:42:07 +01:00
} ,
{
2019-02-04 21:02:26 +01:00
"datasource" : "prometheus" ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { } ,
"mappings" : [ {
"from" : "" ,
"id" : 0 ,
"operator" : "" ,
"text" : "Up" ,
"to" : "" ,
"type" : 1 ,
"value" : "1"
} ,
{
"from" : "" ,
"id" : 1 ,
"operator" : "" ,
"text" : "Down" ,
"to" : "" ,
"type" : 1 ,
"value" : "0"
} ,
{
"from" : "" ,
"id" : 2 ,
"operator" : "" ,
"text" : "Down" ,
"to" : "" ,
"type" : 1 ,
"value" : "0.5"
}
] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [ {
"color" : "rgb(0, 0, 0)" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 0
} ,
{
"color" : "green" ,
"value" : 1
}
]
}
} ,
"overrides" : [ ]
2018-03-06 16:42:07 +01:00
} ,
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 2 ,
"w" : 24 ,
"x" : 0 ,
"y" : 7
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 35 ,
"options" : {
"colorMode" : "background" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "vertical" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2018-03-06 16:42:07 +01:00
}
} ,
2020-06-19 19:58:37 +02:00
"pluginVersion" : "7.0.3" ,
"repeat" : null ,
"targets" : [ {
"expr" : "sort(avg by (job) (up{job=~\"kube-dns|kubelet|traefik.*|apiserver|kube-controller-manager|kube-scheduler\"}))" ,
"format" : "time_series" ,
"instant" : true ,
"interval" : "" ,
"legendFormat" : "{{job}}" ,
"refId" : "A"
} ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Kubernetes Core Services" ,
"type" : "stat"
2018-03-06 16:42:07 +01:00
} ,
{
"collapsed" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : null ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
2020-06-19 19:58:37 +02:00
"y" : 9
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 15 ,
2018-03-06 16:42:07 +01:00
"panels" : [ ] ,
2020-06-19 19:58:37 +02:00
"title" : "Nodes" ,
2018-03-06 16:42:07 +01:00
"type" : "row"
} ,
{
2020-06-19 19:58:37 +02:00
"alert" : {
"conditions" : [ {
"evaluator" : {
"params" : [
0.85
] ,
"type" : "gt"
} ,
"operator" : {
"type" : "and"
} ,
"query" : {
"params" : [
"B" ,
"5m" ,
"now"
]
} ,
"reducer" : {
"params" : [ ] ,
"type" : "max"
} ,
"type" : "query"
} ] ,
"executionErrorState" : "alerting" ,
"for" : "0m" ,
"frequency" : "60s" ,
"handler" : 1 ,
"name" : "Memory Usage alert" ,
"noDataState" : "no_data" ,
"notifications" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 9 ,
"w" : 12 ,
2018-03-06 16:42:07 +01:00
"x" : 0 ,
2020-06-19 19:58:37 +02:00
"y" : 10
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 10 ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"avg" : false ,
2018-03-06 16:42:07 +01:00
"current" : false ,
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"show" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : false
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-19 19:58:37 +02:00
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
2020-06-19 19:58:37 +02:00
"stack" : false ,
2018-03-06 16:42:07 +01:00
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "node_memory_MemTotal_bytes - (node_memory_MemFree_bytes+node_memory_Buffers_bytes+node_memory_Cached_bytes)" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ instance }}" ,
"refId" : "A"
} ,
2018-03-06 16:42:07 +01:00
{
2020-06-19 19:58:37 +02:00
"expr" : "(node_memory_MemTotal_bytes - (node_memory_MemFree_bytes+node_memory_Buffers_bytes+node_memory_Cached_bytes))/node_memory_MemTotal_bytes" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"hide" : true ,
2018-03-06 16:42:07 +01:00
"intervalFactor" : 1 ,
2020-06-19 19:58:37 +02:00
"refId" : "B"
2018-03-06 16:42:07 +01:00
}
] ,
2020-06-19 19:58:37 +02:00
"thresholds" : [ {
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 0.85
} ] ,
2018-03-06 16:42:07 +01:00
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Memory Usage" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 0 ,
2018-03-06 16:42:07 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "decbytes" ,
"label" : null ,
2018-03-06 16:42:07 +01:00
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"alert" : {
"conditions" : [ {
"evaluator" : {
"params" : [
90
] ,
"type" : "gt"
} ,
"operator" : {
"type" : "and"
} ,
"query" : {
"params" : [
"A" ,
"15m" ,
"now"
]
} ,
"reducer" : {
"params" : [ ] ,
"type" : "max"
} ,
"type" : "query"
} ] ,
"executionErrorState" : "alerting" ,
"frequency" : "60s" ,
"handler" : 1 ,
"name" : "CPU Usage alert" ,
"noDataState" : "no_data" ,
"notifications" : [ ]
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 9 ,
"w" : 12 ,
"x" : 12 ,
"y" : 10
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 11 ,
2018-03-06 16:42:07 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"show" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-19 19:58:37 +02:00
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "100 - (avg by (instance) (irate(node_cpu_seconds_total{job=\"node-exporter\",mode=\"idle\"}[5m])) * 100)" ,
"format" : "time_series" ,
"intervalFactor" : 3 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
} ] ,
"thresholds" : [ {
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 90
} ] ,
2018-03-06 16:42:07 +01:00
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "CPU Usage" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 0 ,
2018-03-06 16:42:07 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"decimals" : null ,
"format" : "percent" ,
2018-03-06 16:42:07 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"columns" : [ ] ,
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fontSize" : "100%" ,
"gridPos" : {
"h" : 9 ,
"w" : 12 ,
"x" : 0 ,
"y" : 19
} ,
"id" : 31 ,
"links" : [ ] ,
"pageSize" : null ,
"scroll" : true ,
"showHeader" : true ,
"sort" : {
"col" : 15 ,
"desc" : true
} ,
"styles" : [ {
"$$hashKey" : "object:5708" ,
"alias" : "Time" ,
"align" : "auto" ,
"dateFormat" : "HH:mm" ,
"link" : false ,
"pattern" : "Time" ,
"type" : "date"
} ,
{
"$$hashKey" : "object:5709" ,
"alias" : "" ,
"align" : "auto" ,
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"dateFormat" : "YYYY-MM-DD HH:mm:ss" ,
"decimals" : 2 ,
"pattern" : "/__name__|endpoint|fstype|alertstate|long|mountpoint|namespace|Value|short|pod|service|job/" ,
"thresholds" : [ ] ,
"type" : "hidden" ,
"unit" : "short"
} ,
{
"$$hashKey" : "object:5710" ,
"alias" : "" ,
"align" : "auto" ,
"colorMode" : null ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"decimals" : 2 ,
"pattern" : "/.*/" ,
"thresholds" : [ ] ,
"type" : "number" ,
"unit" : "short"
}
] ,
"targets" : [ {
"expr" : "ALERTS{alertstate=\"firing\", alertname!=\"Watchdog\"}" ,
"format" : "table" ,
"instant" : true ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "A"
} ] ,
"title" : "Active Alerts" ,
"transform" : "table" ,
"type" : "table-old"
} ,
{
"dashboardFilter" : "" ,
"dashboardTags" : [ ] ,
"datasource" : null ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"folderId" : null ,
"gridPos" : {
"h" : 9 ,
"w" : 5 ,
"x" : 12 ,
"y" : 19
} ,
"id" : 27 ,
"limit" : 10 ,
"links" : [ ] ,
"nameFilter" : "" ,
"onlyAlertsOnDashboard" : false ,
"show" : "current" ,
"sortOrder" : 1 ,
"stateFilter" : [ ] ,
"title" : "Alarms" ,
"type" : "alertlist"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : "prometheus" ,
"decimals" : null ,
"editable" : true ,
"error" : false ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"format" : "percent" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : true ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 7 ,
"x" : 17 ,
"y" : 19
} ,
"id" : 7 ,
"interval" : null ,
"isNew" : true ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [ {
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [ {
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
} ] ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [ {
"expr" : "(sum(node_filesystem_size_bytes{device=~\"/dev/.*\"}) - sum(node_filesystem_free_bytes{device=~\"/dev/.*\"}) ) / sum(node_filesystem_size_bytes{device=~\"/dev/.*\"}) * 100" ,
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"metric" : "" ,
"refId" : "A" ,
"step" : 10
} ] ,
"thresholds" : "65, 90" ,
"title" : "Cluster Filesystem usage" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [ {
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ] ,
"valueName" : "current"
} ,
{
"alert" : {
"alertRuleTags" : { } ,
"conditions" : [ {
"evaluator" : {
"params" : [
1
] ,
"type" : "lt"
} ,
"operator" : {
"type" : "and"
} ,
"query" : {
"params" : [
"C" ,
"5m" ,
"now"
]
} ,
"reducer" : {
"params" : [ ] ,
"type" : "avg"
} ,
"type" : "query"
} ] ,
"executionErrorState" : "alerting" ,
"for" : "2m" ,
"frequency" : "60s" ,
"handler" : 1 ,
"name" : "Node Down" ,
"noDataState" : "alerting" ,
"notifications" : [ ]
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 4 ,
"w" : 7 ,
"x" : 17 ,
"y" : 24
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 29 ,
2018-03-06 16:42:07 +01:00
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : false ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "avg(up{job=\"kubelet\",metrics_path=\"/metrics\"}) BY (job)" ,
"format" : "time_series" ,
"hide" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "" ,
"refId" : "C"
} ] ,
"thresholds" : [ {
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "lt" ,
"value" : 1
} ] ,
2018-03-06 16:42:07 +01:00
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Up Nodes" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 0 ,
2018-03-06 16:42:07 +01:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"$$hashKey" : "object:14563" ,
2018-03-06 16:42:07 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
2020-06-19 19:58:37 +02:00
"$$hashKey" : "object:14564" ,
2018-03-06 16:42:07 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"alert" : {
"conditions" : [ {
"evaluator" : {
"params" : [
85
] ,
"type" : "gt"
} ,
"operator" : {
"type" : "and"
} ,
"query" : {
"params" : [
"A" ,
"1m" ,
"now"
]
} ,
"reducer" : {
"params" : [ ] ,
"type" : "avg"
} ,
"type" : "query"
} ] ,
"executionErrorState" : "alerting" ,
"frequency" : "60s" ,
"handler" : 1 ,
"name" : "CPU Temperature alert" ,
"noDataState" : "no_data" ,
"notifications" : [ ]
2018-03-06 16:42:07 +01:00
} ,
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
2020-06-19 19:58:37 +02:00
"h" : 6 ,
"w" : 24 ,
2018-03-06 16:42:07 +01:00
"x" : 0 ,
2020-06-19 19:58:37 +02:00
"y" : 28
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 13 ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"avg" : false ,
"current" : false ,
"max" : false ,
2018-03-06 16:42:07 +01:00
"min" : false ,
2020-06-19 19:58:37 +02:00
"show" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : false
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 1 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"nullPointMode" : "null" ,
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "rpi_cpu_temperature_celsius" ,
"format" : "time_series" ,
"intervalFactor" : 5 ,
"legendFormat" : "{{instance}}" ,
"refId" : "A"
} ] ,
"thresholds" : [ {
"colorMode" : "critical" ,
"fill" : true ,
"line" : true ,
"op" : "gt" ,
"value" : 85
} ] ,
2018-03-06 16:42:07 +01:00
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "CPU Temperature" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 0 ,
"value_type" : "individual"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "celsius" ,
"label" : null ,
2018-03-06 16:42:07 +01:00
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
2020-06-19 19:58:37 +02:00
"label" : null ,
2018-03-06 16:42:07 +01:00
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"collapsed" : false ,
"datasource" : null ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 34
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"id" : 17 ,
"panels" : [ ] ,
"title" : "Pods" ,
"type" : "row"
} ,
{
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"decimals" : 0 ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
"error" : false ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"grid" : { } ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 7 ,
2020-06-19 19:58:37 +02:00
"w" : 24 ,
"x" : 0 ,
"y" : 35
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 3 ,
"isNew" : true ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
"hideEmpty" : true ,
"hideZero" : true ,
2018-03-06 16:42:07 +01:00
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"rightSide" : true ,
"show" : true ,
"sideWidth" : 270 ,
"sort" : "current" ,
"sortDesc" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : true
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 2 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"nullPointMode" : "null as zero" ,
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2020-06-19 19:58:37 +02:00
"seriesOverrides" : [ ] ,
2018-03-06 16:42:07 +01:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "topk(10,sum by (pod)(rate(container_cpu_usage_seconds_total{image!=\"\"}[1m] ) ))" ,
"format" : "time_series" ,
"instant" : false ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ pod}}" ,
"metric" : "container_cpu" ,
"refId" : "A" ,
"step" : 10
} ] ,
2018-03-06 16:42:07 +01:00
"thresholds" : [ ] ,
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Pod CPU usage" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
2020-06-19 19:58:37 +02:00
"msResolution" : true ,
2018-03-06 16:42:07 +01:00
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 2 ,
"value_type" : "cumulative"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "percentunit" ,
2018-03-06 16:42:07 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"decimals" : 2 ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
"error" : false ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"grid" : { } ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 7 ,
2020-06-19 19:58:37 +02:00
"w" : 24 ,
2018-03-06 16:42:07 +01:00
"x" : 0 ,
2020-06-19 19:58:37 +02:00
"y" : 42
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 2 ,
"isNew" : true ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
2018-03-06 16:42:07 +01:00
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"rightSide" : true ,
"show" : true ,
"sideWidth" : 250 ,
"sort" : "avg" ,
"sortDesc" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : true
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 2 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"nullPointMode" : "connected" ,
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "sort_desc(sum(container_memory_usage_bytes{image!=\"\"}) by (pod, image))" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"hide" : true ,
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ pod }}" ,
"metric" : "container_memory_usage:sort_desc" ,
2018-03-06 16:42:07 +01:00
"refId" : "A" ,
2020-06-19 19:58:37 +02:00
"step" : 10
} ,
{
"expr" : "topk(10,sum(container_memory_rss{name=~\".+\"}) by (pod))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 1 ,
"legendFormat" : "{{ pod }}" ,
"refId" : "B"
2018-03-06 16:42:07 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Pod memory usage" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
"sort" : 2 ,
2020-06-19 19:58:37 +02:00
"value_type" : "cumulative"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "bytes" ,
2018-03-06 16:42:07 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
"error" : false ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
"grid" : { } ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 7 ,
2020-06-19 19:58:37 +02:00
"w" : 12 ,
"x" : 0 ,
"y" : 49
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 19 ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"alignAsTable" : true ,
"avg" : true ,
2018-03-06 16:42:07 +01:00
"current" : false ,
"hideEmpty" : true ,
"hideZero" : true ,
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"rightSide" : false ,
"show" : true ,
"sideWidth" : 550 ,
"sort" : "avg" ,
"sortDesc" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : true
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 2 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-19 19:58:37 +02:00
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "topk(10,sum(rate(container_network_transmit_bytes_total{pod=~\".+\"}[5m])) by (pod))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{ pod_name }}" ,
"refId" : "A" ,
"step" : 240
} ,
2018-03-06 16:42:07 +01:00
{
2020-06-19 19:58:37 +02:00
"expr" : "rate(container_network_transmit_bytes_total{id=\"/\"}[$interval])" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"hide" : true ,
"interval" : "" ,
2018-03-06 16:42:07 +01:00
"intervalFactor" : 2 ,
2020-06-19 19:58:37 +02:00
"legendFormat" : "" ,
"refId" : "B" ,
"step" : 10
2018-03-06 16:42:07 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Sent Network Traffic per Container" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
2020-06-19 19:58:37 +02:00
"msResolution" : true ,
2018-03-06 16:42:07 +01:00
"shared" : true ,
"sort" : 2 ,
2020-06-19 19:58:37 +02:00
"value_type" : "cumulative"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "Bps" ,
"label" : "" ,
2018-03-06 16:42:07 +01:00
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
"format" : "short" ,
2020-06-19 19:58:37 +02:00
"label" : "" ,
"logBase" : 10 ,
"max" : 8 ,
"min" : 0 ,
"show" : false
2018-03-06 16:42:07 +01:00
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
"error" : false ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"fill" : 1 ,
2020-06-19 19:58:37 +02:00
"fillGradient" : 0 ,
"grid" : { } ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 7 ,
2020-06-19 19:58:37 +02:00
"w" : 12 ,
2018-03-06 16:42:07 +01:00
"x" : 12 ,
2020-06-19 19:58:37 +02:00
"y" : 49
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
"id" : 21 ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"alignAsTable" : true ,
"avg" : true ,
2018-03-06 16:42:07 +01:00
"current" : false ,
2020-06-19 19:58:37 +02:00
"hideEmpty" : true ,
"hideZero" : true ,
2018-03-06 16:42:07 +01:00
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"rightSide" : false ,
"show" : true ,
"sideWidth" : 150 ,
"sort" : "avg" ,
"sortDesc" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : true
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 2 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
"nullPointMode" : "null" ,
2020-06-19 19:58:37 +02:00
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "topk(10,sum(rate(container_network_receive_bytes_total{pod=~\".+\"}[5m])) by (pod))" ,
"format" : "time_series" ,
"interval" : "" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{pod_name}}" ,
"refId" : "A" ,
"step" : 240
} ,
2018-03-06 16:42:07 +01:00
{
2020-06-19 19:58:37 +02:00
"expr" : "- rate(container_network_transmit_bytes_total{pod_name=~\".+\"}[$interval])" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"hide" : true ,
2018-03-06 16:42:07 +01:00
"intervalFactor" : 2 ,
2020-06-19 19:58:37 +02:00
"legendFormat" : "{{pod_name}}" ,
"refId" : "B" ,
"step" : 10
2018-03-06 16:42:07 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Received Network Traffic per Container" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
2020-06-19 19:58:37 +02:00
"msResolution" : true ,
2018-03-06 16:42:07 +01:00
"shared" : true ,
"sort" : 2 ,
2020-06-19 19:58:37 +02:00
"value_type" : "cumulative"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"format" : "Bps" ,
2018-03-06 16:42:07 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"aliasColors" : { } ,
2018-03-06 16:42:07 +01:00
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2020-06-19 19:58:37 +02:00
"datasource" : "prometheus" ,
"decimals" : 2 ,
2018-03-06 16:42:07 +01:00
"editable" : true ,
"error" : false ,
2020-06-19 19:58:37 +02:00
"fieldConfig" : {
"defaults" : {
"custom" : { }
} ,
"overrides" : [ ]
} ,
"fill" : 0 ,
"fillGradient" : 0 ,
"grid" : { } ,
2018-03-06 16:42:07 +01:00
"gridPos" : {
"h" : 7 ,
2020-06-19 19:58:37 +02:00
"w" : 24 ,
"x" : 0 ,
"y" : 56
2018-03-06 16:42:07 +01:00
} ,
2020-06-19 19:58:37 +02:00
"hiddenSeries" : false ,
2018-03-06 16:42:07 +01:00
"id" : 8 ,
2020-06-19 19:58:37 +02:00
"isNew" : true ,
2018-03-06 16:42:07 +01:00
"legend" : {
2020-06-19 19:58:37 +02:00
"alignAsTable" : true ,
"avg" : true ,
"current" : true ,
2018-03-06 16:42:07 +01:00
"max" : false ,
"min" : false ,
2020-06-19 19:58:37 +02:00
"rightSide" : true ,
"show" : true ,
"sideWidth" : 220 ,
"sort" : "current" ,
"sortDesc" : true ,
2018-03-06 16:42:07 +01:00
"total" : false ,
2020-06-19 19:58:37 +02:00
"values" : true
2018-03-06 16:42:07 +01:00
} ,
"lines" : true ,
2020-06-19 19:58:37 +02:00
"linewidth" : 2 ,
2018-03-06 16:42:07 +01:00
"links" : [ ] ,
2020-06-19 19:58:37 +02:00
"nullPointMode" : "connected" ,
"options" : {
"dataLinks" : [ ]
} ,
2018-03-06 16:42:07 +01:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
2020-06-19 19:58:37 +02:00
"seriesOverrides" : [ ] ,
2018-03-06 16:42:07 +01:00
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
2020-06-19 19:58:37 +02:00
"targets" : [ {
"expr" : "sort_desc(sum by (kubernetes_pod_name) (rate (container_network_receive_bytes_total{name!=\"\", kubernetes_pod_name=~\".*\"}[1m]) ))" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "Receive Traffic" ,
"metric" : "network" ,
2018-03-06 16:42:07 +01:00
"refId" : "A" ,
2020-06-19 19:58:37 +02:00
"step" : 10
2018-03-06 16:42:07 +01:00
} ,
{
2020-06-19 19:58:37 +02:00
"expr" : "sort_desc(sum by (kubernetes_pod_name) (rate (container_network_transmit_bytes_total{name!=\"\", kubernetes_pod_name=~\".*\"}[1m]) ))" ,
2018-03-06 16:42:07 +01:00
"format" : "time_series" ,
2020-06-19 19:58:37 +02:00
"interval" : "10s" ,
"intervalFactor" : 1 ,
"legendFormat" : "Transmit Traffic" ,
"metric" : "network" ,
2018-03-06 16:42:07 +01:00
"refId" : "B" ,
2020-06-19 19:58:37 +02:00
"step" : 10
2018-03-06 16:42:07 +01:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
2019-02-04 21:02:26 +01:00
"timeRegions" : [ ] ,
2018-03-06 16:42:07 +01:00
"timeShift" : null ,
2020-06-19 19:58:37 +02:00
"title" : "Pod Network i/o" ,
2018-03-06 16:42:07 +01:00
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
2020-06-19 19:58:37 +02:00
"sort" : 0 ,
"value_type" : "cumulative"
2018-03-06 16:42:07 +01:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
2020-06-19 19:58:37 +02:00
"yaxes" : [ {
"$$hashKey" : "object:1163" ,
"format" : "bytes" ,
2018-03-06 16:42:07 +01:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2020-06-19 19:58:37 +02:00
"min" : null ,
2018-03-06 16:42:07 +01:00
"show" : true
} ,
{
2020-06-19 19:58:37 +02:00
"$$hashKey" : "object:1164" ,
2018-03-06 16:42:07 +01:00
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
}
2019-02-04 21:02:26 +01:00
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
2018-03-06 16:42:07 +01:00
}
] ,
2020-06-19 19:58:37 +02:00
"refresh" : "10s" ,
"schemaVersion" : 25 ,
2018-03-06 16:42:07 +01:00
"style" : "dark" ,
"tags" : [
2020-06-19 19:58:37 +02:00
"custom" ,
"overview"
2018-03-06 16:42:07 +01:00
] ,
"templating" : {
2020-06-19 19:58:37 +02:00
"list" : [ ]
2018-03-06 16:42:07 +01:00
} ,
"time" : {
2019-02-04 21:02:26 +01:00
"from" : "now-3h" ,
2018-03-06 16:42:07 +01:00
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "browser" ,
2020-06-19 19:58:37 +02:00
"title" : "⭐️ Kubernetes Monitoring Overview" ,
"uid" : "82pBZCmRkasd" ,
2019-02-04 21:02:26 +01:00
"version" : 1
2018-03-06 16:42:07 +01:00
}