Skip to content

Commit a838f9e

Browse files
committed
Remove messaging header normalization
1 parent 4c982d3 commit a838f9e

File tree

3 files changed

+3
-3
lines changed
  • instrumentation

3 files changed

+3
-3
lines changed

instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/java/io/opentelemetry/instrumentation/kafkaclients/v2_6/InterceptorsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ void assertTraces() {
115115
span.hasName("producer callback").hasKind(SpanKind.INTERNAL).hasNoParent()));
116116
}
117117

118-
private AttributeKey<List<String>> headerAttributeKey() {
118+
private static AttributeKey<List<String>> headerAttributeKey() {
119119
if (SemconvStability.isEmitOldMessageSemconv()) {
120120
return AttributeKey.stringArrayKey("messaging.header.Test_Message_Header");
121121
} else {

instrumentation/rocketmq/rocketmq-client/rocketmq-client-4.8/testing/src/main/java/io/opentelemetry/instrumentation/rocketmqclient/v4_8/AbstractRocketMqClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ private static Consumer<List<? extends LinkData>> links(SpanContext... spanConte
458458
};
459459
}
460460

461-
private AttributeKey<List<String>> headerAttributeKey() {
461+
private static AttributeKey<List<String>> headerAttributeKey() {
462462
if (SemconvStability.isEmitOldMessageSemconv()) {
463463
return AttributeKey.stringArrayKey("messaging.header.Test_Message_Header");
464464
} else {

instrumentation/rocketmq/rocketmq-client/rocketmq-client-5.0/testing/src/main/java/io/opentelemetry/instrumentation/rocketmqclient/v5_0/AbstractRocketMqClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ private static SpanDataAssert assertProcessSpanWithDelayMessage(
601601
.hasAttributesSatisfyingExactly(attributeAssertions);
602602
}
603603

604-
private AttributeKey<List<String>> headerAttributeKey() {
604+
private static AttributeKey<List<String>> headerAttributeKey() {
605605
if (SemconvStability.isEmitOldMessageSemconv()) {
606606
return AttributeKey.stringArrayKey("messaging.header.Test_Message_Header");
607607
} else {

0 commit comments

Comments
 (0)