We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
By default, /oauth/token requests do not appear in NewRelic.
/oauth/token
In order to enable them, add bellow to lib/doorkeeper/newrelic.rb
lib/doorkeeper/newrelic.rb
Doorkeeper::TokensController.class_eval do include ::NewRelic::Agent::Instrumentation::ControllerInstrumentation add_transaction_tracer :create end
Append this line to config/initializers/doorkeeper.rb
config/initializers/doorkeeper.rb
require_relative '../../lib/doorkeeper/newrelic'
After server restart, requests to /oauth/token will appear in NewRelic.