2018-08-24 10:10:27 -04:00
{ % r a w % }
{
"annotations" : {
"list" : [
{
2018-10-19 06:58:26 -04:00
"$$hashKey" : "object:97" ,
2018-08-24 10:10:27 -04:00
"builtIn" : 1 ,
"datasource" : "prometheus" ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"limit" : 100 ,
"name" : "Annotations & Alerts" ,
"showIn" : 0 ,
"type" : "dashboard"
}
]
} ,
"description" : "Monitors Kubernetes cluster using Prometheus. Shows overall cluster CPU / Memory / Filesystem usage as well as individual pod, containers, systemd services statistics. Uses cAdvisor metrics only." ,
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
"id" : null ,
2018-10-19 06:58:26 -04:00
"iteration" : 1539948971245 ,
2018-08-24 10:10:27 -04:00
"links" : [ ] ,
"panels" : [
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 0
} ,
"id" : 6 ,
"panels" : [ ] ,
"title" : "Cluster status" ,
"type" : "row"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 0 ,
"y" : 1
} ,
"id" : 46 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "% UP" ,
"postfixFontSize" : "80%" ,
"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" : [
{
2018-10-08 06:32:26 -04:00
"expr" : "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-controller-manager\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"metric" : "elasticsearch_cluster_health_status" ,
"refId" : "A" ,
"step" : 40
}
] ,
"thresholds" : "35,70" ,
"title" : "Cluster Manager status" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "3"
} ,
{
"op" : "=" ,
"text" : "WARNING" ,
"value" : "2"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "1"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 6 ,
"x" : 4 ,
"y" : 1
} ,
"id" : 58 ,
"interval" : null ,
"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" : "count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"})" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "etcd_server_has_leader" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : "" ,
"title" : "Master node count" ,
"transparent" : false ,
"type" : "singlestat" ,
"valueFontSize" : "100%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "avg"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : false ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(50, 172, 45, 0.97)"
] ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 6 ,
"x" : 10 ,
"y" : 1
} ,
"id" : 56 ,
"interval" : null ,
"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" : "count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\"}) - count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"})" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "etcd_server_has_leader" ,
"refId" : "A" ,
"step" : 20
}
] ,
"thresholds" : "" ,
"title" : "Worker node count" ,
"transparent" : false ,
"type" : "singlestat" ,
"valueFontSize" : "100%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "avg"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 0 ,
"y" : 6
} ,
"id" : 48 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "% UP" ,
"postfixFontSize" : "80%" ,
"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" : [
{
2018-10-08 06:32:26 -04:00
"expr" : "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-apiserver\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"metric" : "elasticsearch_cluster_health_status" ,
"refId" : "A" ,
"step" : 40
}
] ,
"thresholds" : "35,70" ,
"title" : "API Server status" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "3"
} ,
{
"op" : "=" ,
"text" : "WARNING" ,
"value" : "2"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "1"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 4 ,
"y" : 6
} ,
"id" : 50 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "% UP" ,
"postfixFontSize" : "80%" ,
"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" : [
{
2018-10-08 06:32:26 -04:00
"expr" : "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-scheduler\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"metric" : "elasticsearch_cluster_health_status" ,
"refId" : "A" ,
"step" : 40
}
] ,
"thresholds" : "35,70" ,
"title" : "Scheduler status" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "3"
} ,
{
"op" : "=" ,
"text" : "WARNING" ,
"value" : "2"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "1"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 8 ,
"y" : 6
} ,
"id" : 52 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "% UP" ,
"postfixFontSize" : "80%" ,
"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" : [
{
2018-10-08 06:32:26 -04:00
"expr" : "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-proxy\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"metric" : "elasticsearch_cluster_health_status" ,
"refId" : "A" ,
"step" : 40
}
] ,
"thresholds" : "35,70" ,
"title" : "Proxy status" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "3"
} ,
{
"op" : "=" ,
"text" : "WARNING" ,
"value" : "2"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "1"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(245, 54, 54, 0.9)" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 4 ,
"x" : 12 ,
"y" : 6
} ,
"id" : 54 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "% UP" ,
"postfixFontSize" : "80%" ,
"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" : [
{
2018-10-08 06:32:26 -04:00
"expr" : "100*count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"} == 1)/count(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-kubelet\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"metric" : "elasticsearch_cluster_health_status" ,
"refId" : "A" ,
"step" : 40
}
] ,
"thresholds" : "35,70" ,
"title" : "Kubelet status" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "3"
} ,
{
"op" : "=" ,
"text" : "WARNING" ,
"value" : "2"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "1"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
}
] ,
"valueName" : "current"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 11
} ,
"id" : 66 ,
"panels" : [ ] ,
"title" : "Host status" ,
"type" : "row"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : true ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4.8 ,
"x" : 0 ,
"y" : 12
} ,
"id" : 60 ,
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"minSpan" : 3 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"repeat" : "host" ,
"repeatDirection" : "h" ,
"scopedVars" : {
"host" : {
"selected" : false ,
"text" : "cmp0" ,
"value" : "cmp0"
}
} ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\",host=~\"$host\"}" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"refId" : "A"
}
] ,
"thresholds" : "0.5,1" ,
"title" : "Kubernetes@${host}" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "1"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : true ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4.8 ,
"x" : 4.8 ,
"y" : 12
} ,
2018-10-19 06:58:26 -04:00
"id" : 108 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"minSpan" : 3 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"repeat" : null ,
"repeatDirection" : "h" ,
2018-10-19 06:58:26 -04:00
"repeatIteration" : 1539948971245 ,
2018-08-24 10:10:27 -04:00
"repeatPanelId" : 60 ,
"scopedVars" : {
"host" : {
"selected" : false ,
"text" : "cmp1" ,
"value" : "cmp1"
}
} ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\",host=~\"$host\"}" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"refId" : "A"
}
] ,
"thresholds" : "0.5,1" ,
"title" : "Kubernetes@${host}" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "1"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : true ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4.8 ,
"x" : 9.6 ,
"y" : 12
} ,
2018-10-19 06:58:26 -04:00
"id" : 109 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"minSpan" : 3 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"repeat" : null ,
"repeatDirection" : "h" ,
2018-10-19 06:58:26 -04:00
"repeatIteration" : 1539948971245 ,
2018-08-24 10:10:27 -04:00
"repeatPanelId" : 60 ,
"scopedVars" : {
"host" : {
"selected" : false ,
"text" : "ctl01" ,
"value" : "ctl01"
}
} ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\",host=~\"$host\"}" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"refId" : "A"
}
] ,
"thresholds" : "0.5,1" ,
"title" : "Kubernetes@${host}" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "1"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : true ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4.8 ,
"x" : 14.399999999999999 ,
"y" : 12
} ,
2018-10-19 06:58:26 -04:00
"id" : 110 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"minSpan" : 3 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"repeat" : null ,
"repeatDirection" : "h" ,
2018-10-19 06:58:26 -04:00
"repeatIteration" : 1539948971245 ,
2018-08-24 10:10:27 -04:00
"repeatPanelId" : 60 ,
"scopedVars" : {
"host" : {
"selected" : false ,
"text" : "ctl02" ,
"value" : "ctl02"
}
} ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\",host=~\"$host\"}" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"refId" : "A"
}
] ,
"thresholds" : "0.5,1" ,
"title" : "Kubernetes@${host}" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "1"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : true ,
"colorValue" : false ,
"colors" : [
"#d44a3a" ,
"rgba(237, 129, 40, 0.89)" ,
"#299c46"
] ,
"datasource" : null ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
"w" : 4.8 ,
"x" : 19.2 ,
"y" : 12
} ,
2018-10-19 06:58:26 -04:00
"id" : 111 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"minSpan" : 3 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "50%" ,
"prefix" : "" ,
"prefixFontSize" : "50%" ,
"rangeMaps" : [
{
"from" : "null" ,
"text" : "N/A" ,
"to" : "null"
}
] ,
"repeat" : null ,
"repeatDirection" : "h" ,
2018-10-19 06:58:26 -04:00
"repeatIteration" : 1539948971245 ,
2018-08-24 10:10:27 -04:00
"repeatPanelId" : 60 ,
"scopedVars" : {
"host" : {
"selected" : false ,
"text" : "ctl03" ,
"value" : "ctl03"
}
} ,
"sparkline" : {
"fillColor" : "rgba(31, 118, 189, 0.18)" ,
"full" : false ,
"lineColor" : "rgb(31, 120, 193)" ,
"show" : false
} ,
"tableColumn" : "" ,
"targets" : [
{
"expr" : "procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\",host=~\"$host\"}" ,
"format" : "time_series" ,
"intervalFactor" : 2 ,
"refId" : "A"
}
] ,
"thresholds" : "0.5,1" ,
"title" : "Kubernetes@${host}" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
} ,
{
"op" : "=" ,
"text" : "FAIL" ,
"value" : "0"
} ,
{
"op" : "=" ,
"text" : "OK" ,
"value" : "1"
}
] ,
"valueName" : "current"
} ,
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 15
} ,
"id" : 4 ,
"panels" : [ ] ,
"title" : "Resources" ,
"type" : "row"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : null ,
"editable" : true ,
"error" : false ,
"format" : "percent" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : true ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
2018-10-19 06:58:26 -04:00
"w" : 6 ,
2018-08-24 10:10:27 -04:00
"x" : 0 ,
"y" : 16
} ,
"height" : "180px" ,
2018-10-19 06:58:26 -04:00
"id" : 72 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_pod_container_memory_working_set_bytes{environment=\"$environment\",host=~\"$host\"}) / (sum(kubernetes_node_memory_available_bytes{environment=\"$environment\",host=~\"$host\"}) + sum(kubernetes_node_memory_working_set_bytes{environment=\"$environment\",host=~\"$host\"})) * 100" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "65, 90" ,
2018-10-19 06:58:26 -04:00
"title" : "Cluster memory usage by pods" ,
2018-08-24 10:10:27 -04:00
"transparent" : false ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "percent" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : true ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
2018-10-19 06:58:26 -04:00
"w" : 6 ,
"x" : 6 ,
2018-08-24 10:10:27 -04:00
"y" : 16
} ,
"height" : "180px" ,
2018-10-19 06:58:26 -04:00
"id" : 79 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(rate(kubernetes_pod_container_cpu_usage_core_nanoseconds{environment=\"$environment\",host=~\"^$host$\"}[$rate_interval]) / 1000000000) / sum (system_n_cpus{environment=\"$environment\",host=~\"^$host$\"}) * 100" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "65, 90" ,
2018-10-19 06:58:26 -04:00
"title" : "Cluster CPU usage by pods" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "percent" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : true ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
2018-10-19 06:58:26 -04:00
"w" : 6 ,
"x" : 12 ,
"y" : 16
} ,
"height" : "180px" ,
"id" : 85 ,
"interval" : null ,
"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(kubernetes_pod_container_rootfs_used_bytes{environment=\"$environment\",host=~\"^$host$\",pod_name=~\"^$pod$\"}) / avg(kubernetes_pod_container_rootfs_capacity_bytes{environment=\"$environment\",host=~\"^$host$\",pod_name=~\"^$pod$\"}) * 100" ,
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "65, 90" ,
"title" : "Cluster filesystem pod usage@$pod" ,
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"cacheTimeout" : null ,
"colorBackground" : false ,
"colorValue" : true ,
"colors" : [
"rgba(50, 172, 45, 0.97)" ,
"rgba(237, 129, 40, 0.89)" ,
"rgba(245, 54, 54, 0.9)"
] ,
"datasource" : "prometheus" ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "percent" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : true ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 5 ,
"w" : 6 ,
"x" : 18 ,
2018-08-24 10:10:27 -04:00
"y" : 16
} ,
"height" : "180px" ,
2018-10-19 06:58:26 -04:00
"id" : 91 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "avg(kubernetes_pod_volume_used_bytes{environment=\"$environment\",host=~\"^$host$\",volume_name=~\"^$volume$\"}) / avg(kubernetes_pod_volume_capacity_bytes{environment=\"$environment\",host=~\"^$host$\",volume_name=~\"^$volume$\"}) * 100" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"metric" : "" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "65, 90" ,
2018-10-19 06:58:26 -04:00
"title" : "Cluster volume usage@$volume" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "80%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
2018-08-24 10:10:27 -04:00
"x" : 0 ,
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 75 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : "" ,
"postfixFontSize" : "20%" ,
"prefix" : "" ,
"prefixFontSize" : "20%" ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_pod_container_memory_working_set_bytes{environment=\"$environment\",host=~\"$host\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"legendFormat" : "" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
2018-10-19 06:58:26 -04:00
"title" : "Total used" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
"x" : 3 ,
2018-08-24 10:10:27 -04:00
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 77 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_node_memory_available_bytes{environment=\"$environment\",host=~\"$host\"}) + sum(kubernetes_node_memory_working_set_bytes{environment=\"$environment\",host=~\"$host\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
2018-10-19 06:58:26 -04:00
"title" : "Capacity" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
"x" : 6 ,
2018-08-24 10:10:27 -04:00
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 81 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : " cores" ,
"postfixFontSize" : "30%" ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(rate(kubernetes_pod_container_cpu_usage_core_nanoseconds{environment=\"$environment\",host=~\"^$host$\"}[$rate_interval]) / 1000000000) " ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
2018-10-19 06:58:26 -04:00
"title" : "Total used" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "none" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
"x" : 9 ,
2018-08-24 10:10:27 -04:00
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 83 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"links" : [ ] ,
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
"nullPointMode" : "connected" ,
"nullText" : null ,
"postfix" : " cores" ,
"postfixFontSize" : "30%" ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(system_n_cpus{environment=\"$environment\",host=~\"^$host$\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
2018-10-19 06:58:26 -04:00
"title" : "Capacity" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
"x" : 12 ,
2018-08-24 10:10:27 -04:00
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 87 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_pod_container_rootfs_used_bytes{environment=\"$environment\",host=~\"^$host$\",pod_name=~\"^$pod$\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
"title" : "Used" ,
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"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" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
} ,
"gridPos" : {
"h" : 3 ,
2018-10-19 06:58:26 -04:00
"w" : 3 ,
"x" : 15 ,
2018-08-24 10:10:27 -04:00
"y" : 21
} ,
"height" : "1px" ,
2018-10-19 06:58:26 -04:00
"id" : 89 ,
2018-08-24 10:10:27 -04:00
"interval" : null ,
"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" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "avg(kubernetes_pod_container_rootfs_capacity_bytes{environment=\"$environment\",host=~\"^$host$\",pod_name=~\"^$pod$\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
2018-10-19 06:58:26 -04:00
"title" : "Capacity" ,
2018-08-24 10:10:27 -04:00
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
2018-10-19 06:58:26 -04:00
"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)"
] ,
2018-08-24 10:10:27 -04:00
"datasource" : null ,
2018-10-19 06:58:26 -04:00
"decimals" : 2 ,
2018-08-24 10:10:27 -04:00
"editable" : true ,
"error" : false ,
2018-10-19 06:58:26 -04:00
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"gridPos" : {
"h" : 3 ,
"w" : 3 ,
"x" : 18 ,
"y" : 21
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"height" : "1px" ,
"id" : 93 ,
"interval" : null ,
2018-08-24 10:10:27 -04:00
"links" : [ ] ,
2018-10-19 06:58:26 -04:00
"mappingType" : 1 ,
"mappingTypes" : [
{
"name" : "value to text" ,
"value" : 1
} ,
{
"name" : "range to text" ,
"value" : 2
}
] ,
"maxDataPoints" : 100 ,
2018-08-24 10:10:27 -04:00
"nullPointMode" : "connected" ,
2018-10-19 06:58:26 -04:00
"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" : "" ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_pod_volume_used_bytes{environment=\"$environment\",host=~\"^$host$\",volume_name=~\"^$volume$\"})" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
2018-10-19 06:58:26 -04:00
"thresholds" : "" ,
"title" : "Used" ,
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
2018-08-24 10:10:27 -04:00
{
2018-10-19 06:58:26 -04:00
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
2018-08-24 10:10:27 -04:00
}
] ,
2018-10-19 06:58:26 -04:00
"valueName" : "current"
2018-08-24 10:10:27 -04:00
} ,
{
2018-10-19 06:58:26 -04:00
"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)"
] ,
2018-08-24 10:10:27 -04:00
"datasource" : null ,
2018-10-19 06:58:26 -04:00
"decimals" : 2 ,
2018-08-24 10:10:27 -04:00
"editable" : true ,
"error" : false ,
2018-10-19 06:58:26 -04:00
"format" : "bytes" ,
"gauge" : {
"maxValue" : 100 ,
"minValue" : 0 ,
"show" : false ,
"thresholdLabels" : false ,
"thresholdMarkers" : true
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"gridPos" : {
"h" : 3 ,
"w" : 3 ,
"x" : 21 ,
"y" : 21
} ,
"height" : "1px" ,
"id" : 95 ,
"interval" : null ,
"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(kubernetes_pod_volume_capacity_bytes{environment=\"$environment\",host=~\"^$host$\",volume_name=~\"$volume\"})" ,
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : "" ,
"title" : "Capacity" ,
"type" : "singlestat" ,
"valueFontSize" : "50%" ,
"valueMaps" : [
{
"op" : "=" ,
"text" : "N/A" ,
"value" : "null"
}
] ,
"valueName" : "current"
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "prometheus" ,
"fill" : 1 ,
"gridPos" : {
"h" : 8 ,
"w" : 24 ,
"x" : 0 ,
"y" : 24
} ,
"id" : 97 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2018-10-19 06:58:26 -04:00
"nullPointMode" : "null" ,
2018-08-24 10:10:27 -04:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
2018-10-19 06:58:26 -04:00
"steppedLine" : false ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "kubernetes_pod_volume_used_bytes{environment=\"$environment\",host=~\"^$host$\"}" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
2018-10-19 06:58:26 -04:00
"instant" : false ,
2018-08-24 10:10:27 -04:00
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "Volume: {{ volume_name }} | Used by {{ pod_name }}" ,
"refId" : "A"
2018-08-24 10:10:27 -04:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods volume space used" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
"shared" : true ,
2018-10-19 06:58:26 -04:00
"sort" : 0 ,
"value_type" : "individual"
2018-08-24 10:10:27 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2018-10-19 06:58:26 -04:00
"decimals" : 2 ,
"format" : "decbytes" ,
"label" : null ,
2018-08-24 10:10:27 -04:00
"logBase" : 1 ,
"max" : null ,
2018-10-19 06:58:26 -04:00
"min" : "0" ,
2018-08-24 10:10:27 -04:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2018-10-19 06:58:26 -04:00
"show" : true
2018-08-24 10:10:27 -04:00
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2018-10-19 06:58:26 -04:00
"datasource" : "prometheus" ,
2018-08-24 10:10:27 -04:00
"fill" : 1 ,
"gridPos" : {
2018-10-19 06:58:26 -04:00
"h" : 8 ,
2018-08-24 10:10:27 -04:00
"w" : 24 ,
"x" : 0 ,
2018-10-19 06:58:26 -04:00
"y" : 32
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"id" : 99 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
2018-10-19 06:58:26 -04:00
"avg" : false ,
2018-08-24 10:10:27 -04:00
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
2018-10-19 06:58:26 -04:00
"values" : false
2018-08-24 10:10:27 -04:00
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2018-10-19 06:58:26 -04:00
"nullPointMode" : "null" ,
2018-08-24 10:10:27 -04:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
2018-10-19 06:58:26 -04:00
"steppedLine" : false ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "kubernetes_pod_volume_available_bytes{environment=\"$environment\",host=~\"^$host$\"}" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
2018-10-19 06:58:26 -04:00
"instant" : false ,
2018-08-24 10:10:27 -04:00
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "Volume: {{ volume_name }}" ,
"refId" : "A"
2018-08-24 10:10:27 -04:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods volume space available" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
"shared" : true ,
2018-10-19 06:58:26 -04:00
"sort" : 0 ,
"value_type" : "individual"
2018-08-24 10:10:27 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2018-10-19 06:58:26 -04:00
"decimals" : 2 ,
"format" : "decbytes" ,
2018-08-24 10:10:27 -04:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2018-10-19 06:58:26 -04:00
"min" : "0" ,
2018-08-24 10:10:27 -04:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2018-10-19 06:58:26 -04:00
"show" : true
2018-08-24 10:10:27 -04:00
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
2018-10-19 06:58:26 -04:00
"datasource" : "prometheus" ,
2018-08-24 10:10:27 -04:00
"fill" : 1 ,
"gridPos" : {
2018-10-19 06:58:26 -04:00
"h" : 8 ,
2018-08-24 10:10:27 -04:00
"w" : 24 ,
"x" : 0 ,
2018-10-19 06:58:26 -04:00
"y" : 40
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"id" : 101 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
2018-10-19 06:58:26 -04:00
"avg" : false ,
2018-08-24 10:10:27 -04:00
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"total" : false ,
2018-10-19 06:58:26 -04:00
"values" : false
2018-08-24 10:10:27 -04:00
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
2018-10-19 06:58:26 -04:00
"nullPointMode" : "null" ,
2018-08-24 10:10:27 -04:00
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
2018-10-19 06:58:26 -04:00
"steppedLine" : false ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "kubernetes_pod_container_rootfs_used_bytes{environment=\"$environment\",host=~\"^$host$\"}" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
2018-10-19 06:58:26 -04:00
"instant" : false ,
2018-08-24 10:10:27 -04:00
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "{{ pod_name }}" ,
"refId" : "A"
2018-08-24 10:10:27 -04:00
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods rootfs filesystem usage" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
"shared" : true ,
2018-10-19 06:58:26 -04:00
"sort" : 0 ,
"value_type" : "individual"
2018-08-24 10:10:27 -04:00
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2018-10-19 06:58:26 -04:00
"decimals" : 2 ,
"format" : "decbytes" ,
2018-08-24 10:10:27 -04:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
2018-10-19 06:58:26 -04:00
"min" : "0" ,
2018-08-24 10:10:27 -04:00
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
2018-10-19 06:58:26 -04:00
"show" : true
2018-08-24 10:10:27 -04:00
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : null ,
2018-10-19 06:58:26 -04:00
"decimals" : 3 ,
2018-08-24 10:10:27 -04:00
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : { } ,
"gridPos" : {
2018-10-19 06:58:26 -04:00
"h" : 7 ,
2018-08-24 10:10:27 -04:00
"w" : 24 ,
"x" : 0 ,
2018-10-19 06:58:26 -04:00
"y" : 48
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"height" : "" ,
"id" : 103 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
2018-10-19 06:58:26 -04:00
"avg" : false ,
2018-08-24 10:10:27 -04:00
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
2018-10-19 06:58:26 -04:00
"values" : false
2018-08-24 10:10:27 -04:00
} ,
"lines" : true ,
2018-10-19 06:58:26 -04:00
"linewidth" : 1 ,
2018-08-24 10:10:27 -04:00
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
2018-10-19 06:58:26 -04:00
"steppedLine" : true ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(rate(kubernetes_pod_container_cpu_usage_core_nanoseconds{environment=\"$environment\",host=~\"^$host$\"}[$rate_interval])) by (pod_name) / 1000000000" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "{{ pod_name }}" ,
"metric" : "container_cpu" ,
2018-08-24 10:10:27 -04:00
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods CPU usage" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
2018-10-19 06:58:26 -04:00
"msResolution" : true ,
2018-08-24 10:10:27 -04:00
"shared" : true ,
2018-10-19 06:58:26 -04:00
"sort" : 2 ,
2018-08-24 10:10:27 -04:00
"value_type" : "cumulative"
} ,
"transparent" : false ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2018-10-19 06:58:26 -04:00
"format" : "none" ,
"label" : "cores" ,
2018-08-24 10:10:27 -04:00
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
2018-10-19 06:58:26 -04:00
"format" : "short" ,
2018-08-24 10:10:27 -04:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : { } ,
"gridPos" : {
2018-10-19 06:58:26 -04:00
"h" : 6 ,
2018-08-24 10:10:27 -04:00
"w" : 24 ,
"x" : 0 ,
2018-10-19 06:58:26 -04:00
"y" : 55
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"id" : 105 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
2018-10-19 06:58:26 -04:00
"sideWidth" : null ,
2018-08-24 10:10:27 -04:00
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
2018-10-19 06:58:26 -04:00
"steppedLine" : true ,
2018-08-24 10:10:27 -04:00
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(kubernetes_pod_container_memory_working_set_bytes{environment=\"$environment\",host=~\"$host\"}) by (pod_name)" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "{{ pod_name }}" ,
"metric" : "container_memory_usage:sort_desc" ,
2018-08-24 10:10:27 -04:00
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods memory usage" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
"sort" : 2 ,
"value_type" : "cumulative"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
2018-10-19 06:58:26 -04:00
"format" : "bytes" ,
2018-08-24 10:10:27 -04:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
} ,
2018-10-19 06:58:26 -04:00
{
"collapsed" : false ,
"gridPos" : {
"h" : 1 ,
"w" : 24 ,
"x" : 0 ,
"y" : 61
} ,
"id" : 2 ,
"panels" : [ ] ,
"title" : "Network" ,
"type" : "row"
} ,
2018-08-24 10:10:27 -04:00
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : null ,
"decimals" : 2 ,
"editable" : true ,
"error" : false ,
"fill" : 1 ,
"grid" : { } ,
"gridPos" : {
2018-10-19 06:58:26 -04:00
"h" : 6 ,
2018-08-24 10:10:27 -04:00
"w" : 24 ,
"x" : 0 ,
2018-10-19 06:58:26 -04:00
"y" : 62
2018-08-24 10:10:27 -04:00
} ,
2018-10-19 06:58:26 -04:00
"height" : "200px" ,
"id" : 107 ,
2018-08-24 10:10:27 -04:00
"legend" : {
"alignAsTable" : true ,
"avg" : true ,
"current" : false ,
"max" : false ,
"min" : false ,
"rightSide" : true ,
"show" : true ,
2018-10-19 06:58:26 -04:00
"sideWidth" : null ,
2018-08-24 10:10:27 -04:00
"sort" : "current" ,
"sortDesc" : true ,
"total" : false ,
"values" : true
} ,
"lines" : true ,
2018-10-19 06:58:26 -04:00
"linewidth" : 2 ,
2018-08-24 10:10:27 -04:00
"links" : [ ] ,
"nullPointMode" : "connected" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(rate(kubernetes_pod_network_rx_bytes{environment=\"$environment\",host=~\"^$host$\"}[$rate_interval])) by (pod_name)" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "Received by {{ pod_name }}" ,
2018-08-24 10:10:27 -04:00
"metric" : "network" ,
"refId" : "A" ,
"step" : 10
} ,
{
2018-10-19 06:58:26 -04:00
"expr" : "sum(rate(kubernetes_pod_network_tx_bytes{environment=\"$environment\",host=~\"^$host$\"}[$rate_interval])) by (pod_name)" ,
2018-08-24 10:10:27 -04:00
"format" : "time_series" ,
2018-10-19 06:58:26 -04:00
"instant" : false ,
2018-08-24 10:10:27 -04:00
"interval" : "10s" ,
"intervalFactor" : 2 ,
2018-10-19 06:58:26 -04:00
"legendFormat" : "Sent by {{ pod_name }}" ,
2018-08-24 10:10:27 -04:00
"metric" : "network" ,
"refId" : "B" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
2018-10-19 06:58:26 -04:00
"title" : "Pods network usage" ,
2018-08-24 10:10:27 -04:00
"tooltip" : {
"msResolution" : false ,
"shared" : true ,
2018-10-19 06:58:26 -04:00
"sort" : 0 ,
2018-08-24 10:10:27 -04:00
"value_type" : "cumulative"
} ,
2018-10-19 06:58:26 -04:00
"transparent" : false ,
2018-08-24 10:10:27 -04:00
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "Bps" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : true
} ,
{
2018-10-19 06:58:26 -04:00
"format" : "Bps" ,
2018-08-24 10:10:27 -04:00
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
] ,
"yaxis" : {
"align" : false ,
"alignLevel" : null
}
}
] ,
"refresh" : "1m" ,
"schemaVersion" : 16 ,
"style" : "dark" ,
"tags" : [
"kubernetes"
] ,
"templating" : {
"list" : [
{
"allValue" : null ,
2018-10-19 06:58:26 -04:00
"current" : {
"selected" : true ,
"text" : null ,
"value" : null
} ,
2018-08-24 10:10:27 -04:00
"datasource" : "prometheus" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "environment" ,
"options" : [ ] ,
"query" : "label_values(environment)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 0 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : {
"selected" : true ,
"text" : "All" ,
"value" : "$__all"
} ,
"datasource" : null ,
"hide" : 0 ,
"includeAll" : true ,
"label" : null ,
"multi" : true ,
"name" : "host" ,
"options" : [ ] ,
"query" : "label_values(procstat_running{environment=\"$environment\", process_name=~\"hyperkube-.*kubelet\"}, host)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"auto" : false ,
"auto_count" : 30 ,
"auto_min" : "10s" ,
"current" : {
2018-10-19 06:58:26 -04:00
"selected" : true ,
2018-08-24 10:10:27 -04:00
"text" : "3m" ,
"value" : "3m"
} ,
"hide" : 0 ,
"label" : null ,
"name" : "rate_interval" ,
"options" : [
{
"selected" : false ,
"text" : "1m" ,
"value" : "1m"
} ,
{
"selected" : false ,
"text" : "2m" ,
"value" : "2m"
} ,
{
"selected" : true ,
"text" : "3m" ,
"value" : "3m"
} ,
{
"selected" : false ,
"text" : "5m" ,
"value" : "5m"
} ,
{
"selected" : false ,
"text" : "10m" ,
"value" : "10m"
} ,
{
"selected" : false ,
"text" : "15m" ,
"value" : "15m"
}
] ,
"query" : "1m,2m,3m,5m,10m,15m" ,
"refresh" : 2 ,
"type" : "interval"
2018-10-19 06:58:26 -04:00
} ,
{
"allValue" : null ,
"current" : {
"text" : "alertmanager-6998ffccf5-9lxvc" ,
"value" : "alertmanager-6998ffccf5-9lxvc"
} ,
"datasource" : "prometheus" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "pod" ,
"options" : [
{
"$$hashKey" : "object:231" ,
"selected" : true ,
"text" : "alertmanager-6998ffccf5-9lxvc" ,
"value" : "alertmanager-6998ffccf5-9lxvc"
} ,
{
"$$hashKey" : "object:232" ,
"selected" : false ,
"text" : "coredns-f44595bc8-bjkjz" ,
"value" : "coredns-f44595bc8-bjkjz"
} ,
{
"$$hashKey" : "object:233" ,
"selected" : false ,
"text" : "fluentd-aggregator-86f4cd65b4-bx75l" ,
"value" : "fluentd-aggregator-86f4cd65b4-bx75l"
} ,
{
"$$hashKey" : "object:234" ,
"selected" : false ,
"text" : "netchecker-agent-5q22j" ,
"value" : "netchecker-agent-5q22j"
} ,
{
"$$hashKey" : "object:235" ,
"selected" : false ,
"text" : "prometheus-server-54bbf6b7d6-vgnbr" ,
"value" : "prometheus-server-54bbf6b7d6-vgnbr"
}
] ,
"query" : "label_values(kubernetes_pod_container_rootfs_capacity_bytes{environment=\"$environment\",host=~\"$host\"},pod_name)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
"allValue" : null ,
"current" : {
"text" : "alertmanager-token-gbvwx" ,
"value" : "alertmanager-token-gbvwx"
} ,
"datasource" : "prometheus" ,
"hide" : 0 ,
"includeAll" : false ,
"label" : null ,
"multi" : false ,
"name" : "volume" ,
"options" : [ ] ,
"query" : "label_values(kubernetes_pod_volume_capacity_bytes{environment=\"$environment\",host=~\"$host\"},volume_name)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 1 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2018-08-24 10:10:27 -04:00
}
]
} ,
"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" : "browser" ,
"title" : "Kubernetes cluster monitoring" ,
"uid" : null ,
"version" : 1
}
{ % e n d r a w % }