Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[HttpKernel][WebProfilerBundle] Add session profiling#36364
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
e495a82 to64cd933Compare028a19c to4534b47Comparesrc/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedJun 24, 2020
@mtarld Do you have time to take comments into account? I would love to have this PR merged for 5.2. Thank you. |
mtarld commentedJun 24, 2020
Yes of course. I'll try to do it ASAP. |
503b6ad toafade8aComparesrc/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
afade8a tob6a4950Comparesrc/Symfony/Component/HttpKernel/DataCollector/RequestDataCollector.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.phpShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpKernel/Tests/DataCollector/RequestDataCollectorTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
78d3d3b tod967255Comparesrc/Symfony/Bundle/FrameworkBundle/Resources/config/collectors.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
df6fca5 todde4dc1Comparesrc/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
dde4dc1 to66c9777Compare
fabpot left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM. Can you also change the implementation ofsrc/Symfony/Component/HttpKernel/EventListener/AbstractSessionListener.php to simplify the implementation as well? (line 160-163)
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/request.html.twig OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
66c9777 to5dbaef8Comparemtarld commentedJul 1, 2020
I don't know if I have to change the
And I agree with him. WDYT? |
nicolas-grekas commentedJul 1, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
(I confirm that the current check in |
fabpot commentedJul 1, 2020
Thank you@mtarld. |
…bus)This PR was merged into the 5.2-dev branch.Discussion----------WebProfiler 5.2 is incompatible with HttpKernel 5.1| Q | A| ------------- | ---| Branch? | master| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets | N/A| License | MIT| Doc PR | N/AI have upgraded WebProfilerBundle to master in my project. Afterwards, the profiler crashes with the following error.<img width="1049" alt="Bildschirmfoto 2020-09-17 um 21 45 23" src="https://user-images.githubusercontent.com/1506493/93520652-1a67a280-f92f-11ea-8f05-c72cbd996f19.png">Looks like the changes of#36364 require HttpKernel to be bumped to 5.2 as well, so this PR suggests to do just that.Commits-------115d685 WebProfiler 5.2 is incompatible with HttpKernel 5.1
This PR proposes to add session profiling.
It provides stateless checking status and session usage backtraces.
Under are screesnhots of provided profiling:



