-
Notifications
You must be signed in to change notification settings - Fork 20
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
Send multiple events with logEvent #23
Comments
mmmm I see that this package looks much more advanced, and already provides requested feature .... https://github.com/geoffdutton/amplitude I'll try to use it and tell here if i still need the enhancement ! ( i started to do it but |
Sorry for the inconvenience @nvuillam - we'll work rightaway to get the @amplitude/utils onto the registry. As for the multiple http calls, we're looking to use the batch endpoint as the default on an open pr (along with some logic for retrying events in the correct order). |
I made some tests using amplitude npm package, it seems to work for now :) |
Thanks @nvuillam ! We're looking forward to having an update soon. While we are discussing having mutliple events being sent in logEvent, it's also good to note that |
Hi @nvuillam - the 1.0.2 behavior is for events to be batched by |
Is the HTTP request done by a separate node instance ? If not, it could be not ok for CLIs , because it wouldn't exit until such batch is processed |
@nvuillam apologies for the late response! also, the base optioning is to wait 0 ms - to the next event loop. |
Is there any example/doc about how to use this feature? (multiple events in one HTTP call) |
While |
Summary
Send multiple events with logEvent
Motivations
Avoid multiple HTTP calls :)
The text was updated successfully, but these errors were encountered: