diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-05 18:16:41 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-08-05 18:20:22 -0300 |
commit | d86ccec0979ad60c2430a40864e90dc2f14fd2cb (patch) | |
tree | b10d0958eb5eb952b4a99188737efa1a35deab6b /railties/lib/rails/rack/logger.rb | |
parent | 9b6a434defe7aed00f01643abdbc79751dc9d5f1 (diff) | |
download | rails-d86ccec0979ad60c2430a40864e90dc2f14fd2cb.tar.gz rails-d86ccec0979ad60c2430a40864e90dc2f14fd2cb.tar.bz2 rails-d86ccec0979ad60c2430a40864e90dc2f14fd2cb.zip |
Use the right instrumentation name
The pattern is event.component
Closes #11769
Conflicts:
railties/CHANGELOG.md
Diffstat (limited to 'railties/lib/rails/rack/logger.rb')
-rw-r--r-- | railties/lib/rails/rack/logger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/rack/logger.rb b/railties/lib/rails/rack/logger.rb index 6ed6722c44..ad5fdcf648 100644 --- a/railties/lib/rails/rack/logger.rb +++ b/railties/lib/rails/rack/logger.rb @@ -33,7 +33,7 @@ module Rails logger.debug '' end - @instrumenter.start 'action_dispatch.request', request: request + @instrumenter.start 'request.action_dispatch', request: request logger.info started_request_message(request) resp = @app.call(env) resp[2] = ::Rack::BodyProxy.new(resp[2]) { finish(request) } @@ -70,7 +70,7 @@ module Rails private def finish(request) - @instrumenter.finish 'action_dispatch.request', request: request + @instrumenter.finish 'request.action_dispatch', request: request end def development? |