diff --git a/README.md b/README.md index 0e59e4d..d9184de 100644 --- a/README.md +++ b/README.md @@ -162,10 +162,10 @@ Mirroring CPU and Memory, the trait `disk_warning_threshold` signifies when to f ### Disable Prometheus Metrics There is a [known bug](https://github.com/jupyter-server/jupyter-resource-usage/issues/123) with Prometheus metrics which -causes "lag"/pauses in the UI. To workaround this you can disable Prometheus metric reporting using: - +causes "lag"/pauses in the UI. Hence, the Prometheus metric reporting is disabled by default (for all versions > 1.1.1). +If you want to use the Prometheus metric reporting you need to enable it with: ``` ---ResourceUseDisplay.enable_prometheus_metrics=False +--ResourceUseDisplay.enable_prometheus_metrics=True ``` ## Enable alternative frontend diff --git a/jupyter_resource_usage/config.py b/jupyter_resource_usage/config.py index 4a86c12..ef5abac 100644 --- a/jupyter_resource_usage/config.py +++ b/jupyter_resource_usage/config.py @@ -171,7 +171,7 @@ def _disk_path_default(self): ).tag(config=True) enable_prometheus_metrics = Bool( - default_value=True, + default_value=False, help=""" Set to False in order to disable reporting of Prometheus style metrics. """,