From a72380a9ded039bc0c2cdbf631d429f91275a966 Mon Sep 17 00:00:00 2001 From: Matthias Wirth Date: Sat, 13 Oct 2018 19:14:50 +0200 Subject: [PATCH] Graphs: Change scaling of Messages >-3dBFS Display Messages >-3dBFS per 10min instead of per hour. Due to the now correct logging of those messages the red area corresponding to them can get very big and make the rest of the graph hard to read. Displaying them like the total messages received was also considered but that tends to make the red area become very small and hard to see. --- build/portal/graphs/make-collectd-graphs.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build/portal/graphs/make-collectd-graphs.sh b/build/portal/graphs/make-collectd-graphs.sh index 0bb5f3b..6094805 100755 --- a/build/portal/graphs/make-collectd-graphs.sh +++ b/build/portal/graphs/make-collectd-graphs.sh @@ -361,10 +361,10 @@ local_rate_graph() { "DEF:messages=$2/dump1090_messages-local_accepted.rrd:value:AVERAGE" \ "DEF:strong=$2/dump1090_messages-strong_signals.rrd:value:AVERAGE" \ "DEF:positions=$2/dump1090_messages-positions.rrd:value:AVERAGE" \ - "CDEF:y2strong=strong,10,*" \ + "CDEF:y2strong=strong,1.6666666666666,*" \ "CDEF:y2positions=positions,10,*" \ "LINE1:messages#0000FF:Messages Received" \ - "AREA:y2strong#FF0000:Messages > -3dBFS / Hr (RHS)" \ + "AREA:y2strong#FF0000:Messages > -3dBFS / 10min (RHS)" \ "LINE1:y2positions#00c0FF:Positions / Hr (RHS)\c" \ "COMMENT: \n" \ --watermark "Drawn: $nowlit"; @@ -430,7 +430,7 @@ local_trailing_rate_graph() { "CDEF:gmax1=gmax,UN,0,gmax,IF" \ "DEF:strong=$2/dump1090_messages-strong_signals.rrd:value:AVERAGE" \ "DEF:positions=$2/dump1090_messages-positions.rrd:value:AVERAGE" \ - "CDEF:y2strong=strong,10,*" \ + "CDEF:y2strong=strong,1.6666666666666,*" \ "CDEF:y2positions=positions,10,*" \ "VDEF:strong_total=strong,TOTAL" \ "VDEF:messages_total=messages,TOTAL" \ @@ -477,7 +477,7 @@ local_trailing_rate_graph() { "AREA:maxarea#FFFF99:Min/Max:STACK" \ "LINE1:7dayaverage#00FF00:7 Day Average" \ "LINE1:messages#0000FF" \ - "AREA:y2strong#FF0000:Messages > -3dBFS/Hr (RHS)\g" \ + "AREA:y2strong#FF0000:Messages > -3dBFS/10min (RHS)\g" \ "GPRINT:strong_percent_vdef: (%1.1lf %% of messages)" \ "LINE1:y2positions#00c0FF:Positions/Hr (RHS)\c" \ --watermark "Drawn: $nowlit";