Make some tracing enhancements ahead of the core tracing and Otel trace ratio sampling initiatives.