Forward port of issue #33932 to 3.0.x.

Comment From: wilkinsona

This appears to have broken the build:

```

Task :spring-boot-project:spring-boot-docs:asciidoctor Exception in thread "main" org.asciidoctor.gradle.remote.AsciidoctorRemoteExecutionException: ERROR: The following messages from AsciidoctorJ are treated as errors: possible invalid reference: actuator.tracing