Skip to content

Collect additional iface metrics: mtu, num tx/rx queue and tx queue length#11156

Merged
bkabrda merged 10 commits into
masterfrom
bonnefoa/mtu-collect
Feb 18, 2022
Merged

Collect additional iface metrics: mtu, num tx/rx queue and tx queue length#11156
bkabrda merged 10 commits into
masterfrom
bonnefoa/mtu-collect

Conversation

@bonnefoa

Copy link
Copy Markdown
Collaborator

What does this PR do?

Collect iface metrics exposed in /sys/class/net on linux.

Motivation

Having MTU available is useful to chase down possible misconfigured instances which could increase IP fragmentation and lower network performance.

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@bonnefoa
bonnefoa requested review from a team as code owners January 18, 2022 09:09
@ghost ghost added the integration/network label Jan 18, 2022
@bonnefoa
bonnefoa force-pushed the bonnefoa/mtu-collect branch from 8a80821 to afc95a4 Compare January 18, 2022 09:44
Comment thread network/datadog_checks/network/network.py Outdated
Comment thread network/datadog_checks/network/network.py Outdated
sarah-witt
sarah-witt previously approved these changes Jan 31, 2022

@sarah-witt sarah-witt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good for agent integrations!

albertvaka
albertvaka previously approved these changes Feb 2, 2022

@albertvaka albertvaka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. For consistency the metric descriptions should mention these are (Linux only), though.

@bonnefoa
bonnefoa dismissed stale reviews from albertvaka and sarah-witt via f6a53e1 February 3, 2022 08:27
@bonnefoa

bonnefoa commented Feb 3, 2022

Copy link
Copy Markdown
Collaborator Author

Added Linux only mentions

albertvaka
albertvaka previously approved these changes Feb 3, 2022
@codecov

codecov Bot commented Feb 15, 2022

Copy link
Copy Markdown

Codecov Report

Merging #11156 (fdf61d3) into master (e89bb02) will increase coverage by 0.01%.
The diff coverage is 93.42%.

Flag Coverage Δ
network 79.27% <93.42%> (+2.53%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@DrynnBavis

Copy link
Copy Markdown
Member

👋 from our end we've updated the metrics metadata tables in all DCs so we're ready when you are 👍

@bkabrda
bkabrda merged commit 7b2a6f3 into master Feb 18, 2022
@bkabrda
bkabrda deleted the bonnefoa/mtu-collect branch February 18, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants