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

Use the advanced AS::Notifications subscriber API #323

Merged
merged 1 commit into from
Jan 24, 2018

Conversation

dasch
Copy link
Contributor

@dasch dasch commented Jan 23, 2018

This allows us to respond to the start and finish of instrumented blocks of code without the need for a separate instrumentation event.

A subscriber object that responds to start and finish will use this advanced API, as per https://github.com/rails/rails/blob/d25c2e7c4c88440154087a08fa79ba0bf3038ba3/activesupport/lib/active_support/notifications/fanout.rb#L73-L77

This allows us to respond to the start and finish of instrumented blocks
of code without the need for a separate instrumentation event.
Copy link
Contributor

@delner delner left a comment

Choose a reason for hiding this comment

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

Verified these changes work against an application using Racecar 0.3.7.

@palazzem palazzem added community Was opened by a community member integrations Involves tracing integrations labels Jan 24, 2018
@delner delner merged commit c804129 into DataDog:master Jan 24, 2018
@palazzem palazzem added this to the 0.11.1 milestone Jan 24, 2018
@dasch dasch deleted the dasch/simplify-racecar branch January 24, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Was opened by a community member integrations Involves tracing integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants