This repository has been archived by the owner on Aug 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support batch for all operations (#11)
Closes #7 ## Added - `Mxpanel.Operation` struct. This struct holds all the information necessary to one API operation. It can be delivered alone or grouped in batches. - `Mxpanel.deliver/2` function. - `Mxpanel.deliver_later/2` function. ## Changed - All functions were updated to build a `Mxpanel.Operation` instead of making a API request directly. The generated operation can be piped to `Mxpanel.deliver/2` or `Mxpanel.deliver_later/2` to provide a single interface for delivering information to Mixpanel API. This allow all operations to be batched. - Default `:pool_size` for `Mxpanel.Batcher` changed from `10` to `System.schedulers_online()`. - Buffers info telemetry event metadata changed to return the buffer sizes by supported endpoint. ## Removed - `Mxpanel.Event` struct. Now the build of the event can be made directly in the `Mxpanel.track/4` function. - `Mxpanel.track_later/2`. Superseded by `Mxpanel.deliver_later/2`
- Loading branch information
1 parent
0bf0369
commit 52acab9
Showing
20 changed files
with
1,247 additions
and
1,243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.