Skip to content

Commit

Permalink
use parent_span_id instead of span_id (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfarmer-fearless authored Mar 6, 2024
1 parent cd242ab commit f8fb70e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ private void HydrateMetadata(TusInfoFile tusInfoFile, UploadConfig uploadConfig,
tusInfoFile.MetaData["tus_tguid"] = tusInfoFile.ID; // TODO: verify this field can be replaced with upload_id only.
tusInfoFile.MetaData["upload_id"] = tusInfoFile.ID;
tusInfoFile.MetaData["trace_id"] = traceId;
tusInfoFile.MetaData["span_id"] = spanId;
tusInfoFile.MetaData["parent_span_id"] = spanId;
tusInfoFile.MetaData.Remove("filename"); // Remove filename field to use standard received_filename field.
}

Expand Down

0 comments on commit f8fb70e

Please sign in to comment.