Skip to content

Add request info to custom_sampling_context in rack middleware #1732

@sl0thentr0py

Description

@sl0thentr0py

From a customer issue

Currently, it is not possible to use the HTTP method (get,post,put..) from a transactions request in a traces_sampler function as it is not included in the sampling_context.

We should add the request to the sampling context to provide more flexibility for configuring sampling.

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions