def collect_id_as_array(event):
    """Collects the trace_id from the event.

    Args:
      event (json): Json representing an event of a trace.

    Returns:
      The trace_id of the event.
    """
    return [event.get('trace_id')]