"expr":"sort_desc(sum(rate(container_cpu_user_seconds_total{image!=\"\",container_label_com_docker_swarm_service_name=~\"$service\"}[1m])) by (name))",
"interval":"10s",
"intervalFactor":1,
"legendFormat":"{{name}}",
"metric":"container_cpu_user_seconds_total",
"refId":"A",
"step":10
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Container CPU usage",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"percentunit",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
}
],
"repeat":null,
"repeatIteration":null,
"repeatRowId":null,
"showTitle":false,
"title":"New row",
"titleSize":"h6"
},
{
"collapse":false,
"height":"250px",
"panels":[
{
"aliasColors":{},
"bars":false,
"datasource":"${DS_Prometheus}",
"decimals":2,
"editable":true,
"error":false,
"fill":0,
"grid":{},
"id":2,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":false,
"min":false,
"rightSide":true,
"show":true,
"sideWidth":200,
"sort":"current",
"sortDesc":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":12,
"stack":false,
"steppedLine":false,
"targets":[
{
"expr":"sort_desc(sum(container_memory_usage_bytes{image!=\"\",container_label_com_docker_swarm_service_name=~\"$service\"}) by (name))",
"interval":"10s",
"intervalFactor":1,
"legendFormat":"{{ name }}",
"metric":"container_memory_usage:sort_desc",
"refId":"A",
"step":10
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Container Memory Usage",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"bytes",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":"${DS_Prometheus}",
"decimals":2,
"editable":true,
"error":false,
"fill":0,
"grid":{},
"id":8,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":false,
"min":false,
"rightSide":true,
"show":true,
"sideWidth":200,
"sort":"current",
"sortDesc":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":12,
"stack":false,
"steppedLine":false,
"targets":[
{
"expr":"sort_desc(sum by (name) (rate(container_network_receive_bytes_total{image!=\"\",container_label_com_docker_swarm_service_name=~\"$service\"}[1m] ) ))",
"interval":"10s",
"intervalFactor":1,
"legendFormat":"{{ name }}",
"metric":"container_network_receive_bytes_total",
"refId":"A",
"step":10
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Container Network Input",
"tooltip":{
"msResolution":false,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"bytes",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":null,
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":"${DS_Prometheus}",
"decimals":2,
"editable":true,
"error":false,
"fill":0,
"grid":{},
"id":9,
"legend":{
"alignAsTable":true,
"avg":true,
"current":true,
"max":false,
"min":false,
"rightSide":true,
"show":true,
"sideWidth":200,
"sort":"current",
"sortDesc":true,
"total":false,
"values":true
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":12,
"stack":false,
"steppedLine":false,
"targets":[
{
"expr":"sort_desc(sum by (name) (rate(container_network_transmit_bytes_total{image!=\"\",container_label_com_docker_swarm_service_name=~\"$service\"}[1m] ) ))",