DataDog / integrations-core

Core integrations of the Datadog Agent
BSD 3-Clause "New" or "Revised" License
919 stars 1.39k forks source link

Upgrade psutil to fix performance #18688

Closed Kyle-Neale closed 1 day ago

Kyle-Neale commented 1 day ago

What does this PR do?

Motivation

Additional Notes

Review checklist (to be filled by reviewers)

codecov[bot] commented 1 day ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 89.98%. Comparing base (b0834e7) to head (6fc8226). Report is 18 commits behind head on master.

Additional details and impacted files | [Flag](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [btrfs](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `82.69% <ø> (ø)` | | | [cassandra](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `?` | | | [disk](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `90.74% <ø> (+1.42%)` | :arrow_up: | | [gunicorn](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `92.91% <ø> (ø)` | | | [hivemq](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `?` | | | [ibm_mq](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `91.31% <ø> (+43.76%)` | :arrow_up: | | [jboss_wildfly](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `?` | | | [mongo](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `93.26% <ø> (-0.26%)` | :arrow_down: | | [network](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `93.47% <ø> (+31.94%)` | :arrow_up: | | [process](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `85.57% <ø> (ø)` | | | [system_core](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `92.52% <ø> (ø)` | | | [system_swap](https://app.codecov.io/gh/DataDog/integrations-core/pull/18688/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `98.30% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#carryforward-flags-in-the-pull-request-comment) to find out more.
datadog-agent-integrations-bot[bot] commented 1 day ago

The backport to 7.58.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-7.58.x 7.58.x
# Navigate to the new working tree
cd .worktrees/backport-7.58.x
# Create a new branch
git switch --create backport-18688-to-7.58.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 c14b128c8390501e05b78563e8a182d12246f87f
# Push it to GitHub
git push --set-upstream origin backport-18688-to-7.58.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-7.58.x

Then, create a pull request where the base branch is 7.58.x and the compare/head branch is backport-18688-to-7.58.x.