Skip to content

Commit

Permalink
Disable nvidia gpu metrics on windows (it has never been released). (#…
Browse files Browse the repository at this point in the history
…632)

* Disable nvidia gpu metrics on windows (it has never been released).
  • Loading branch information
adam-mateen authored Nov 10, 2022
1 parent dc6be64 commit 5ace5aa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@

[inputs]

[[inputs.nvidia_smi]]
bin_path = "C:\\Program Files\\NVIDIA Corporation\\NVSMI\\nvidia-smi.exe"
fieldpass = ["utilization_gpu", "utilization_memory", "power_draw", "temperature_gpu"]
interval = "60s"
tagexclude = ["compute_mode", "pstate", "uuid"]
[inputs.nvidia_smi.tags]
metricPath = "metrics"

[[inputs.logfile]]
destination = "cloudwatchlogs"
file_state_folder = "c:\\ProgramData\\Amazon\\AmazonCloudWatchAgent\\Logs\\state"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"metrics": {
"metrics_collected": {
"nvidia_gpu" : {
"nvidia_gpu": {
"measurement": [
"utilization_gpu",
"utilization_memory",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ func init() {
n := new(NvidiaSmi)
parent.RegisterLinuxRule(SectionKey_Nvidia_GPU, n)
parent.RegisterDarwinRule(SectionKey_Nvidia_GPU, n)
parent.RegisterWindowsRule(SectionKey_Nvidia_GPU, n)
//parent.RegisterWindowsRule(SectionKey_Nvidia_GPU, n)
}

0 comments on commit 5ace5aa

Please sign in to comment.