Comments (5)
Thanks both
from sentry-laravel.
Ah perhaps I should be using the profiling... Feel free to close if this is the solution and I'll try it out soon.
from sentry-laravel.
Hey @gla23, we currently do not add spans for each middleware (I also am not sure it's possible currently) to prevent too much span overload since you can have quite a number of middleware, but might be something to explore in the future if it makes sense to add!
The "categories" from your screenshot are the totals of the spans of that type. So the queries of that request took a total of 353ms and can be 1 query but also multiple of course. The http.route
is indeed your controller and the http.middleware
is the part after the framework is bootstrapped and before your route action is called so there is definitely something fishy in one of the middlewares.
The best way to dig deeper into this is indeed profiling which should show you which code and/or middleware is active for that long and should give very default insights in the code running!
from sentry-laravel.
Thanks, that makes sense π
Next up I'm struggling to get the profiling to appear. I've updated Sentry to the latest version (23.10.1) but "Profiling" doesn't appear in the sidebar like in the docs. The links aren't there on the Transaction Summary page either. I have verified that my profiles_sample_rate is at 1 (and have sent requests so they should be appearing). I've also checked that extension_loaded('excimer')
returns true. Is there something I'm missing here? I'm starting to worry that profiling is only available on the Sentry hosted setup but that fact is left out of the docs...
from sentry-laravel.
Profiling is available on self-hosted, though I can't offer you any support with this.
You can try our Discord, channel #self-hosted
or drop the team an issue over at https://github.com/getsentry/self-hosted.
As the issue concerning the SDK was hopefully resolved, I'm closing this.
from sentry-laravel.
Related Issues (20)
- Call to undefined method Laravel\Lumen\Application::terminating() HOT 3
- sentry:test command sometimes works sometimes doesn't HOT 9
- Lumen does not have the `Illuminate\Routing\Events\RouteMatched event`. HOT 1
- Report missing translations
- Unable to set up sentry sdk debug logger option in Laravel 7 HOT 11
- Data not being send to Sentry HOT 2
- [Cron Monitoring] Whether to consider adding a switch configuration option for Cron monitoring? HOT 2
- Configure Cron Monitoring based on environment HOT 1
- Idle timeout reached HOT 4
- Scheduled task tracing
- Disabling SSL Verify Peer HOT 2
- Add support for Laravel 11.0's Context
- Link to Laravel v10 docs broken HOT 2
- Dependency nyholm/psr7 can be defined like require-dev HOT 1
- Does captureUnhandleException still work for Laravel 11 HOT 1
- SQLSTATE[HY000]: General error: 2006 MySQL server has gone away HOT 6
- Metrics Rate Limits HOT 1
- Wrong stack trace when using in-app middleware HOT 6
- FilesystemAdapterDecorator incompatibility in tests. HOT 2
- Performance monitoring doesn't work in artisan commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-laravel.