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 7bad762 commit de13203Copy full SHA for de13203
notebook/metrics.py
@@ -2,14 +2,12 @@
2
Prometheus metrics exported by Jupyter Notebook Server
3
4
Read https://prometheus.io/docs/practices/naming/ for naming
5
-conventions for metrics & labels. We generally prefer naming them
6
-`<noun>_<verb>_<type_suffix>`. So a histogram that's tracking
7
-the duration (in seconds) of servers spawning would be called
8
-SERVER_SPAWN_DURATION_SECONDS.
+conventions for metrics & labels.
9
"""
10
11
from prometheus_client import Histogram
12
+# This is a fairly standard name for HTTP request latency reporting.
13
REQUEST_DURATION_SECONDS = Histogram(
14
'request_duration_seconds',
15
'request duration for all HTTP requests',
0 commit comments