Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ val mockitoVersion = "4.11.0"
val slf4jVersion = "2.0.12"

val CORE_DEPENDENCIES = listOf(
"io.opentelemetry.semconv:opentelemetry-semconv:1.21.0-alpha",
"io.opentelemetry.semconv:opentelemetry-semconv:1.23.1-alpha",
"com.google.auto.service:auto-service:${autoServiceVersion}",
"com.google.auto.service:auto-service-annotations:${autoServiceVersion}",
"com.google.auto.value:auto-value:${autoValueVersion}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public static <REQUEST, RESPONSE> MessagingAttributesExtractorBuilder<REQUEST, R
this.capturedHeaders = lowercase(capturedHeaders);
}

@SuppressWarnings("deprecation") // old semconv
@Override
public void onStart(AttributesBuilder attributes, Context parentContext, REQUEST request) {
internalSet(attributes, SemanticAttributes.MESSAGING_SYSTEM, getter.getSystem(request));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class MessagingAttributesExtractorTest {

@ParameterizedTest
@MethodSource("destinations")
@SuppressWarnings("deprecation") // old semconv
void shouldExtractAllAvailableAttributes(
boolean temporary,
String destination,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ protected static List<AttributeAssertion> receiveAttributes(boolean testHeaders)
return assertions;
}

@SuppressWarnings("deprecation") // old semconv
protected static List<AttributeAssertion> processAttributes(
String messageKey, String messageValue, boolean testHeaders) {
List<AttributeAssertion> assertions =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import java.nio.charset.StandardCharsets;
import org.assertj.core.api.AbstractLongAssert;

@SuppressWarnings("deprecation") // old semconv
class InterceptorsSuppressReceiveSpansTest extends AbstractInterceptorsTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.util.concurrent.atomic.AtomicReference;
import org.assertj.core.api.AbstractLongAssert;

@SuppressWarnings("deprecation") // old semconv
class InterceptorsTest extends AbstractInterceptorsTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.util.List;
import org.assertj.core.api.AbstractLongAssert;

@SuppressWarnings("deprecation") // old semconv
class WrapperSuppressReceiveSpansTest extends AbstractWrapperTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
return assertions;
}

@SuppressWarnings("deprecation") // old semconv
private static List<AttributeAssertion> processAttributes(String greeting, boolean testHeaders) {
List<AttributeAssertion> assertions =
new ArrayList<>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public static void stopSpan(
@SuppressWarnings("unused")
public static class ChannelPublishAdvice {

@SuppressWarnings("deprecation") // old semconv
@Advice.OnMethodEnter(suppress = Throwable.class)
public static void setSpanNameAddHeaders(
@Advice.Argument(0) String exchange,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
import org.springframework.amqp.rabbit.core.RabbitAdmin;
import org.springframework.amqp.rabbit.core.RabbitTemplate;

@SuppressWarnings("deprecation") // old semconv
class RabbitMqTest extends AbstractRabbitMqTest {
@RegisterExtension
private static final InstrumentationExtension testing = AgentInstrumentationExtension.create();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
import reactor.kafka.sender.SenderOptions;
import reactor.kafka.sender.SenderRecord;

@SuppressWarnings("deprecation") // old semconv
public abstract class AbstractReactorKafkaTest {

private static final Logger logger = LoggerFactory.getLogger(AbstractReactorKafkaTest.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

@SuppressWarnings("deprecation") // old semconv
public abstract class AbstractRocketMqClientSuppressReceiveSpanTest {
private static final RocketMqProxyContainer container = new RocketMqProxyContainer();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.TestInstance;

@SuppressWarnings("deprecation") // old semconv
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
public abstract class AbstractRocketMqClientTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.RegisterExtension;

@SuppressWarnings("deprecation") // old semconv
class SpringKafkaTest extends AbstractSpringKafkaTest {

@RegisterExtension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.assertj.core.api.AbstractLongAssert;
import org.junit.jupiter.api.Test;

@SuppressWarnings("deprecation") // old semconv
public abstract class AbstractSpringKafkaNoReceiveTelemetryTest extends AbstractSpringKafkaTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.testcontainers.containers.wait.strategy.Wait;
import org.testcontainers.utility.DockerImageName;

@SuppressWarnings("deprecation") // old semconv
public abstract class AbstractVertxKafkaTest {

private static final Logger logger = LoggerFactory.getLogger(AbstractVertxKafkaTest.class);
Expand Down
2 changes: 1 addition & 1 deletion licenses/licenses.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.