According to #38625 (comment), management.tracing.enabled is used to disable tracing only in tests currently, If we want to dynamic disable tracing entirely we have to exclude AutoConfiguration by spring.autoconfigure.exclude, That's not handy especially for profile combination.