Skip to content

Collect timeout feature#239

Merged
mcollina merged 13 commits intodavidmarkclements:masterfrom
TryGhost:collect_timeout_new
Aug 21, 2021
Merged

Collect timeout feature#239
mcollina merged 13 commits intodavidmarkclements:masterfrom
TryGhost:collect_timeout_new

Conversation

@ErisDS
Copy link
Contributor

@ErisDS ErisDS commented Aug 17, 2021

Original PR is here: #222

For 0x the delay won't hold up the process but rather filter the data depending on the delay value passed in. Open to feedback and further changes/suggestions.

This has the effect of only rendering flamegraphs with data after the delay ends.

This solves some use cases of #129.
My own use case is not wanting to see output from the initial boot of my app (different problem, distracting!) but rather focus on what happens when requests are received.

I am aware the code is untested, keen for some input on where to start with adding tests as the critical affected code in lib/v8-log-to-ticks.js appears to be as yet untested as far as I can tell.

@ErisDS ErisDS mentioned this pull request Aug 17, 2021
@mcollina mcollina merged commit 3e3c510 into davidmarkclements:master Aug 21, 2021
@mcollina
Copy link
Collaborator

Thanks!

@ErisDS
Copy link
Contributor Author

ErisDS commented Aug 23, 2021

Thank you ❤️

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

Successfully merging this pull request may close these issues.

3 participants