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

Implement pprof-dump ticker #265

Closed
Mzack9999 opened this issue Oct 3, 2023 · 0 comments · Fixed by #266
Closed

Implement pprof-dump ticker #265

Mzack9999 opened this issue Oct 3, 2023 · 0 comments · Fixed by #266
Assignees
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@Mzack9999
Copy link
Member

Mzack9999 commented Oct 3, 2023

Move https://github.com/projectdiscovery/perfmon into utils package and:

  • Parameters should be configurable via variadic option (eg.
    func WithMaxCapacity[T any](maxCapacity int) BatcherOption[T] {
    )
  • The package should also support transparent activation (for example via init() and check on a particular environment variable) or conditional build/tag (environment variable without recompilation is preferred)
  • Each ticker interval a pprof dump should be taken into a new file with timestamp in the filename into a configurable folder
  • TBD

Example implementation projectdiscovery/nuclei#4212

@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label Oct 3, 2023
@dogancanbakir dogancanbakir self-assigned this Oct 3, 2023
@tarunKoyalwar tarunKoyalwar linked a pull request Oct 9, 2023 that will close this issue
@Mzack9999 Mzack9999 added the Status: Completed Nothing further to be done with this issue. Awaiting to be closed. label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Completed Nothing further to be done with this issue. Awaiting to be closed. Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants