Skip to content

Instantly share code, notes, and snippets.

@jormon
Created February 21, 2015 08:56
Show Gist options
  • Save jormon/f857107a0b8c89292c89 to your computer and use it in GitHub Desktop.
Save jormon/f857107a0b8c89292c89 to your computer and use it in GitHub Desktop.
Working newrelic_rpm instrumentation of rocket_pants API
class Api::ApplicationController < RocketPants::Base
include AbstractController::Callbacks
include ActionController::Head
...
# for some reason, instrumentation only works if this is at the end of the class
include ActionController::Instrumentation
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment