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 209386d commit a114351Copy full SHA for a114351
jupyter_server/prometheus/metrics.py
@@ -4,6 +4,12 @@
4
Read https://prometheus.io/docs/practices/naming/ for naming
5
conventions for metrics & labels.
6
"""
7
+# Do this to see if we end up in an import loop?
8
+from notebook.prometheus.metrics import (
9
+ HTTP_REQUEST_DURATION_SECONDS,
10
+ KERNEL_CURRENTLY_RUNNING_TOTAL,
11
+ TERMINAL_CURRENTLY_RUNNING_TOTAL,
12
+)
13
14
try:
15
# Jupyter Notebook also defines these metrics. Re-defining them results in a ValueError.
0 commit comments