-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use AbstractMiddleware for Rails middleware
Use our new AbstractMiddleware as a basis for the Rails instrumentation middleware. This moves all responsibility for handling nested instrumentation middleware to the AbstractMiddleware. The Rails middleware can now focus on only the part it needs to do: the action name and some additional metadata. The RailsInstrumentation middleware previously didn't create an event, but the AbstractMiddleware does do that now. It will report a new `middleware.rails` event now. I didn't add a changeset for this change as it's mostly an internal refactor.
- Loading branch information
Showing
3 changed files
with
68 additions
and
190 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