code: def add_message_event(proto_message, span, message_event_type, message_id=1):
      
      span.add_time_event(
          time_event=time_event.TimeEvent(
              datetime.utcnow(),
              message_event=time_event.MessageEvent(
                  message_id,
                  type=message_event_type,
                  uncompressed_size_bytes=proto_message.ByteSize()
              )
          )
      )
docs: Adds a MessageEvent to the span based off of the given protobuf
      message