Skip to content
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

Send events when extensions fail to complete operation #1397

Merged
merged 1 commit into from
Nov 17, 2018

Conversation

vrdmr
Copy link
Member

@vrdmr vrdmr commented Nov 15, 2018

Description

  • Fixed the error reporting when the extension fails to do an operation
  • Changed the logging event table

Issue #1396


PR information

  • The title of the PR is clear and informative.
  • There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
  • Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
  • If applicable, the PR references the bug/issue that it fixes in the description.
  • New Unit tests were added for the changes made and Travis.CI is passing.

Quality of Code and Contribution Guidelines

@jasonzio
Copy link
Member

The intention behind the "is_triggered" thing is to avoid flooding the logs when things go bad. The idea was for the event to start out "triggered" and be "reset" the first time it's seen; periodically, all events were reset (in some other thread) to "triggered". If the initial state is erroneously set (i.e. to the "reset" state) or if the periodic reset (a) never happens or (b) actually sets the trigger state incorrectly, then that's the bug.
You'll want to be very careful of the event volume you see after you've made this change. You may need to revert it in a hurry.

@vrdmr vrdmr force-pushed the vameru-send-failure-telemetry branch 4 times, most recently from 5ead736 to 49da85e Compare November 17, 2018 00:15
@vrdmr vrdmr force-pushed the vameru-send-failure-telemetry branch from 49da85e to 05e6b75 Compare November 17, 2018 00:24
@vrdmr vrdmr merged commit e9ab9a6 into Azure:master Nov 17, 2018
@vrdmr vrdmr mentioned this pull request Nov 17, 2018
6 tasks
vrdmr added a commit that referenced this pull request Nov 19, 2018
* Changed local variable name and added traceback for exthandler failures (#1392)
* Changed local variable name and added traceback
* Changing the traceback location
* Fix the threshold telemetry issue (#1394)
* Adding the get_limits call within the collect_all_tracked call
* Added tests for threshold
* Send events when extensions fail to complete operation (#1397)
* Bumping up the version to 2.2.34
@vrdmr vrdmr deleted the vameru-send-failure-telemetry branch December 7, 2018 16:31
@vrdmr vrdmr modified the milestones: v2.2.35, v2.2.34 Jan 4, 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.

3 participants