Module Event.V1

type t =
  1. | Started of {
    1. id : Rpc_id.t;
    2. rpc_kind : Rpc_kind.t;
    3. start_time : Core.Time_ns.Alternate_sexp.t;
    4. query : Core.Sexp.t Or_no_sexp_of_provided.t;
    5. path : string;
    6. here : Core.Source_code_position.t option;
    }
  2. | Finished of {
    1. id : Rpc_id.t;
    2. duration : Core.Time_ns.Span.t;
    3. response : Core.Sexp.t Or_no_sexp_of_provided.t Core.Or_error.t;
    }
  3. | Aborted of {
    1. id : Rpc_id.t;
    2. duration : Core.Time_ns.Span.t;
    }
  4. | Response_size of {
    1. id : Rpc_id.t;
    2. payload_bytes : int;
    }