pub fn insert_optional_field( map: &mut Map<String, Value>, key: &str, value: &Option<String>, )
为事件数据插入可选字段