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

[core] adding a default service to avoid dropping spans #105

Merged
merged 4 commits into from
Apr 7, 2017

Conversation

ufoot
Copy link
Contributor

@ufoot ufoot commented Apr 6, 2017

No description provided.

@ufoot ufoot requested review from galdor and palazzem April 6, 2017 16:07
@ufoot ufoot changed the title [core [core] adding a default service to avoid dropping spans Apr 6, 2017
@ufoot ufoot added this to the 0.6.2 milestone Apr 6, 2017
Copy link
Contributor

@palazzem palazzem left a comment

Choose a reason for hiding this comment

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

Just the test for Rails Template renderer and it's good to me 👍

setup do
@original_tracer = Rails.configuration.datadog_trace[:tracer]
@tracer = get_test_tracer
Rails.configuration.datadog_trace[:tracer] = @tracer
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you may want to update our settings so that Rails is re-initialized. You may need to do something like:

update_config(:tracer, @tracer)

update_config ref.

@ufoot ufoot merged commit 293cce4 into master Apr 7, 2017
@palazzem palazzem deleted the christian/defaultservice3 branch April 7, 2017 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants