add experimental interface for saving traffic data