Skip to content

Commit

Permalink
renamed net->network extractors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek committed Aug 9, 2023
1 parent 124b75f commit fc58bc5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import javax.annotation.Nullable;
import org.apache.dubbo.rpc.Result;

final class DubboNetServerAttributesGetter
final class DubboNetworkServerAttributesGetter
implements ServerAttributesGetter<DubboRequest, Result>,
ClientAttributesGetter<DubboRequest, Result> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public DubboTelemetry build() {
SpanNameExtractor<DubboRequest> spanNameExtractor =
RpcSpanNameExtractor.create(rpcAttributesGetter);
DubboNetClientAttributesGetter netClientAttributesGetter = new DubboNetClientAttributesGetter();
DubboNetServerAttributesGetter netServerAttributesGetter = new DubboNetServerAttributesGetter();
DubboNetworkServerAttributesGetter netServerAttributesGetter =
new DubboNetworkServerAttributesGetter();

InstrumenterBuilder<DubboRequest, Result> serverInstrumenterBuilder =
Instrumenter.<DubboRequest, Result>builder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.net.SocketAddress;
import javax.annotation.Nullable;

final class GrpcNetServerAttributesGetter
final class GrpcNetworkServerAttributesGetter
implements ServerAttributesGetter<GrpcRequest, Status>,
ClientAttributesGetter<GrpcRequest, Status> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ public GrpcTelemetry build() {
.addAttributesExtractors(additionalExtractors));

GrpcNetClientAttributesGetter netClientAttributesGetter = new GrpcNetClientAttributesGetter();
GrpcNetServerAttributesGetter netServerAttributesGetter = new GrpcNetServerAttributesGetter();
GrpcNetworkServerAttributesGetter netServerAttributesGetter =
new GrpcNetworkServerAttributesGetter();
GrpcRpcAttributesGetter rpcAttributesGetter = GrpcRpcAttributesGetter.INSTANCE;

clientInstrumenterBuilder
Expand Down

0 comments on commit fc58bc5

Please sign in to comment.