-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Performance metrics are being collected #60779
Comments
Hey @codingmoh, thanks for raising this. The Could you move the |
Thanks so much for your very quick response and support! So, I moved sentry init to the top - first thing after the imports and this is how the log output with debug=True looks like - I'm not able to pinpoint the reason, are you? I have also provoked an error to see if it would make any difference - the error is being collected but no performance metric unfortunately
|
Thanks! Looking at the SDK output it all seems fine, the transactions are being sent since I'm seeing these:
So the transactions leave the SDK as expected. That'd indicate that they are either being dropped sometime later or possibly filtered away in the UI. Is it possible you have some sort of filtering active in Sentry? We've had something similar happen with messages recently. The transactions could also be getting dropped because of size. I assume you're just using the out-of-the-box transactions from the |
Thanks @sentrivana
I've checked - there's no active filter apart from the health check filter enabled, which I have disabled for now to see if it would change anything. also we're not creating or adding additionals spans or transactions |
I see, thanks for checking! I'd be surprised if it was the health check filter. I'll route this to our support folks, they might have more ideas. (TL;DR: the transactions leave the SDK ok, unsure why they're not popping up in Sentry.) |
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-performance for triage ⏲️ |
Hey @codingmoh, this would require taking a look at your organization. If this issue is still occurring, please write in to support@sentry.io with your issue. |
How do you use Sentry?
Sentry Saas (sentry.io)
Version
sentry-sdk[fastapi]==1.37.1
Steps to Reproduce
We're running a fastAPI and want to use performance tracking but unfortunately there are not transactions being collected at all - errors/issues however are being collected - I've tried figuring out what's been missing but couldn't pinpoint the problem - I saw in other discussions that initializing the fastAPI app first may be help resolve the issue - but it didn't, I've also tried using the fastApiIntegration (from sentry_sdk.integrations.fastapi import FastApiIntegration) - but it didn't resolve the problem either.
This what our code looks like right now:
What are we missing?
Thanks!
Expected Result
Performance and transaction metrics are being collected
Actual Result
The text was updated successfully, but these errors were encountered: