Skip to content

Commit c9935ad

Browse files
authored
add additional AMD metrics to whitelist (#339)
1 parent 4a9d970 commit c9935ad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmd/do-agent/aggregation.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,6 @@ var gpuAggregationSpec = map[string][]string{
166166
"amd_gpu_junction_temperature": amdAggregatedLabels,
167167
"amd_gpu_power_usage": amdAggregatedLabels,
168168
"amd_gpu_memory_temperature": amdAggregatedLabels,
169+
"amd_gpu_gfx_activity": amdAggregatedLabels,
170+
"amd_gpu_prof_sm_active": amdAggregatedLabels,
169171
}

cmd/do-agent/whitelist.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,6 @@ var gpuWhitelist = map[string]bool{
225225
"amd_gpu_junction_temperature": true,
226226
"amd_gpu_power_usage": true,
227227
"amd_gpu_memory_temperature": true,
228+
"amd_gpu_gfx_activity": true,
229+
"amd_gpu_prof_sm_active": true,
228230
}

0 commit comments

Comments
 (0)