Skip to content
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

Generate a flame graph for a post request #13

Open
hraynaud opened this issue Jul 8, 2015 · 4 comments
Open

Generate a flame graph for a post request #13

hraynaud opened this issue Jul 8, 2015 · 4 comments

Comments

@hraynaud
Copy link

hraynaud commented Jul 8, 2015

Hi I was wondering if it was possible to generate the flamegraph on a post request?.

@SamSaffron
Copy link
Owner

we should add a way of triggering this in rack mini profiler its mainly a
UI problem, you can do this manually by writing middleware that detects the
request and then generates a graph to a file.

On Thu, Jul 9, 2015 at 6:59 AM, Herby Raynaud [email protected]
wrote:

Hi I was wondering if it was possible to generate the flamegraph on a post
request?.


Reply to this email directly or view it on GitHub
#13.

@hraynaud
Copy link
Author

hraynaud commented Jul 9, 2015

Hi Sam thanks for the quick response. If you think it's not a huge undertaking I'm happy to take a crack at it if you can point me in the right direction.

@SamSaffron
Copy link
Owner

first step is a sample on how to do this in rack middleware that you can
add to a samples dir in flamegraph, you familiar with writing and inserting
rack middleware?

On Thu, Jul 9, 2015 at 10:30 AM, Herby Raynaud [email protected]
wrote:

Hi Sam thanks for the quick response. If you think it's not a huge
undertaking I'm happy to take a crack at it if you can point me in the
right direction.


Reply to this email directly or view it on GitHub
#13 (comment)
.

@hraynaud
Copy link
Author

hraynaud commented Jul 9, 2015

Yes I am. Ok let me see what I can put together over the weekend. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants