Skip to content

Commit

Permalink
fix tests and codenarc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Rzeszutek committed Apr 20, 2023
1 parent 04373dd commit 18d10ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import io.opentelemetry.instrumentation.test.asserts.TraceAssert
import io.opentelemetry.semconv.trace.attributes.SemanticAttributes

import static io.opentelemetry.api.trace.SpanKind.CLIENT
import static io.opentelemetry.semconv.trace.attributes.SemanticAttributes.NetTransportValues.IP_TCP

class AwsSpan {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class VertxReactivePropagationTest extends AgentInstrumentationSpecification {
kind SERVER
hasNoParent()
attributes {
"$SemanticAttributes.NET_TRANSPORT" { it == null || it == IP_TCP }
"net.protocol.name" "http"
"net.protocol.version" "1.1"
"$SemanticAttributes.NET_SOCK_PEER_ADDR" "127.0.0.1"
Expand Down Expand Up @@ -156,6 +157,7 @@ class VertxReactivePropagationTest extends AgentInstrumentationSpecification {
kind SERVER
childOf(span(0))
attributes {
"$SemanticAttributes.NET_TRANSPORT" { it == null || it == IP_TCP }
"net.protocol.name" "http"
"net.protocol.version" "1.1"
"$SemanticAttributes.NET_SOCK_PEER_ADDR" "127.0.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class VertxReactivePropagationTest extends AgentInstrumentationSpecification {
kind SERVER
hasNoParent()
attributes {
"$SemanticAttributes.NET_TRANSPORT" { it == null || it == IP_TCP }
"net.protocol.name" "http"
"net.protocol.version" "1.1"
"$SemanticAttributes.NET_SOCK_PEER_ADDR" "127.0.0.1"
Expand Down Expand Up @@ -156,6 +157,7 @@ class VertxReactivePropagationTest extends AgentInstrumentationSpecification {
kind SERVER
childOf(span(0))
attributes {
"$SemanticAttributes.NET_TRANSPORT" { it == null || it == IP_TCP }
"net.protocol.name" "http"
"net.protocol.version" "1.1"
"$SemanticAttributes.NET_SOCK_PEER_ADDR" "127.0.0.1"
Expand Down

0 comments on commit 18d10ff

Please sign in to comment.