Skip to content

Conversation

@nateberkopec
Copy link
Contributor

@nateberkopec nateberkopec commented Sep 26, 2016

This change is Reviewable

@nateberkopec
Copy link
Contributor Author

screen shot 2016-09-26 at 2 47 22 pm

@nateberkopec nateberkopec force-pushed the better-transaction-names branch from 86d6315 to ded4ee7 Compare September 26, 2016 20:57
@nateberkopec
Copy link
Contributor Author

note to self, not sure if I should be clearing context/breadcrumb buffers

else
context
def culprit_from_context(context)
classname = (context["class"] || (context["job"] && context["job"]["class"]))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to add a comment about this data structure is consistent in future versions of sidekiq, a la sidekiq/sidekiq#3161

BreadcrumbBuffer.clear!
ACTIVEJOB_RESERVED_PREFIX = "_aj_".freeze

def call(ex, context)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a really simple middleware that can be tested in isolation from sidekiq, should add some tests

@nateberkopec nateberkopec mentioned this pull request Sep 27, 2016
6 tasks
@nateberkopec nateberkopec force-pushed the better-transaction-names branch 5 times, most recently from deb22cf to c4fdc65 Compare October 11, 2016 18:44
@nateberkopec nateberkopec force-pushed the better-transaction-names branch from c4fdc65 to 1411ecd Compare October 11, 2016 18:47
@nateberkopec nateberkopec merged commit 11fe4cc into getsentry:master Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant