diff --git a/instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers/SpanParser.java b/instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers/SpanParser.java index 7d4c6d6209b8..b35c35a29826 100644 --- a/instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers/SpanParser.java +++ b/instrumentation-docs/src/main/java/io/opentelemetry/instrumentation/docs/parsers/SpanParser.java @@ -25,7 +25,14 @@ public class SpanParser { // We want to ignore test related attributes private static final List EXCLUDED_ATTRIBUTES = - List.of("x-test-", "test-baggage-", "test_message", "some-client-key", "some-server-key"); + List.of( + "x-test-", + "test-baggage-", + "test_message", + "Test_Message", + "Test-Message", + "some-client-key", + "some-server-key"); /** * Pull spans from the `.telemetry` directory, filter them by scope, and set them in the module.