diff --git a/jupyter_server/serverapp.py b/jupyter_server/serverapp.py index 818099d0c..ca8bc9874 100644 --- a/jupyter_server/serverapp.py +++ b/jupyter_server/serverapp.py @@ -2703,7 +2703,7 @@ def init_metrics(self) -> None: """ SERVER_INFO.info({"version": __version__}) - for k, ext in self.extension_manager.extensions.items(): + for ext in self.extension_manager.extensions.values(): SERVER_EXTENSION_INFO.labels( name=ext.name, version=ext.version, enabled=str(ext.enabled).lower() )