-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instrument Rodauth controller and current route
Passing `RodauthApp` for the controller works for logging, but it was breaking some APM agents like NewRelic, which relied on the constant name referencing a controller class, so I needed to make the Rodauth app quack enough like a controller. We change this by passing the Rodauth controller and current Rodauth route as the controller and action. This should improve APM integrations, because it makes it easier to differentiate between different Rodauth routes. Even though the Rodauth controller is not actually processing the request, I think this is close enough and prefer this trade-off.
- Loading branch information
Showing
4 changed files
with
7 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters