We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17735a6 commit afbe5afCopy full SHA for afbe5af
src/aleph/web/controllers/main.py
@@ -76,9 +76,7 @@ async def metrics_json(request: web.Request) -> web.Response:
76
77
with session_factory() as session:
78
return web.Response(
79
- text=(
80
- await get_metrics(session=session, node_cache=node_cache)
81
- ).model_dump_json(),
+ text=(await get_metrics(session=session, node_cache=node_cache)).to_json(),
82
content_type="application/json",
83
)
84
0 commit comments