Skip to content

Add name as alias to description to start_span(). #3520

@antonpirker

Description

@antonpirker

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

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions