Azure / Azure/azure-functions-host

Immediately flush fatal exceptions to App Insights

Open
#3,213 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

Since App Insights batches-and-flushes telemetry and also has a fire-and-forget mechanism for flushing, we can't be guaranteed that messages have made it to the service before we kill the process.

We may be able to implement something similar to this comment for things like the "Host thresholds exceeded" message: https://github.com/Microsoft/ApplicationInsights-dotnet/issues/407#issuecomment-318208844.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start with the linked Application Insights comment and determine the host's fatal-exception telemetry path; done would require a decided approach that guarantees the fatal message reaches the service before process termination.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.