@@ -509,7 +509,7 @@ JSON-SEQ serialization example:
509509    " description " " Description for this trace file (long)" , 
510510    " trace " { 
511511      " common_fields " { 
512-         " protocol_type " ["QUIC","HTTP3"], 
512+         " protocol_types " ["QUIC","HTTP3"], 
513513        " group_id" :"127ecc830d98f9d54a42c4f0842aa87e181a", 
514514        " time_format" :"relative", 
515515        " reference_time " 1553986553572 
@@ -612,7 +612,7 @@ Event = {
612612    data : $ProtocolEventData 
613613    ? path : PathID 
614614    ? time_format : TimeFormat 
615-     ? protocol_type  : ProtocolTypeList 
615+     ? protocol_types  : ProtocolTypeList 
616616    ? group_id : GroupID 
617617    ? system_info : SystemInformation 
618618
@@ -631,7 +631,7 @@ the specific values and semantics of common fields, in particular the `name` and
631631` data` fields. Furthermore, they can optionally add custom fields. 
632632
633633Each qlog event MAY contain the optional fields : " time_format" 
634- ({{time-based-fields}}), "protocol_type " ({{protocol-type-field}}), "trigger" 
634+ ({{time-based-fields}}), "protocol_types " ({{protocol-type-field}}), "trigger" 
635635({{trigger-field}}), and "group_id" ({{group-ids}}). 
636636
637637Multiple events can appear in a Trace or TraceSeq and they might contain fields 
@@ -647,7 +647,7 @@ Example qlog event:
647647    " name " " quic:packet_sent" , 
648648    " data " { ... }, 
649649
650-     " protocol_type " ["QUIC","HTTP3"], 
650+     " protocol_types " ["QUIC","HTTP3"], 
651651    " group_id " " 127ecc830d98f9d54a42c4f0842aa87e181a" , 
652652
653653    " time_format " " absolute" , 
@@ -755,7 +755,7 @@ event to couple the PathID value to a specific path configuration, see
755755
756756# # ProtocolTypeList and ProtocolType {#protocol-type-field}
757757
758- An event's "protocol_type " array field indicates to which protocols (or protocol 
758+ An event's "protocol_types " array field indicates to which protocols (or protocol 
759759" stacks" ) this event belongs. This allows a single qlog file to aggregate traces 
760760of different protocols (e.g., a web server offering both TCP+HTTP/2 and 
761761QUIC+HTTP/3 connections). 
@@ -845,15 +845,15 @@ and QUIC connection IDs:
845845" events " [ 
846846    { 
847847        " time " 1553986553579, 
848-         " protocol_type " ["TCP", "TLS", "HTTP2"], 
848+         " protocol_types " ["TCP", "TLS", "HTTP2"], 
849849        " group_id " " ip1=2001:67c:1232:144:9498:6df6:f450:110b,
850850                   ip2=2001:67c:2b0:1c1::198,port1=59105,port2=80"  , 
851851        " name " " quic:packet_received" , 
852852        " data " { ... } 
853853    }, 
854854    { 
855855        " time " 1553986553581, 
856-         " protocol_type " ["QUIC","HTTP3"], 
856+         " protocol_types " ["QUIC","HTTP3"], 
857857        " group_id " " 127ecc830d98f9d54a42c4f0842aa87e181a" , 
858858        " name " " quic:packet_sent" , 
859859        " data " { ... } 
@@ -893,7 +893,7 @@ SystemInformation = {
893893As discussed in the previous sections, information for a typical qlog event varies 
894894in three main fields : " time" , "name" and associated data. Additionally, there are 
895895also several more advanced fields that allow mixing events from different 
896- protocols and contexts inside of the same trace (for example "protocol_type " and 
896+ protocols and contexts inside of the same trace (for example "protocol_types " and 
897897" group_id" ). In most "normal" use cases however, the values of these advanced 
898898fields are consistent for each event instance (for example, a single trace 
899899contains events for a single QUIC connection). 
@@ -910,7 +910,7 @@ per-event instance:
910910{ 
911911    " events " [{ 
912912            " group_id " " 127ecc830d98f9d54a42c4f0842aa87e181a" , 
913-             " protocol_type " ["QUIC","HTTP3"], 
913+             " protocol_types " ["QUIC","HTTP3"], 
914914            " time_format " " relative" , 
915915            " reference_time " 1553986553572, 
916916
@@ -919,7 +919,7 @@ per-event instance:
919919            " data " { ... } 
920920        },{ 
921921            " group_id " " 127ecc830d98f9d54a42c4f0842aa87e181a" , 
922-             " protocol_type " ["QUIC","HTTP3"], 
922+             " protocol_types " ["QUIC","HTTP3"], 
923923            " time_format " " relative" , 
924924            " reference_time " 1553986553572, 
925925
@@ -936,7 +936,7 @@ extracted to common_fields:
936936{ 
937937    " common_fields " { 
938938        " group_id " " 127ecc830d98f9d54a42c4f0842aa87e181a" , 
939-         " protocol_type " ["QUIC","HTTP3"], 
939+         " protocol_types " ["QUIC","HTTP3"], 
940940        " time_format " " relative" , 
941941        " reference_time " 1553986553572 
942942    }, 
@@ -970,7 +970,7 @@ CommonFields = {
970970    ? path : PathID 
971971    ? time_format : TimeFormat 
972972    ? reference_time : float64 
973-     ? protocol_type  : ProtocolTypeList 
973+     ? protocol_types  : ProtocolTypeList 
974974    ? group_id : GroupID 
975975    * text => any 
976976} 
0 commit comments