Skip to content

django integration: fitering transactions by url #1568

@etienne-lebrun

Description

@etienne-lebrun

Problem Statement

I'm trying to reduce the noise in our transactions, by filtering out frequently reached but not interesting urls ( /health in my particular case)

Solution Brainstorm

I tried to use the trace_sampler function, but at the time it is called, the transaction has the generic name generic WSGI request , and the name is only overwritten later to contain the url.
I did not see any opportunity to drop the transaction after the first decision is made.
Am I right that there is currently no way to do such a filtering ?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions