diff --git a/prometheus_frigate_exporter.py b/prometheus_frigate_exporter.py index d349a64..259575b 100644 --- a/prometheus_frigate_exporter.py +++ b/prometheus_frigate_exporter.py @@ -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