|
5 | 5 |
|
6 | 6 | from sentry_sdk import Client, tracing_utils |
7 | 7 | from sentry_sdk._init_implementation import init |
8 | | -from sentry_sdk.consts import INSTRUMENTER |
9 | 8 | from sentry_sdk.crons import monitor |
10 | 9 | from sentry_sdk.scope import Scope, _ScopeManager, isolation_scope, new_scope |
11 | 10 | from sentry_sdk.traces import StreamedSpan |
@@ -383,7 +382,6 @@ def start_span( |
383 | 382 | @scopemethod |
384 | 383 | def start_transaction( |
385 | 384 | transaction: "Optional[Transaction]" = None, |
386 | | - instrumenter: str = INSTRUMENTER.SENTRY, |
387 | 385 | custom_sampling_context: "Optional[SamplingContext]" = None, |
388 | 386 | **kwargs: "Unpack[TransactionKwargs]", |
389 | 387 | ) -> "Union[Transaction, NoOpSpan]": |
@@ -411,15 +409,13 @@ def start_transaction( |
411 | 409 |
|
412 | 410 | :param transaction: The transaction to start. If omitted, we create and |
413 | 411 | start a new transaction. |
414 | | - :param instrumenter: This parameter is meant for internal use only. It |
415 | | - will be removed in the next major version. |
416 | 412 | :param custom_sampling_context: The transaction's custom sampling context. |
417 | 413 | :param kwargs: Optional keyword arguments to be passed to the Transaction |
418 | 414 | constructor. See :py:class:`sentry_sdk.tracing.Transaction` for |
419 | 415 | available arguments. |
420 | 416 | """ |
421 | 417 | return get_current_scope().start_transaction( |
422 | | - transaction, instrumenter, custom_sampling_context, **kwargs |
| 418 | + transaction, custom_sampling_context, **kwargs |
423 | 419 | ) |
424 | 420 |
|
425 | 421 |
|
|
0 commit comments