getsentry / getsentry/sentry-python

Tornado profiling shows calls to multiple endpoints for async endpoints

Open
#2,142 6 comments 0 reactions 1 assignee Claimed by @Zylphrex View on GitHub
Improvement Profiles Python
Dominant language
Python
Stars
2.2k
Forks
669
Avg merge
1d 1h
Merged PRs (30d)
213

Description

### How do you use Sentry?

Sentry Saas (sentry.io)

### Version

1.22.2

### Steps to Reproduce

Do some profiling with Tornado app, nothing special in setup.

### Expected Result

Correct profiling data.

### Actual Result

Traces are showing mixed stuff from multiple endpoints. For example:

![image](https://github.com/getsentry/sentry-python/assets/94327/a1c1261b-8cfd-4387-95d9-162ac07e0852)

The issue seems to only apply to _async_ endpoints. Sync endpoints show correct traces.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.