Closed lucaderi closed 5 years ago
Linked to #1114.
Right now the interface timeseries data has only 1 column, bytes. In order to preserve existing data, we could rename the column bytes to bytes_rcvd and assume rx if interface has no direction. Renaming in InfluxDB requires duplicating data into a new table. In RRD, the rrd_tune api could be used (similar to https://oss.oetiker.ch/rrdtool/doc/rrdtune.en.html).
Moreover, we must decide if we want to support both the gui visualizations for bytes only and bytes_sent+bytes_rcvd, e.g. if the interface chart should show "bytes" if the given interface does not support rx/rx directions. The change affects other gui elements, for example the traffic reports.
to avoid breaking things or doing migrations:
The EthStats has been updated and it can now provide ingress and egress stats (in addition to accumulate stats as it has always been).
For interfaces that support traffic directions it is requested to report this information in the GUI and create RRDs for the directions.
Moreover it would be nice to rethink for such interfaces the footer graph/stats to report RX/TX info.