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

[Question]: Information request for resource utilization warnings feature re-enablement #4811

Open
4 tasks done
kemats opened this issue May 23, 2024 · 1 comment
Open
4 tasks done
Assignees

Comments

@kemats
Copy link

kemats commented May 23, 2024

Describe your question

The resource utilization warnings feature is currently disabled by removing $(AZP_ENABLE_RESOURCE_UTILIZATION_WARNINGS) agent knob as temporary workaround for performance degradation issue #4781.
Please update here for users' awareness once the issue is fixed and the feature is re-enabled.

Versions

Agent version '3.239.1'

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Operation system

No response

Version controll system

No response

Azure DevOps Server Version (if applicable)

No response

@vmapetr
Copy link
Contributor

vmapetr commented Jun 19, 2024

Hi @kemats,
We completed and merged the PR with the fixes for the resource utilization monitor - #4803.

In scope of this PR we:

  • Fixed the issue with the incorrect CPU metrics for Linux/Windows/MacOS
  • Added metrics catching between debug and warning monitors, which decrease the amount of metric requests and improve performance
  • Switched the Windows metrics methods to use .Net ManagementObjectSearcher queries instead of direct calls of the deprecated WMIC.exe which will resolve the issue with thread pool exhaustion.
  • Replaced synchronous metric methods with asynchronous requests that support cancellation to avoid the issue with the blocking requests
  • And other minor improvements that will improve overall performance and will provide more accurate resource usage data

The changes will be available on the next agent rollout. We'll inform you after deployment will be completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants