Skip to content

Commit fb4313e

Browse files
committed
remove test attributes
1 parent cec31de commit fb4313e

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

docs/instrumentation-list.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3790,8 +3790,6 @@ libraries:
37903790
spans:
37913791
- span_kind: CONSUMER
37923792
attributes:
3793-
- name: messaging.header.test_message_header
3794-
type: STRING_ARRAY
37953793
- name: messaging.operation
37963794
type: STRING
37973795
- when: otel.instrumentation.spring-integration.producer.enabled=true
@@ -3863,10 +3861,6 @@ libraries:
38633861
attributes:
38643862
- name: messaging.destination.name
38653863
type: STRING
3866-
- name: messaging.header.test_message_header
3867-
type: STRING_ARRAY
3868-
- name: messaging.header.test_message_int_header
3869-
type: STRING_ARRAY
38703864
- name: messaging.message.id
38713865
type: STRING
38723866
- name: messaging.operation
@@ -4019,8 +4013,6 @@ libraries:
40194013
attributes:
40204014
- name: messaging.destination.name
40214015
type: STRING
4022-
- name: messaging.header.test_message_header
4023-
type: STRING_ARRAY
40244016
- name: messaging.message.body.size
40254017
type: LONG
40264018
- name: messaging.operation

instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers/SpanParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
public class SpanParser {
2525

2626
// We want to ignore test related attributes
27-
private static final List<String> EXCLUDED_ATTRIBUTES = List.of("x-test-", "test-baggage-");
27+
private static final List<String> EXCLUDED_ATTRIBUTES =
28+
List.of("x-test-", "test-baggage-", "test_message");
2829

2930
/**
3031
* Pull spans from the `.telemetry` directory, filter them by scope, and set them in the module.

0 commit comments

Comments
 (0)