To align our API more with the OpenTelementry API we will add a name parameter to the start_span() function. Currently start_span() has a description parameter. The old parameter will still work and the new parameter is an alias to the old one. If users use the old parameter a deprecation message should be logged.
We also need to update the docs to tell new people to use name instead of description everywhere: https://docs.sentry.io/platforms/python/tracing/instrumentation/custom-instrumentation/#add-spans-to-a-transaction
To align our API more with the OpenTelementry API we will add a
nameparameter to thestart_span()function. Currentlystart_span()has adescriptionparameter. The old parameter will still work and the new parameter is an alias to the old one. If users use the old parameter a deprecation message should be logged.We also need to update the docs to tell new people to use
nameinstead ofdescriptioneverywhere: https://docs.sentry.io/platforms/python/tracing/instrumentation/custom-instrumentation/#add-spans-to-a-transaction