pub fn expand_profile( payload: &[u8], event: &Event, client_ip: Option<IpAddr>, filter_settings: &ProjectFiltersConfig, global_config: &GlobalConfig, ) -> Result<(ProfileId, Vec<u8>), ProfileError>