Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't report middleware event for Rails #1124

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

tombruijn
Copy link
Member

As discussed in PR #1107, do not create a transaction event for a Rails apps using the RailsInstrumentation middleware. The ActiveSupport Notifications and Rack EventHandler events are enough. The middleware.rails event didn't add much.

Closes #1120

[skip changeset] because the related change in PR #1107 has not been released yet.

As discussed in PR #1107, do not create a transaction event for a Rails
apps using the RailsInstrumentation middleware. The ActiveSupport
Notifications and Rack EventHandler events are enough. The
`middleware.rails` event didn't add much.

Closes #1120

[skip changeset] because the related change in PR #1107 has not been
released yet.
@tombruijn tombruijn merged commit 2147cd0 into main Jun 28, 2024
16 checks passed
tombruijn added a commit that referenced this pull request Jul 2, 2024
In PR #1124, I added functionality to not report an instrumentation
event for the Rails instrumentation middleware.

The AbstractMiddleware shouldn't be used on its own, but it did have a
default for reporting instrumentation events. Remove that default so it
doesn't report an event by default.

[skip changeset] It's an internal change to the AbstractMiddleware and
no one should be using that directly.
tombruijn added a commit that referenced this pull request Jul 3, 2024
In PR #1124, I added functionality to not report an instrumentation
event for the Rails instrumentation middleware.

The AbstractMiddleware shouldn't be used on its own, but it did have a
default for reporting instrumentation events. Remove that default so it
doesn't report an event by default.

[skip changeset] It's an internal change to the AbstractMiddleware and
no one should be using that directly.
@tombruijn tombruijn deleted the remove-rails-middleware-event branch July 10, 2024 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't create instrumentation event from Rails middleware
2 participants