"query":"SELECT event from events WHERE $timeFilter ORDER BY time ASC",
"showIn":0,
"tagsColumn":"type",
"textColumn":"",
"type":"dashboard"
}
]
},
"editable":true,
"gnetId":null,
"graphTooltip":0,
"id":3,
"iteration":1578522574917,
"links":[],
"panels":[
{
"aliasColors":{},
"bars":false,
"cacheTimeout":null,
"dashLength":10,
"dashes":false,
"datasource":"$Scenario",
"description":"Shows latency & Throughput between UE1 & Fog1",
"fill":2,
"fillGradient":4,
"gridPos":{
"h":13,
"w":14,
"x":0,
"y":0
},
"hiddenSeries":false,
"id":2,
"interval":"",
"legend":{
"avg":false,
"current":false,
"max":false,
"min":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"options":{
"dataLinks":[]
},
"percentage":false,
"pluginVersion":"6.4.2",
"pointradius":2,
"points":false,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"Latency",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"network",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT mean(\"lat\") FROM \"network\" WHERE (\"src\" =~ /^$src$/ AND \"dest\" =~ /^$dest$/) AND $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"lat"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"src",
"operator":"=~",
"value":"/^$src$/"
},
{
"condition":"AND",
"key":"dest",
"operator":"=~",
"value":"/^$dest$/"
}
]
},
{
"alias":"Throughput",
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"measurement":"network",
"orderByTime":"ASC",
"policy":"default",
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"tput"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"src",
"operator":"=~",
"value":"/^$src$/"
},
{
"condition":"AND",
"key":"dest",
"operator":"=~",
"value":"/^$dest$/"
}
]
}
],
"thresholds":[],
"timeFrom":null,
"timeRegions":[],
"timeShift":null,
"title":"Throughput & Latency",
"tooltip":{
"shared":true,
"sort":0,
"value_type":"individual"
},
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"label":"Latency (ms)",
"logBase":1,
"max":null,
"min":null,
"show":true
},
{
"format":"short",
"label":"Throughput (Mbps)",
"logBase":1,
"max":null,
"min":null,
"show":true
}
],
"yaxis":{
"align":false,
"alignLevel":null
}
},
{
"datasource":"$Scenario",
"gridPos":{
"h":7,
"w":4,
"x":14,
"y":0
},
"id":6,
"interval":"",
"options":{
"fieldOptions":{
"calcs":[
"lastNotNull"
],
"defaults":{
"links":[],
"mappings":[],
"max":100,
"min":0,
"thresholds":[
{
"color":"green",
"value":null
},
{
"color":"#EAB839",
"value":60
},
{
"color":"red",
"value":100
}
]
},
"override":{},
"values":false
},
"orientation":"auto",
"showThresholdLabels":false,
"showThresholdMarkers":true
},
"pluginVersion":"6.5.2",
"targets":[
{
"groupBy":[
{
"params":[
"10s"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"limit":"",
"measurement":"network",
"orderByTime":"ASC",
"policy":"default",
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"lat"
],
"type":"field"
},
{
"params":[],
"type":"last"
}
]
],
"slimit":"",
"tags":[
{
"key":"src",
"operator":"=~",
"value":"/^$src$/"
},
{
"condition":"AND",
"key":"dest",
"operator":"=~",
"value":"/^$dest$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Latency (ms)",
"type":"gauge"
},
{
"datasource":"$Scenario",
"gridPos":{
"h":6,
"w":4,
"x":14,
"y":7
},
"id":7,
"options":{
"fieldOptions":{
"calcs":[
"lastNotNull"
],
"defaults":{
"links":[],
"mappings":[],
"max":100,
"min":0,
"thresholds":[
{
"color":"green",
"value":null
},
{
"color":"red",
"value":80
}
]
},
"override":{},
"values":false
},
"orientation":"auto",
"showThresholdLabels":false,
"showThresholdMarkers":true
},
"pluginVersion":"6.5.2",
"targets":[
{
"groupBy":[
{
"params":[
"10s"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"limit":"",
"measurement":"network",
"orderByTime":"ASC",
"policy":"default",
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"tput"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[
{
"key":"src",
"operator":"=~",
"value":"/^$src$/"
},
{
"condition":"AND",
"key":"dest",
"operator":"=~",
"value":"/^$dest$/"
}
]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Throughput (Mbps)",
"type":"gauge"
},
{
"cacheTimeout":null,
"columns":[],
"datasource":"$Scenario",
"fontSize":"100%",
"gridPos":{
"h":7,
"w":14,
"x":0,
"y":13
},
"id":4,
"links":[],
"options":{},
"pageSize":null,
"pluginVersion":"6.4.2",
"showHeader":true,
"sort":{
"col":0,
"desc":true
},
"styles":[
{
"alias":"Time",
"dateFormat":"YYYY-MM-DD HH:mm:ss",
"pattern":"Time",
"type":"date"
},
{
"alias":"Type",
"colorMode":null,
"colors":[
"#C4162A",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat":"YYYY-MM-DD HH:mm:ss",
"decimals":2,
"mappingType":1,
"pattern":"events.type",
"thresholds":[],
"type":"number",
"unit":"short"
},
{
"alias":"Event",
"colorMode":null,
"colors":[
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals":2,
"mappingType":1,
"pattern":"events.event",
"thresholds":[],
"type":"string",
"unit":"short"
}
],
"targets":[
{
"groupBy":[
{
"params":[
"$__interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT type,event from events WHERE $timeFilter ORDER BY time ASC",
"rawQuery":false,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"timeFrom":null,
"timeShift":null,
"title":"Events",
"transform":"timeseries_to_columns",
"type":"table"
}
],
"refresh":"1s",
"schemaVersion":21,
"style":"dark",
"tags":[],
"templating":{
"list":[
{
"current":{
"text":"meep-influxdb",
"value":"meep-influxdb"
},
"hide":0,
"includeAll":false,
"label":null,
"multi":false,
"name":"Scenario",
"options":[],
"query":"influxdb",
"refresh":1,
"regex":"",
"skipUrlSync":false,
"type":"datasource"
},
{
"allValue":null,
"current":{
"tags":[],
"text":"ue1-iperf",
"value":"ue1-iperf"
},
"datasource":"$Scenario",
"definition":"show tag values from network with key = \"src\"",
"hide":0,
"includeAll":false,
"label":"Source Node",
"multi":false,
"name":"src",
"options":[
{
"selected":false,
"text":"cloud1-iperf",
"value":"cloud1-iperf"
},
{
"selected":false,
"text":"cloud1-svc",
"value":"cloud1-svc"
},
{
"selected":true,
"text":"ue1-iperf",
"value":"ue1-iperf"
},
{
"selected":false,
"text":"ue2-svc",
"value":"ue2-svc"
},
{
"selected":false,
"text":"zone1-edge1-iperf",
"value":"zone1-edge1-iperf"
},
{
"selected":false,
"text":"zone1-fog1-iperf",
"value":"zone1-fog1-iperf"
},
{
"selected":false,
"text":"zone2-edge1-iperf",
"value":"zone2-edge1-iperf"
}
],
"query":"show tag values from network with key = \"src\"",
"refresh":0,
"regex":"",
"skipUrlSync":false,
"sort":0,
"tagValuesQuery":"",
"tags":[],
"tagsQuery":"",
"type":"query",
"useTags":false
},
{
"allValue":null,
"current":{
"tags":[],
"text":"zone1-fog1-iperf",
"value":"zone1-fog1-iperf"
},
"datasource":"$Scenario",
"definition":"show tag values from network with key = \"dest\"",
"hide":0,
"includeAll":false,
"label":"Destination node",
"multi":false,
"name":"dest",
"options":[
{
"selected":false,
"text":"cloud1-iperf",
"value":"cloud1-iperf"
},
{
"selected":false,
"text":"cloud1-svc",
"value":"cloud1-svc"
},
{
"selected":false,
"text":"ue1-iperf",
"value":"ue1-iperf"
},
{
"selected":false,
"text":"ue2-svc",
"value":"ue2-svc"
},
{
"selected":false,
"text":"zone1-edge1-iperf",
"value":"zone1-edge1-iperf"
},
{
"selected":true,
"text":"zone1-fog1-iperf",
"value":"zone1-fog1-iperf"
},
{
"selected":false,
"text":"zone2-edge1-iperf",
"value":"zone2-edge1-iperf"
}
],
"query":"show tag values from network with key = \"dest\"",
{{- if $value.url -}}{{ $value.url }}{{- else -}} https://grafana.com/api/dashboards/{{ $value.gnetId }}/revisions/{{- if $value.revision -}}{{ $value.revision }}{{- else -}}1{{- end -}}/download{{- end -}}{{ if $value.datasource }}| sed 's|\"datasource\":[^,]*|\"datasource\": \"{{ $value.datasource }}\"|g'{{ end }}{{- if $value.b64content -}} | base64 -d {{- end -}} \