Skip to content

Commit

Permalink
not handling gpu mem usage correctly #11
Browse files Browse the repository at this point in the history
  • Loading branch information
bairhys committed Jun 14, 2024
1 parent 2d3182c commit 582d8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheus_frigate_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def collect(self):
try:
for gpu_name, gpu_stats in stats['gpu_usages'].items():
add_metric(gpu_usages, [gpu_name], gpu_stats, 'gpu')
add_metric(gpu_usages, [gpu_name], gpu_stats, 'mem')
add_metric(gpu_mem_usages, [gpu_name], gpu_stats, 'mem')
except KeyError:
pass

Expand Down

0 comments on commit 582d8e5

Please sign in to comment.