Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 Client side telemetry for Azure PowerShell Agent #77
Add Client side telemetry for Azure PowerShell Agent #77
Changes from all commits
551f8e9
5b16f79
1817536
92087d7
3dee145
7bbd2cd
3061b6b
3ee73bb
f72e815
b1ae3d2
9944cda
5fdb452
6eb5aaa
aab08f4
a7465ce
473cf3f
22c5daf
7e7090f
e259d62
7fb7414
310aed8
ba8f6da
0866116
bc4c359
e6b5ba6
ef58179
dd74620
8d07e88
1570995
fe289d9
ee11e63
1cdd4b7
3b3cf16
778fb57
f61d7b5
5a06aec
70c3d46
6977bab
976aa33
2b5c540
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (chunkReader is null)
, neither the case when an exception happens. In those 2 cases, the_watch
will not be stopped, and no telemetry will be sent.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the first issue. Can we put the design & implementation of interrupted commands/questions in next pr - After the CLI client side telemetry is done.
The
_watch
is not stopped but it will be reset when next question comesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The telemetry collection for
cancellation
orexception
scenarios can certainly wait, but you need to stop the watch in those cases. Necessary cleanup has to be in place.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the latest update, the
time of rendering
should also be included in duration?