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

Add option to make the telemetry queue persistent #154

Merged
merged 2 commits into from
Mar 18, 2019
Merged

Add option to make the telemetry queue persistent #154

merged 2 commits into from
Mar 18, 2019

Conversation

c-w
Copy link
Contributor

@c-w c-w commented Mar 6, 2019

Currently the Application Insights client SDK already has some great resiliency built-in, e.g. retrying to send telemetry if there are intermittent connectivity issues or service interruptions. However,
there still is a risk to lose telemetry if the app crashes before sending telemetry since the telemetry queue is in-memory only.

This change adds an option to persist the queue to disk via the persist-queue module which will protect customers against potential data loss, at the cost of a slight loss in performance.

c-w and others added 2 commits March 8, 2019 13:50
Currently the Application Insights client SDK already has some great
resiliency built-in, e.g. retrying to send telemetry if there are
intermittent connectivity issues or service interruptions. However,
there still is a risk to lose telemetry if the app crashes before
sending telemetry since the telemetry queue is in-memory only.

This change adds an option to persist the queue to disk via the
[persist-queue](https://pypi.org/project/persist-queue/) module which
will protect customers against potential data loss, at the cost of a
slight loss in performance.
@SergeyKanzhelev SergeyKanzhelev merged commit b71802a into microsoft:develop Mar 18, 2019
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 this pull request may close these issues.

None yet

2 participants