Skip to content

Commit

Permalink
fix lettuce
Browse files Browse the repository at this point in the history
  • Loading branch information
breedx-splk committed Jan 12, 2022
1 parent 5061002 commit f79dc00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.NetTransportValues.IP_TCP;

import io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesExtractor;
import io.opentelemetry.instrumentation.api.instrumenter.net.NetClientAttributesGetter;
import io.opentelemetry.instrumentation.lettuce.v5_1.OpenTelemetryTracing.OpenTelemetryEndpoint;
import javax.annotation.Nullable;

final class LettuceNetAttributesExtractor
extends NetClientAttributesExtractor<OpenTelemetryEndpoint, Void> {
final class LettuceNetAttributesGetter
implements NetClientAttributesGetter<OpenTelemetryEndpoint, Void> {

@Override
public String transport(OpenTelemetryEndpoint endpoint, @Nullable Void unused) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@

final class OpenTelemetryTracing implements Tracing {

private static final LettuceNetAttributesExtractor netAttributesExtractor =
new LettuceNetAttributesExtractor();
private static final LettuceNetAttributesGetter netAttributesExtractor =
new LettuceNetAttributesGetter();
private final TracerProvider tracerProvider;

OpenTelemetryTracing(io.opentelemetry.api.trace.Tracer tracer) {
Expand Down

0 comments on commit f79dc00

Please sign in to comment.