Skip to content

Commit

Permalink
Fix sysinfo CPU issue (Azure#3310)
Browse files Browse the repository at this point in the history
The new sysinfo update fixes the bug with host metrics showing as lower than docker metrics. The older sysinfo had a bug that ignored kernal cpu usage.
  • Loading branch information
lfitchett authored Jul 29, 2020
1 parent 4640515 commit e9dc6c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
21 changes: 4 additions & 17 deletions edgelet/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion edgelet/edgelet-docker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ log = "0.4"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"
sysinfo = "0.12.0"
sysinfo = "0.14.10"
tokio = "0.1.11"
url = "1.7"
url_serde = "0.2"
Expand Down
2 changes: 1 addition & 1 deletion edgelet/iotedge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ mini-sntp = { path = "../mini-sntp" }
[target.'cfg(unix)'.dependencies]
byte-unit = "3.0.3"
libc = "0.2"
sysinfo = "0.9.6"
sysinfo = "0.14.10"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["ntdef", "ntstatus", "winnt", "winsock2"] }
Expand Down

0 comments on commit e9dc6c1

Please sign in to comment.