Skip to content
This repository has been archived by the owner. It is now read-only.

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 Mar 8, 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](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
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants