Skip to content

Commit

Permalink
Merge from main.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Dec 12, 2024
1 parent bb3555c commit ab5ee9a
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,7 @@ private void assertSemanticConventionsAttributes(
String address,
int port,
String url,
int statusCode,
String awsSpanKind) {
int statusCode) {
assertThat(attributesList)
.satisfiesOnlyOnce(assertAttribute(SemanticConventionsConstants.RPC_METHOD, method))
.satisfiesOnlyOnce(assertAttribute(SemanticConventionsConstants.RPC_SERVICE, service))
Expand Down Expand Up @@ -321,14 +320,12 @@ private void assertSpanClientAttributes(
String method,
String type,
String identifier,
String cloudformationIdentifier,
String address,
int port,
String url,
int statusCode,
List<ThrowingConsumer<KeyValue>> extraAssertions) {
LOGGER.info("assertSpanClientAttributes!!!!!!: ");

LOGGER.info("Spans!!!!!!: " + spans);

assertSpanAttributes(
spans,
Expand All @@ -342,6 +339,7 @@ private void assertSpanClientAttributes(
method,
type,
identifier,
cloudformationIdentifier,
address,
port,
url,
Expand All @@ -359,6 +357,7 @@ private void assertSpanProducerAttributes(
String method,
String type,
String identifier,
String cloudformationIdentifier,
String address,
int port,
String url,
Expand All @@ -376,6 +375,7 @@ private void assertSpanProducerAttributes(
method,
type,
identifier,
cloudformationIdentifier,
address,
port,
url,
Expand Down Expand Up @@ -424,6 +424,7 @@ private void assertSpanAttributes(
String method,
String type,
String identifier,
String cloudformationIdentifier,
String address,
int port,
String url,
Expand All @@ -438,7 +439,7 @@ private void assertSpanAttributes(
assertThat(span.getKind()).isEqualTo(spanKind);
assertThat(span.getName()).isEqualTo(spanName);
assertSemanticConventionsAttributes(
spanAttributes, rpcService, method, address, port, url, statusCode, awsSpanKind);
spanAttributes, rpcService, method, address, port, url, statusCode);
assertAwsAttributes(
spanAttributes,
localService,
Expand Down

0 comments on commit ab5ee9a

Please sign in to comment.