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

One thread for telemetry #2019

Merged
merged 83 commits into from
Nov 5, 2020
Merged

Conversation

larohra
Copy link
Contributor

@larohra larohra commented Sep 23, 2020

Description

This PR mainly converges sending telemetry out from a single thread instead of multiple threads sending them out separately (Monitor thread and Extension Telemetry thread).

Main changes in the PR -

  • Send telemetry from one single thread
  • Move collection of telemetry events to one thread (unify extension telemetry thread and agent extension event collector from monitor thread)

Apart from the major changes, there are some code refactoring, minor bug fixes and linter fixes included in this PR.

Issue #


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

@larohra
Copy link
Contributor Author

larohra commented Oct 29, 2020

Green DCR run (except for 1 known setup failure) - https://tuxgold.corp.microsoft.com/job/AzLinux/job/DungeonCrawler/job/DungeonCrawler.larohra3/168/

narrieta
narrieta previously approved these changes Oct 29, 2020
Copy link
Contributor

@pgombar pgombar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments and suggestions around improving the clarity of some parts of the code. Also synced offline on PEP8 style conventions for whitespace (less important).

@pgombar pgombar added this to the v2.2.53 milestone Nov 3, 2020
narrieta
narrieta previously approved these changes Nov 4, 2020
@larohra larohra requested a review from narrieta November 4, 2020 23:00
@larohra
Copy link
Contributor Author

larohra commented Nov 4, 2020

Green DCR run (except for the known agent-slb issue) - https://tuxgold.corp.microsoft.com/job/AzLinux/job/DungeonCrawler/job/DungeonCrawler.larohra3/169/

@larohra larohra merged commit 4f3efdf into Azure:develop Nov 5, 2020
@larohra larohra deleted the one-thread-for-telemetry branch November 5, 2020 00:26
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.

4 participants