transaction_info
Recommended. Additional information about the name of the transaction.

Copied
{
  "transaction_info": {
    "source": "url"
  }
}

transaction_info.source
Recommended. Contains information about how the name of the transaction was determined. This will be used by the server to decide whether or not to scrub identifiers from the transaction name, or replace the entire name with a placeholder.

SourceDescription
Examples
customUser-defined name, see setTransactionName()my_transaction
urlRaw URL, potentially containing identifiers./auth/login/john123/
GET /auth/login/john123/
routeParametrized URL / route/auth/login/:userId/
GET /auth/login/{user}/
viewName of the view handling the request.UserListView
componentNamed after a software component, such as a function or class name.AuthLogin.login
LoginActivity.login_button
taskName of a background task (e.g. a Celery task)sentry.tasks.do_something
unknown (default)This is the default value set by Relay for legacy SDKs.
You can edit this page on GitHub.