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

Make timestamp include milliseconds, report upload errors, and include prior attempts count in uploaded events #239

Closed

Conversation

baumatron
Copy link
Contributor

Add uploadWithCompletionHandler:(void(^)(NSError *), which reports upload errors to clients.

Also add a keen.prior_attempts property to events so it's obvious if an event was upload because of a retry.

The keen.timestamp property now also includes millisecond values.

This change also removes a bunch of redundant tests, adds a few new constants where appropriate, provides better names for some constants, uses the more concise indexing operator [] for dictionaries and arrays where code has been modified, and adds new error codes for upload related errors.

Fixes #237

…load errors to clients.

Also add a keen.prior_attempts property to events so it's obvious if an event was upload because of a retry.

This change also removes a bunch of redundant tests, adds a few new constants where appropriate, provides better names for some constants, uses the more concise indexing operator [] for dictionaries and arrays where code has been modified, and adds new error codes for upload related errors.
@baumatron baumatron requested review from elof and masojus August 23, 2017 20:22
@coveralls
Copy link

coveralls commented Aug 24, 2017

Coverage Status

Coverage increased (+0.2%) to 66.413% when pulling dae104b on ms_timestamp_report_errors_and_prior_attempts into da11140 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 66.413% when pulling dae104b on ms_timestamp_report_errors_and_prior_attempts into da11140 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 66.413% when pulling 12c2b1e on ms_timestamp_report_errors_and_prior_attempts into da11140 on master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 66.413% when pulling 12c2b1e on ms_timestamp_report_errors_and_prior_attempts into da11140 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 66.413% when pulling 12c2b1e on ms_timestamp_report_errors_and_prior_attempts into da11140 on master.

@baumatron
Copy link
Contributor Author

Closing this as it's a WIP and further investigation is pending.

@baumatron baumatron closed this Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants