diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-12 18:44:57 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2016-01-12 18:44:57 +0300 |
commit | 83ad5fa5cbe72f2fe841627ba5152a3847204d12 (patch) | |
tree | 2cee5f927547961fbcb22232c65e035417f6d0dd /lib/gitlab/metrics | |
parent | 8f1c46d18aecb00ab43f348a0bd66cc5eac51ba6 (diff) | |
parent | 355c341fe7c6b7c503386cf0b0e39cc02dbc8902 (diff) |
Merge branch 'remove-application-frames-from-views' into 'master'
See merge request !2392
Diffstat (limited to 'lib/gitlab/metrics')
-rw-r--r-- | lib/gitlab/metrics/subscribers/action_view.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/gitlab/metrics/subscribers/action_view.rb b/lib/gitlab/metrics/subscribers/action_view.rb index 7c0105d543a..2e9dd4645e3 100644 --- a/lib/gitlab/metrics/subscribers/action_view.rb +++ b/lib/gitlab/metrics/subscribers/action_view.rb @@ -33,16 +33,8 @@ module Gitlab def tags_for(event) path = relative_path(event.payload[:identifier]) - tags = { view: path } - file, line = Metrics.last_relative_application_frame - - if file and line - tags[:file] = file - tags[:line] = line - end - - tags + { view: path } end def current_transaction |