"query":"SELECT first(\"value\") FROM \"mcx_db\".\"autogen\".\"speed\" WHERE \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) FILL(null)",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT HOLT_WINTERS(FIRST(\"value\"),20,5) FROM \"mcx_db\".\"autogen\".\"speed\" WHERE \"id\" = '$lanes' and $timeFilter GROUP BY time($interval)",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Speed and Predicted",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"transparent":false,
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"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,
"dashLength":10,
"dashes":false,
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":5,
"legend":{
"alignAsTable":false,
"avg":false,
"current":false,
"max":false,
"min":false,
"rightSide":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":3,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"speed(mph)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"alias":"vehicleCount",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM vehicleCount where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Vehicels Speed & Count",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"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,
"dashLength":10,
"dashes":false,
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":8,
"legend":{
"alignAsTable":false,
"avg":false,
"current":false,
"max":false,
"min":false,
"rightSide":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":3,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"speed(mph)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$lanes' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
}
],
"thresholds":[],
"timeFrom":null,
"timeShift":null,
"title":"Vehicels Speed",
"tooltip":{
"msResolution":true,
"shared":true,
"sort":0,
"value_type":"cumulative"
},
"type":"graph",
"xaxis":{
"buckets":null,
"mode":"time",
"name":null,
"show":true,
"values":[]
},
"yaxes":[
{
"format":"short",
"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":"Row",
"titleSize":"h6"
},
{
"collapse":false,
"height":286,
"panels":[
{
"aliasColors":{},
"bars":false,
"dashLength":10,
"dashes":false,
"datasource":"${DS_INFLUX-LOCAL}",
"editable":true,
"error":false,
"fill":1,
"grid":{},
"id":7,
"legend":{
"alignAsTable":false,
"avg":false,
"current":false,
"max":false,
"min":false,
"rightSide":false,
"show":true,
"total":false,
"values":false
},
"lines":true,
"linewidth":2,
"links":[],
"nullPointMode":"connected",
"percentage":false,
"pointradius":2,
"points":true,
"renderer":"flot",
"seriesOverrides":[],
"spaceLength":10,
"span":6,
"stack":false,
"steppedLine":false,
"targets":[
{
"alias":"num of pedestrians",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM pedestrianCount where \"id\" = '$crosswalks' and $timeFilter GROUP BY time($interval) ",
"rawQuery":true,
"refId":"B",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"mean"
}
]
],
"tags":[]
},
{
"alias":"speed(meters/hour)",
"dsType":"influxdb",
"groupBy":[
{
"params":[
"$interval"
],
"type":"time"
},
{
"params":[
"null"
],
"type":"fill"
}
],
"hide":false,
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT first(value) FROM speed where \"id\" = '$crosswalks' and $timeFilter GROUP BY time($interval) ",