Skip to content

Conversation

@arturdrozdzyk
Copy link

@arturdrozdzyk arturdrozdzyk commented Oct 27, 2020

Inside of the traces_sampler method, I need an access to the path, as well as to the method. These are stored inside of the scope.
It helps me to filter out URLs, that I don't want to include in the performance report.

Artur added 2 commits October 27, 2020 17:13
update custom sampling context
add test method
@untitaker
Copy link
Member

I don't know the context of this so I will have to defer.

@arturdrozdzyk
Copy link
Author

@rhcarvalho @lobsterkatie can I somehow help with the review?

traces_sampler=traces_sampler
)

events = capture_events()
Copy link
Member

Choose a reason for hiding this comment

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

can you do something with this var, such as asserting the event did/did not get sent?

@lobsterkatie
Copy link
Member

lobsterkatie commented Nov 2, 2020

@Lynaj - sorry for the delay. This is actually part of a larger change I was working on, which I just merged: #906.

Please let me know if that doesn't serve your needs. (We will do another release in the next few days.)

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.

3 participants