Use a single file for timeseries export

This commit is contained in:
emanuele-f 2018-05-28 10:28:26 +02:00
parent 42083f1865
commit 2b15b65f37
9 changed files with 213 additions and 111 deletions

View file

@ -113,6 +113,7 @@ class NetworkInterface : public Checkpointable {
FlowHash *flows_hash; /**< Hash used to store flows information. */
u_int32_t last_remote_pps, last_remote_bps;
u_int8_t packet_drops_alert_perc;
TimeSeriesExporter *tsExporter;
/* Sub-interface views */
u_int8_t numSubInterfaces;
@ -671,6 +672,7 @@ class NetworkInterface : public Checkpointable {
#ifdef HAVE_NINDEX
NIndexFlowDB* getNindex();
#endif
inline TimeSeriesExporter* getTSExporter() { return(tsExporter); }
virtual void sendTermination() { ; }
};