"query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytesreceived') AND $timeFilter \n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')",
"rawQuery":true,
"refId":"A",
"resultFormat":"time_series",
"select":[
[
{
"params":[
"value"
],
"type":"field"
},
{
"params":[],
"type":"max"
},
{
"params":[
"10s"
],
"type":"non_negative_derivative"
}
]
],
"tags":[
{
"key":"type_instance",
"operator":"=",
"value":"totalbytesreceived"
}
}
],
],
"target":""
"thresholds":[],
"timeFrom":null,
"timeRegions":[],
"timeShift":null,
"title":"Active Hosts",
"tooltip":{
"shared":true,
"sort":0,
"value_type":"individual"
},
},
{
"type":"graph",
"alias":"Upload",
"xaxis":{
"dsType":"prometheus",
"buckets":null,
"expr":"gateway_wan_bytes_sent",
"mode":"time",
"groupBy":[
"name":null,
{
"show":true,
"params":[
"values":[]
"1d"
],
"type":"time"
}
],
"interval":"",
"legendFormat":"Upload",
"measurement":"fritzbox_value",
"orderByTime":"ASC",
"policy":"default",
"query":"SELECT non_negative_difference(last(cumulative_sum)) FROM (\nSELECT cumulative_sum(non_negative_difference(\"value\")) FROM \"fritzbox_value\" WHERE (\"type_instance\" = 'totalbytessent') AND $timeFilter\n) WHERE $timeFilter GROUP BY time(1d) tz('Europe/Berlin')",