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

[rails] improve safety of ActionController instrumentation #197

Merged
merged 3 commits into from
Sep 25, 2017

Conversation

palazzem
Copy link
Contributor

Overview

Before this patch, the ActionController instrumentation relied in the span order to find the request active Span. This patch makes use of a tracing_context that propagates the rails.action_controller span so that it can be retrieved when the request processing ends.

Breaking changes

No breaking changes are expected. Backward compatibility with Rails 3.0 still applies.

@palazzem palazzem added enhancement integrations Involves tracing integrations labels Sep 23, 2017
@palazzem palazzem added this to the 0.9.0 milestone Sep 23, 2017
@palazzem palazzem requested a review from p-lambert September 23, 2017 15:01
Copy link
Member

@p-lambert p-lambert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if we had a regression test for that. Other than that, 👍

@palazzem palazzem merged commit d610df1 into master Sep 25, 2017
@palazzem palazzem deleted the palazzem/rails-action-controller branch September 25, 2017 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants