diff --git a/frigate/http.py b/frigate/http.py index 5ab4b7135..db9bc10e3 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -609,7 +609,7 @@ def version(): @bp.route("/stats") def stats(): - stats = stats_snapshot(current_app.stats_tracking) + stats = stats_snapshot(current_app.frigate_config, current_app.stats_tracking) return jsonify(stats) diff --git a/frigate/stats.py b/frigate/stats.py index 12ee6f265..8722d8b7f 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -93,7 +93,7 @@ def get_gpu_stats(config: FrigateConfig) -> dict[str, str]: if "cuvid" in args: # nvidia GPU - gpu["name"] = "nvidia" + gpu["name"] = "nvidia-cuvid" gpu["usage"] = "100" gpu["memory"] = "200" elif "qsv" in args: