@@ -324,8 +324,8 @@ mod macros {
324324 HostKernelVersion ,
325325 RuntimeId ,
326326 SessionId ,
327- RootSessionId ,
328327 ParentSessionId ,
328+ RootSessionId ,
329329 }
330330 #[ no_mangle]
331331 /**
@@ -357,10 +357,10 @@ mod macros {
357357
358358 * session_id
359359
360- * root_session_id
361-
362360 * parent_session_id
363361
362+ * root_session_id
363+
364364 */
365365 pub unsafe extern "C" fn ddog_telemetry_builder_with_property_str (
366366 telemetry_builder : & mut TelemetryWorkerBuilder ,
@@ -571,8 +571,8 @@ mod macros {
571571 }
572572 } ;
573573 }
574- RootSessionId => {
575- telemetry_builder. config . root_session_id =
574+ ParentSessionId => {
575+ telemetry_builder. config . parent_session_id =
576576 match ( |s : ffi:: CharSlice | -> Result < _ , String > {
577577 Ok ( Some ( s. to_utf8_lossy ( ) . into_owned ( ) ) )
578578 } ) ( param)
@@ -588,8 +588,8 @@ mod macros {
588588 }
589589 } ;
590590 }
591- ParentSessionId => {
592- telemetry_builder. config . parent_session_id =
591+ RootSessionId => {
592+ telemetry_builder. config . root_session_id =
593593 match ( |s : ffi:: CharSlice | -> Result < _ , String > {
594594 Ok ( Some ( s. to_utf8_lossy ( ) . into_owned ( ) ) )
595595 } ) ( param)
@@ -638,10 +638,10 @@ mod macros {
638638
639639 * session_id
640640
641- * root_session_id
642-
643641 * parent_session_id
644642
643+ * root_session_id
644+
645645 */
646646 pub unsafe extern "C" fn ddog_telemetry_builder_with_str_named_property (
647647 telemetry_builder : & mut TelemetryWorkerBuilder ,
@@ -862,8 +862,8 @@ mod macros {
862862 }
863863 } ;
864864 }
865- "root_session_id " => {
866- telemetry_builder. config . root_session_id =
865+ "parent_session_id " => {
866+ telemetry_builder. config . parent_session_id =
867867 match ( |s : ffi:: CharSlice | -> Result < _ , String > {
868868 Ok ( Some ( s. to_utf8_lossy ( ) . into_owned ( ) ) )
869869 } ) ( param)
@@ -879,8 +879,8 @@ mod macros {
879879 }
880880 } ;
881881 }
882- "parent_session_id " => {
883- telemetry_builder. config . parent_session_id =
882+ "root_session_id " => {
883+ telemetry_builder. config . root_session_id =
884884 match ( |s : ffi:: CharSlice | -> Result < _ , String > {
885885 Ok ( Some ( s. to_utf8_lossy ( ) . into_owned ( ) ) )
886886 } ) ( param)
0 commit comments