Skip to content

Commit

Permalink
remove reference to notebook in prometheus
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer authored and kevin-bates committed Sep 25, 2019
1 parent 4d47d2f commit 1f31046
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jupyter_server/prometheus/log_functions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from notebook.prometheus.metrics import HTTP_REQUEST_DURATION_SECONDS
from jupyter_server.prometheus.metrics import HTTP_REQUEST_DURATION_SECONDS


def prometheus_log_method(handler):
Expand Down
2 changes: 1 addition & 1 deletion jupyter_server/services/kernels/kernelmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from jupyter_server._tz import utcnow, isoformat
from ipython_genutils.py3compat import getcwd

from notebook.prometheus.metrics import KERNEL_CURRENTLY_RUNNING_TOTAL
from jupyter_server.prometheus.metrics import KERNEL_CURRENTLY_RUNNING_TOTAL


class MappingKernelManager(MultiKernelManager):
Expand Down

0 comments on commit 1f31046

Please sign in to comment.