You should just use Spring Cloud Sleuth’s API. Please read the documentation of Spring Cloud Sleuth in order to better understand how the API looks like.
If you are starting out with Spring Cloud Sleuth OTel, you should probably read the Getting Started guide before diving into this section.
1. What to Read Next
You should now understand how you can use Spring Cloud Sleuth OTel and some best practices that you should follow. You can now go on to learn about specific Spring Cloud Sleuth OTel features.