@@ -971,26 +971,6 @@ kj::Own<WorkerInterface> IoContext::getSubrequestChannel(
971971 });
972972}
973973
974- kj::Own<WorkerInterface> IoContext::getSubrequestChannelWithSpans (uint channel,
975- bool isInHouse,
976- kj::Maybe<kj::String> cfBlobJson,
977- kj::ConstString operationName,
978- kj::Vector<Span::Tag> tags) {
979- return getSubrequest (
980- [&](TraceContext& tracing, IoChannelFactory& channelFactory) {
981- for (Span::Tag& tag: tags) {
982- tracing.userSpan .setTag (kj::mv (tag.key ), kj::mv (tag.value ));
983- }
984- return getSubrequestChannelImpl (
985- channel, isInHouse, kj::mv (cfBlobJson), tracing, channelFactory);
986- },
987- SubrequestOptions{
988- .inHouse = isInHouse,
989- .wrapMetrics = !isInHouse,
990- .operationName = kj::mv (operationName),
991- });
992- }
993-
994974kj::Own<WorkerInterface> IoContext::getSubrequestChannelNoChecks (uint channel,
995975 bool isInHouse,
996976 kj::Maybe<kj::String> cfBlobJson,
@@ -1029,15 +1009,6 @@ kj::Own<kj::HttpClient> IoContext::getHttpClient(
10291009 getSubrequestChannel (channel, isInHouse, kj::mv (cfBlobJson), kj::mv (operationName)));
10301010}
10311011
1032- kj::Own<kj::HttpClient> IoContext::getHttpClientWithSpans (uint channel,
1033- bool isInHouse,
1034- kj::Maybe<kj::String> cfBlobJson,
1035- kj::ConstString operationName,
1036- kj::Vector<Span::Tag> tags) {
1037- return asHttpClient (getSubrequestChannelWithSpans (
1038- channel, isInHouse, kj::mv (cfBlobJson), kj::mv (operationName), kj::mv (tags)));
1039- }
1040-
10411012kj::Own<kj::HttpClient> IoContext::getHttpClient (
10421013 uint channel, bool isInHouse, kj::Maybe<kj::String> cfBlobJson, TraceContext& traceContext) {
10431014 return asHttpClient (getSubrequestChannel (channel, isInHouse, kj::mv (cfBlobJson), traceContext));
0 commit comments