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

librato-node should let you use it more transactionally #15

Closed
vincentwoo opened this issue Dec 25, 2014 · 1 comment · Fixed by #21
Closed

librato-node should let you use it more transactionally #15

vincentwoo opened this issue Dec 25, 2014 · 1 comment · Fixed by #21

Comments

@vincentwoo
Copy link

Right now the only blessed use case is to start the worker and hope for the best. I would like to be able to (in a short-lived node script):

  1. Not start the worker
  2. Gather some data via librato.timing(...)
  3. Call librato.flush with a callback that tells me when the data has been written to Librato, so that I can terminate the process.

Any chance you guys would be down for exposing librato.flush's callback?

@bobzoller
Copy link
Contributor

sounds good. PR welcome!

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 a pull request may close this issue.

2 participants