It is better to implement distributed tracing based on industry accepted standard like OpenTelemetry.
Leave X-Request-ID and X-Correlation-ID as legacy for 20th century. This approach has to be deprecated in the era of observability.