Skip to content

Add option to make the telemetry queue persistent#154

Merged
SergeyKanzhelev merged 2 commits intomicrosoft:developfrom
CatalystCode:add-queue-persistence-option
Mar 18, 2019
Merged

Add option to make the telemetry queue persistent#154
SergeyKanzhelev merged 2 commits intomicrosoft:developfrom
CatalystCode:add-queue-persistence-option

Conversation

@c-w
Copy link
Copy Markdown
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.

2 participants