From 698d419af4dfa1f1d80d65fbe9ef93c072f88fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Zaj=C4=85c?= Date: Fri, 12 Jan 2024 18:51:26 +0100 Subject: [PATCH] . --- karton/dashboard/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karton/dashboard/app.py b/karton/dashboard/app.py index 6338d97..f76cbcc 100644 --- a/karton/dashboard/app.py +++ b/karton/dashboard/app.py @@ -197,7 +197,7 @@ def get_xrefs(root_uid) -> List[Tuple[str, str]]: def add_metrics(state: KartonState, metric: KartonMetrics, key: str) -> None: - metrics = {k: int(v) for k, v in state.backend.redis.hgetall(metric.value).items()} + metrics = {k: int(v) for k, v in state.backend.redis.hgetall(metric.value).items()} # type: ignore for name, value in metrics.items(): karton_metrics.labels(key, name).set(value)