Updates the name of the given span and ensures that the span name is not
overwritten by the Sentry SDK.
Use this function instead of span.updateName() if you want to make sure that
your name is kept. For some spans, for example root http.server spans the
Sentry SDK would otherwise overwrite the span name with a high-quality name
it infers when the span ends.
Use this function in server code or when your span is started on the server
and on the client (browser). If you only update a span name on the client,
you can also use span.updateName() the SDK does not overwrite the name.
Updates the name of the given span and ensures that the span name is not overwritten by the Sentry SDK.
Use this function instead of
span.updateName()if you want to make sure that your name is kept. For some spans, for example roothttp.serverspans the Sentry SDK would otherwise overwrite the span name with a high-quality name it infers when the span ends.Use this function in server code or when your span is started on the server and on the client (browser). If you only update a span name on the client, you can also use
span.updateName()the SDK does not overwrite the name.