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

Request for pinba_clean() feature #47

Open
nhatthm opened this issue Sep 10, 2015 · 2 comments
Open

Request for pinba_clean() feature #47

nhatthm opened this issue Sep 10, 2015 · 2 comments

Comments

@nhatthm
Copy link

nhatthm commented Sep 10, 2015

Hi,

After 1.1.0, I see we can use PINBA_FLUSH_RESET_DATA with pinba_flush(). But I'd like to have pinba_clean() as well.

I have this scenario:

I start a long running script. In that script, I do many jobs but I only wants to get the data (tags, timer, etc) for each job. I don't want to get the data while initiating the script (before executing jobs) and shutting down (after finishing all the jobs). So as I understand, If I use pinba_flush() after initiating and before executing jobs, it'll send data to pinba server, same for shutting down with pinba.auto_flush. I don't need those data. Therefore, I need pinba_clean() and use it before executing jobs.

Is it ok? What do you think?

Thanks in advance

@tony2001
Copy link
Owner

Ok, will do.

@nhatthm
Copy link
Author

nhatthm commented Sep 10, 2015

Thanks a lot man 👍

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