From 88cc20a46d50c5ce7958d790fccd752de7b2db60 Mon Sep 17 00:00:00 2001 From: MrMissx Date: Sun, 14 Jul 2024 23:50:26 +0700 Subject: [PATCH] fix: change metrics host --- anjani/internal_plugins/canonical.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anjani/internal_plugins/canonical.py b/anjani/internal_plugins/canonical.py index 4f51991e6..a966f94fd 100644 --- a/anjani/internal_plugins/canonical.py +++ b/anjani/internal_plugins/canonical.py @@ -77,7 +77,7 @@ async def _setup_web_app(self): app.add_routes([web.get("/metrics", metrics_handler)]) self._web_runner = web.AppRunner(app) await self._web_runner.setup() - self._web_site = web.TCPSite(self._web_runner, "localhost", 9090) + self._web_site = web.TCPSite(self._web_runner, "0.0.0.0", 9090) await self._web_site.start() async def stop_aiohttp_server(self): diff --git a/pyproject.toml b/pyproject.toml index 0f71b11ab..f2b9565cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "anjani" -version = "2.14.7" +version = "2.14.8" description = "Telegram group management bot" license = "GPL-3.0-or-later" authors = [