* Sets the transaction name on the scope so that the name of e.g. taken server route or * the page location is attached to future events. * * IMPORTANT: Calling this function does NOT change the name of the currently active * root span. If you want to change the name of the active root s
(name?: string)
| 444 | * occasions, such as a page navigation or when handling a new request on the server. |
| 445 | */ |
| 446 | public setTransactionName(name?: string): this { |
| 447 | this._transactionName = name; |
| 448 | this._notifyScopeListeners(); |
| 449 | return this; |
| 450 | } |
| 451 | |
| 452 | /** |
| 453 | * Sets context data with the given name. |
no test coverage detected