From fe8a9384ba352275f404f671d3ef0e17a995b89a Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Wed, 17 Jun 2026 12:26:25 -0300 Subject: [PATCH] SIENTIAPDE-1645: Rename Prometheus 'sientia_app_up' metric to 'app_up' and update test assertion. --- model_manager/metrics.py | 2 +- tests/test_metrics.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/model_manager/metrics.py b/model_manager/metrics.py index ad2a1e4..cc52ac5 100644 --- a/model_manager/metrics.py +++ b/model_manager/metrics.py @@ -20,7 +20,7 @@ from prometheus_client import Counter, Gauge, Histogram # Application health metric APP_UP = Gauge( - 'sientia_app_up', + 'app_up', 'Indicates if the application is running (1) or shutting down (0)', ['pod_id'], ) diff --git a/tests/test_metrics.py b/tests/test_metrics.py index 06bc251..3e47dec 100644 --- a/tests/test_metrics.py +++ b/tests/test_metrics.py @@ -10,7 +10,7 @@ def test_app_up_metric_exists(): from model_manager.metrics import APP_UP assert APP_UP is not None - assert APP_UP._name == 'sientia_app_up' + assert APP_UP._name == 'app_up' assert ( APP_UP._documentation == 'Indicates if the application is running (1) or shutting down (0)' )