Skip to content

Commit a278255

Browse files
jaydelucalauritotelbot[bot]
authored
Metadata - Add new header exclusion (#14553)
Co-authored-by: Lauri Tulmin <[email protected]> Co-authored-by: otelbot <[email protected]>
1 parent 14a5360 commit a278255

File tree

1 file changed

+8
-1
lines changed
  • instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers

1 file changed

+8
-1
lines changed

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

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

2626
// We want to ignore test related attributes
2727
private static final List<String> EXCLUDED_ATTRIBUTES =
28-
List.of("x-test-", "test-baggage-", "test_message", "some-client-key", "some-server-key");
28+
List.of(
29+
"x-test-",
30+
"test-baggage-",
31+
"test_message",
32+
"Test_Message",
33+
"Test-Message",
34+
"some-client-key",
35+
"some-server-key");
2936

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

0 commit comments

Comments
 (0)