File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 33
44from sentry_sdk import tracing_utils , Client
55from sentry_sdk ._types import TYPE_CHECKING
6+ from sentry_sdk .consts import INSTRUMENTER
67from sentry_sdk .scope import Scope , _ScopeManager , new_scope , isolation_scope
78from sentry_sdk .tracing import NoOpSpan , Transaction
89
@@ -282,10 +283,13 @@ def start_span(
282283@scopemethod
283284def start_transaction (
284285 transaction = None , # type: Optional[Transaction]
286+ instrumenter = INSTRUMENTER .SENTRY , # type: str
285287 ** kwargs , # type: Unpack[StartTransactionKwargs]
286288):
287289 # type: (...) -> Union[Transaction, NoOpSpan]
288- return Scope .get_current_scope ().start_transaction (transaction , ** kwargs )
290+ return Scope .get_current_scope ().start_transaction (
291+ transaction , instrumenter , ** kwargs
292+ )
289293
290294
291295def set_measurement (name , value , unit = "" ):
You can’t perform that action at this time.
0 commit comments