Skip to content

Commit 7316007

Browse files
authored
return the parent id from the extracted headers
1 parent 55ec27d commit 7316007

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/system-tests/request_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ void RequestHandler::on_extract_headers(const httplib::Request& req,
238238
}
239239

240240
const auto response_body = nlohmann::json{
241-
{"span_id", span->id()},
241+
{"span_id", span->parent_id()},
242242
};
243243

244244
res.set_content(response_body.dump(), "application/json");

0 commit comments

Comments
 (0)