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

Improve telemetry #3218

Merged
merged 1 commit into from
Sep 14, 2017
Merged

Improve telemetry #3218

merged 1 commit into from
Sep 14, 2017

Conversation

tobiasdiez
Copy link
Member

@tobiasdiez tobiasdiez commented Sep 13, 2017

For some reason, some unhandled exceptions are report multiple (meaning in the thousands) times in the Azure telemetry. Thus we regularly hit the daily cap and I get an annoying email. I tried to investigate, but couldn't reproduce the behavior and thus I'm not sure that these changes actually fix the problem. The only difference between logging in the FallbackExceptionHandler to other loggings of errors was the direct usage of log4j instead of the usual LogFactory approach. Thus I changed it to the later and hope for the best.

While touching the telemetry, I also added logging of the creation of new entries and the created entry type. This information might serve as a guide for a forthcoming improvement of the "New entry..." dialog (with sensible defaults and/or completely different approach depending on how users use it).

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)
  • If you changed the localization: Did you run gradle localizationUpdate?

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Sep 13, 2017
@tobiasdiez tobiasdiez added this to the v4.0 milestone Sep 13, 2017
@lenhard lenhard merged commit c282367 into master Sep 14, 2017
@lenhard lenhard deleted the improveTele branch September 14, 2017 10:32
Siedlerchr added a commit that referenced this pull request Sep 15, 2017
* upstream/master:
  Add tests for removal changes
  Improve telemetry (#3218)
  Real test linking real other entry (#3214)
  Check for explicit group at different location
  Update java-string-similarity from 0.24 -> 1.0.0
  Only remove ExplicitGroups from entries, but not keyword-based groups
  Remove unused import in GroupTreeNode
  Move getEntriesInGroup to GroupTreeNode
  Inline Consumer updateViewModel
  Undo IntelliJ autoformat of FXML annotations
  Remove unused import
  Rewrite selection logic to avoid NPEs
  Clear group selection when a group is removed
  Also remove a group from entries when you remove it
Siedlerchr added a commit that referenced this pull request Sep 23, 2017
* upstream/master: (188 commits)
  Show file description only if not empty
  Add file description to gui and fix sync bug (#3210)
  Don't highlight odd rows in file list editor (#3223)
  Fix assertion by removing typo (#3220)
  Update assertion to change of online reference (#3221)
  Put in null return
  Reformatted code, renamed method, added try/catch
  Add tests for removal changes
  Improve telemetry (#3218)
  Real test linking real other entry (#3214)
  Check for explicit group at different location
  Update java-string-similarity from 0.24 -> 1.0.0
  Only remove ExplicitGroups from entries, but not keyword-based groups
  Localization: French: Translation of a new string (#3212)
  Fix null return
  Changed from Path to Optional<Path>
  Fix #2775: Hyphens in last names are properly parsed (#3209)
  Followup to Issue #3167 (#3202)
  Remove unused import in GroupTreeNode
  Move getEntriesInGroup to GroupTreeNode
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants