Skip to content

Feature/add scope to sampling context asgi integration#898

Closed
arturdrozdzyk wants to merge 3 commits into
getsentry:masterfrom
arturdrozdzyk:feature/add_scope_to_sampling_context_asgi_integration
Closed

Feature/add scope to sampling context asgi integration#898
arturdrozdzyk wants to merge 3 commits into
getsentry:masterfrom
arturdrozdzyk:feature/add_scope_to_sampling_context_asgi_integration

Conversation

@arturdrozdzyk

@arturdrozdzyk arturdrozdzyk commented Oct 27, 2020

Copy link
Copy Markdown

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
Artur
update custom sampling context
Artur
add test method
@untitaker

Copy link
Copy Markdown
Member

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

@arturdrozdzyk

Copy link
Copy Markdown
Author

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

traces_sampler=traces_sampler
)

events = capture_events()

Copy link
Copy Markdown
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

lobsterkatie commented Nov 2, 2020

Copy link
Copy Markdown
Member

@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