You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case a name cannot be automatically determined, and a custom name has not been provided by other means, the transaction should be named unknown route, e.g. POST unknown route. This would normally also apply to requests to unknown endpoints, e.g. the transaction for the request GET /this/path/does/not/exist would be named GET unknown route, whereas the transaction for the request GET /users/123 would still be named GET /users/{id} even if the id 123 did not match any known user and the request resulted in a 404.
I think we should implement #136 (Configuration option: USE_PATH_AS_TRANSACTION_NAME) and #137 (Configuration option: URL_GROUPS) first to provide users with ability to fallback to the current behavior (transaction name as " "). Implementing transaction naming based on the route will require large effort even only for top 5 most popular PHP web frameworks.
The text was updated successfully, but these errors were encountered:
I didn't do extensive investigation of this area yet but at the moment I think supporting Laravel would include the following features:
Capture route info to derive transaction name
Discover service name/version
Capture user info for transaction's context.user (although it might be worth investigating if it's possible to capture user info in some centralized not framework-specific way)
Detect if request completed with an error (for example whether exception escaped from top level application specific code into framework code)
From https://github.com/elastic/apm/blob/master/specs/agents/tracing-instrumentation-http.md#http-transactions
I think we should implement #136 (Configuration option: USE_PATH_AS_TRANSACTION_NAME) and #137 (Configuration option: URL_GROUPS) first to provide users with ability to fallback to the current behavior (transaction name as " "). Implementing transaction naming based on the route will require large effort even only for top 5 most popular PHP web frameworks.
The text was updated successfully, but these errors were encountered: