
    Ke                         d Z 	 ddlmZmZmZ n<# e$ r4 ddlmZmZ  eddg d          Z edd          Z ed	d
dg          ZY nw xY wg dZ	dS )z
Prometheus metrics exported by Jupyter Server

Read https://prometheus.io/docs/practices/naming/ for naming
conventions for metrics & labels.
    )HTTP_REQUEST_DURATION_SECONDSKERNEL_CURRENTLY_RUNNING_TOTAL TERMINAL_CURRENTLY_RUNNING_TOTAL)Gauge	Histogramhttp_request_duration_secondsz)duration in seconds for all HTTP requests)methodhandlerstatus_code terminal_currently_running_totalz*counter for how many terminals are runningkernel_currently_running_totalz8counter for how many kernels are running labeled by typetype)r   r   r   N)
__doc__notebook.prometheus.metricsr   r   r   ImportErrorprometheus_clientr   r   __all__     Alib/python3.11/site-packages/jupyter_server/prometheus/metrics.py<module>r      s                  22222222$-I'3,,,% %! (-u*4( ($
 &+U(B	& &"""*  s   
 6AA