"query":"SELECT last(\"value\") FROM \"fs_space_percent_free\" WHERE \"hostname\" =~ /^$hostname$/ AND \"fs\" = '/var/lib/nova' AND $timeFilter GROUP BY time($interval) fill(previous)",
"query":"SELECT last(\"value\") FROM \"openstack_nova_running_instances\" WHERE \"hostname\" =~ /^$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_free_vcpus\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
},
{
"alias":"used",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"previous"
],
"type":"fill"
}
],
"measurement":"openstack_nova_used_vcpus",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_used_vcpus\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Virtual CPUs",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"short",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"short",
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":0,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":6,
"isNew":true,
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":3,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"free",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"previous"
],
"type":"fill"
}
],
"measurement":"openstack_nova_free_ram",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_free_ram\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
},
{
"alias":"used",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"previous"
],
"type":"fill"
}
],
"measurement":"openstack_nova_used_ram",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_used_ram\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Virtual RAM",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"mbytes",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"mbytes",
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":0,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":7,
"isNew":true,
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":3,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"free",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"previous"
],
"type":"fill"
}
],
"measurement":"openstack_nova_free_disk",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_free_disk\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
},
{
"alias":"used",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"previous"
],
"type":"fill"
}
],
"measurement":"openstack_nova_used_disk",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"openstack_nova_used_disk\" WHERE \"hostname\" =~ /$hostname$/ AND $timeFilter GROUP BY time($interval) fill(previous)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Virtual Disk",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"gbytes",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"gbytes",
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
}
],
"showTitle":true,
"title":"Virtual Resources"
},
{
"collapse":false,
"editable":true,
"height":"250px",
"panels":[
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":1,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":1,
"interval":">60s",
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[
{
"alias":"/virt_vcpu_time/",
"stack":true,
"yaxis":2
}
],
"span":6,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"cpu_time",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_cpu_time",
"policy":"default",
"query":"SELECT mean(\"value\") /10000000 FROM \"virt_cpu_time\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
},
{
"params":[
"/10000000"
],
"type":"math"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
}
]
},
{
"alias":"vcpu_time(vcpu:$tag_vcpu_number)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"vcpu_number"
],
"type":"tag"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_vcpu_time",
"policy":"default",
"query":"SELECT mean(\"value\") /10000000 FROM \"virt_vcpu_time\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND $timeFilter GROUP BY time($interval), \"vcpu_number\" fill(none)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
},
{
"params":[
"/10000000"
],
"type":"math"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"CPU",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"short",
"label":"%",
"logBase":1,
"max":100,
"min":0,
"show":true
},
{
"format":"short",
"label":"%",
"logBase":1,
"max":100,
"min":0,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":1,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":2,
"interval":">60s",
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":6,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"total",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_memory_total",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"virt_memory_total\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Memory",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"bytes",
"label":"",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"short",
"label":"",
"logBase":1,
"max":null,
"min":0,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":1,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":3,
"interval":"> 60s",
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":6,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"read",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_disk_octets_read",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"virt_disk_octets_read\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND \"device\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
},
{
"condition":"AND",
"key":"device",
"operator":"=~",
"value":"/$disk$/"
}
]
},
{
"alias":"written",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_disk_octets_write",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"virt_disk_octets_write\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND \"device\" =~ /$disk$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
},
{
"condition":"AND",
"key":"device",
"operator":"=~",
"value":"/$disk$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Disk I/O",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"Bps",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"short",
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
},
{
"aliasColors":{},
"bars":false,
"datasource":null,
"editable":true,
"error":false,
"fill":1,
"grid":{
"threshold1":null,
"threshold1Color":"rgba(216, 200, 27, 0.27)",
"threshold2":null,
"threshold2Color":"rgba(234, 112, 112, 0.22)"
},
"id":4,
"interval":"> 60s",
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":5,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"span":6,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"rx",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_if_octets_rx",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"virt_if_octets_rx\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND \"interface\" =~ /$interface$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
},
{
"condition":"AND",
"key":"interface",
"operator":"=~",
"value":"/$interface$/"
}
]
},
{
"alias":"tx",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"auto"
],
"type":"time"
},
{
"params":[
"none"
],
"type":"fill"
}
],
"measurement":"virt_if_octets_tx",
"policy":"default",
"query":"SELECT mean(\"value\") FROM \"virt_if_octets_tx\" WHERE \"hostname\" =~ /$hostname$/ AND \"instance_id\" =~ /$instance_id$/ AND \"interface\" =~ /$interface$/ AND $timeFilter GROUP BY time($interval) fill(none)",
"rawQuery":false,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"hostname",
"operator":"=~",
"value":"/$hostname$/"
},
{
"condition":"AND",
"key":"instance_id",
"operator":"=~",
"value":"/$instance_id$/"
},
{
"condition":"AND",
"key":"interface",
"operator":"=~",
"value":"/$interface$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Network I/O",
"tooltip":{
"msResolution":false,
"shared":true,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"show":true
},
"yaxes":[
{
"format":"Bps",
"logBase":1,
"max":null,
"min":0,
"show":true
},
{
"format":"short",
"logBase":1,
"max":null,
"min":null,
"show":true
}
]
}
],
"showTitle":true,
"title":"Virtual instance"
}
],
"schemaVersion":12,
"sharedCrosshair":true,
"style":"dark",
"tags":[],
"templating":{
"list":[
{
"allFormat":"regex values",
"current":{},
"datasource":null,
"hide":0,
"includeAll":false,
"name":"environment",
"options":[],
"query":"show tag values from cpu_idle with key = environment_label",
"query":"show tag values from virt_disk_octets_read with key = device where hostname =~ /^$hostname$/ and instance_id =~ /^$instance_id$/ and environment_label =~ /^$environment$/",
"query":"show tag values from virt_if_octets_rx with key = interface where hostname =~ /^$hostname$/ and instance_id =~ /^$instance_id$/ and environment_label =~ /^$environment$/",