Skip to content
This repository was archived by the owner on Jul 5, 2020. It is now read-only.

Do not stop Activity in Stop events, set end time instead#1039

Merged
lmolkova merged 3 commits intodevelopfrom
lmolkova/ActivityStoppedPrematurely
Oct 12, 2018
Merged

Do not stop Activity in Stop events, set end time instead#1039
lmolkova merged 3 commits intodevelopfrom
lmolkova/ActivityStoppedPrematurely

Conversation

@lmolkova
Copy link
Copy Markdown

Fix Issue #1038.

Auxiliary Activity was stopped in the stop event, all other diagnostics subscribers did not have a chance to get Activity.Current.
Also, any code in the TelemteryIntitializers that relied on the Activity.Current got broken: see Azure/azure-functions-host#3585

  • I ran Unit Tests locally.

For significant contributions please make sure you have completed the following items:

  • Changes in public surface reviewed

  • Design discussion issue #

  • CHANGELOG.md updated with one line description of the fix, and a link to the original issue.

  • The PR will trigger build, unit tests, and functional tests automatically. If your PR was submitted from fork - mention one of committers to initiate the build for you.
    If you want to to re-run the build/tests, the easiest way is to simply Close and Re-Open this same PR. (Just click 'close pull request' followed by 'open pull request' buttons at the bottom of the PR)

  • Please follow [these] (https://github.com/Microsoft/ApplicationInsights-dotnet-server/blob/develop/CONTRIBUTING.md) instructions to build and test locally.

@lmolkova lmolkova force-pushed the lmolkova/ActivityStoppedPrematurely branch from 896b4fa to 3956827 Compare October 10, 2018 17:37
@lmolkova lmolkova force-pushed the lmolkova/ActivityStoppedPrematurely branch from 3956827 to 87d7372 Compare October 10, 2018 17:41
@TimothyMothra TimothyMothra added this to the 2.9-beta1 milestone Oct 11, 2018
@lmolkova lmolkova merged commit cda457c into develop Oct 12, 2018
@lmolkova lmolkova deleted the lmolkova/ActivityStoppedPrematurely branch September 3, 2019 20:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants