Graphs for dump1090 -- my version with install script

@AhrBee @NigelRichardson @pdops1 @thespeedycab

I’ve optimized the database format a bit, resulting in better resolution/granularity for the min/max of the last 7 days and in general for the “7 days” and some other longer time views.
Also i’ve extended the database to 3 years because it doesn’t take anymore space.

You might see what i mean if you click the “3 months” tab.

If you only installed in the past couple of days i would recommend an upgrade.
To use the new database format you need to install the new version and delete the current graph data.
The new version will also work with the old database format without any problems, it will just not be as pretty :frowning:

New users will automatically have the new format.

Install the new version:

sudo bash -c "$(wget -q -O - https://raw.githubusercontent.com/wiedehopf/graphs1090/master/install.sh)"

Delete the graph data (to update to the the new database format)

(CAUTION: will remove all data for the graphs you have collected so far)

sudo systemctl stop collectd
sudo mv /var/lib/collectd/rrd/localhost /tmp
sudo systemctl start collectd

Your graphs will automatically start to populate again after a couple of minutes.

Anyway it’s not that big of a deal but if you just started collecting data, it doesn’t hurt to delete them :slight_smile:

In any case if you are reading this post and would like to migrate over your graph data from another receiver to the new database format that is not even too complicated.
If anyone is interested please let me know.
(That also applies to data generated by the adsb-receiver project scripts, the database is mostly compatible, the granularity is just a little different)

4 Likes