Skip to content

Commit 42d56c4

Browse files
authored
fix(traffic): fix time in traffic by hour histogram (#58)
fix traffic by hour histogram with a wrong order in the x axis (e.g. 15:00 14:00 13:00 12:00 16:00)
1 parent f551252 commit 42d56c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

imageroot/etc/dashboards/network_traffic_by_client.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
"editorMode": "code",
254254
"format": "table",
255255
"rawQuery": true,
256-
"rawSql": "SELECT bucket, bytes \nFROM ca_dpi_stats_hourly_client\nWHERE $__timeFilter(bucket) AND uuid = '$uuid' AND client_address = '$client_address'",
256+
"rawSql": "SELECT bucket, bytes \nFROM ca_dpi_stats_hourly_client\nWHERE $__timeFilter(bucket) AND uuid = '$uuid' AND client_address = '$client_address'\nORDER BY bucket",
257257
"refId": "A",
258258
"sql": {
259259
"columns": [
@@ -1039,4 +1039,4 @@
10391039
"uid": "b14a1181-a2ee-4df4-a732-888e0190037f",
10401040
"version": 25,
10411041
"weekStart": ""
1042-
}
1042+
}

0 commit comments

Comments
 (0)