File tree Expand file tree Collapse file tree
instrumentation/thrift-0.13/library Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ TProtocol configureClient(OpenTelemetry openTelemetry, TProtocol protocol) {
4343 return thriftTelemetry. wrapClientProtocol(protocol);
4444}
4545
46- CustomService . Iface configureClient(CustomService . Client client) {
46+ CustomService . Iface configureClient(OpenTelemetry openTelemetry, CustomService . Client client) {
4747 ThriftTelemetry thriftTelemetry = ThriftTelemetry . create(openTelemetry);
4848 return thriftTelemetry. wrapClient(client, CustomService . Iface . class);
4949}
@@ -54,7 +54,7 @@ TProtocolFactory configureClient(OpenTelemetry openTelemetry, TProtocolFactory p
5454 return thriftTelemetry. wrapClientProtocolFactory(protocolFactory);
5555}
5656
57- CustomService . AsyncIface configureClient(CustomService . AsyncClient asyncClient) {
57+ CustomService . AsyncIface configureClient(OpenTelemetry openTelemetry, CustomService . AsyncClient asyncClient) {
5858 ThriftTelemetry thriftTelemetry = ThriftTelemetry . create(openTelemetry);
5959 return thriftTelemetry. wrapAsyncClient(asyncClient, CustomService . AsyncIface . class);
6060}
You can’t perform that action at this time.
0 commit comments