From cfb966ce5346e3081d3193e6cb50a8b87e0ce451 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 22 Jan 2025 13:34:34 -0800 Subject: [PATCH] redis report --- app/main/views/platform_admin.py | 5 ++--- tests/app/test_navigation.py | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/main/views/platform_admin.py b/app/main/views/platform_admin.py index 04ef87a55..783ce01b6 100644 --- a/app/main/views/platform_admin.py +++ b/app/main/views/platform_admin.py @@ -158,12 +158,11 @@ def get_redis_report(): writer.writerow([]) writer.writerow(["Memory"]) - writer.writerow(["", "Metric", "Value"]) writer.writerow(["", "Memory Used", memory_used]) writer.writerow(["", "Max Memory", max_memory]) writer.writerow(["", "Memory Fragmentation Ratio", mem_fragmentation]) - writer.writerow(["", "Memory Fragmentation Quality", frag_quality]) - writer.writerow(["", "Memory Fragmentation Note", frag_note]) + writer.writerow(["", "Memory Fragmentation Quality", frag_quality, frag_note]) + #writer.writerow(["", "Memory Fragmentation Note", frag_note]) writer.writerow([]) writer.writerow(["Keys Overview"]) diff --git a/tests/app/test_navigation.py b/tests/app/test_navigation.py index ed4d66182..ff6a9fb0e 100644 --- a/tests/app/test_navigation.py +++ b/tests/app/test_navigation.py @@ -107,6 +107,7 @@ "get_volumes_by_service", "get_example_csv", "get_notifications_as_json", + "get_redis_report", "get_started", "get_started_old", "go_to_dashboard_after_tour",