Created
July 9, 2013 17:39
-
-
Save meonkeys/5959455 to your computer and use it in GitHub Desktop.
JavaScript snippet/bookmarklet to transform a New Relic stack trace into something you can easily cut and paste. Use in conjunction with https://gist.github.com/meonkeys/5959547 .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){$(".application_stack_trace").find("span.directory").each(function() {x = $(this);x.replaceWith(x.attr("data-tip").replace(/<wbr \/>/g, "").replace(/^.* called at /, '').replace(/(.*)\/\S+\.php $/, "$1/"))})})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment