Enhancing traffic sampling scope and efficiency