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 3
3
4
4
from sentry_sdk import tracing_utils , Client
5
5
from sentry_sdk ._types import TYPE_CHECKING
6
+ from sentry_sdk .consts import INSTRUMENTER
6
7
from sentry_sdk .scope import Scope , _ScopeManager , new_scope , isolation_scope
7
8
from sentry_sdk .tracing import NoOpSpan , Transaction
8
9
@@ -282,10 +283,13 @@ def start_span(
282
283
@scopemethod
283
284
def start_transaction (
284
285
transaction = None , # type: Optional[Transaction]
286
+ instrumenter = INSTRUMENTER .SENTRY , # type: str
285
287
** kwargs , # type: Unpack[StartTransactionKwargs]
286
288
):
287
289
# 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
+ )
289
293
290
294
291
295
def set_measurement (name , value , unit = "" ):
You can’t perform that action at this time.
0 commit comments