a
    m b                     @   sl   d Z zddlmZmZmZ W nJ eyf   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0 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 TERMINAL_CURRENTLY_RUNNING_TOTALKERNEL_CURRENTLY_RUNNING_TOTAL)	HistogramGaugeZhttp_request_duration_secondsz)duration in seconds for all HTTP requests)methodZhandlerZstatus_codeZ terminal_currently_running_totalz*counter for how many terminals are runningZkernel_currently_running_totalz8counter for how many kernels are running labeled by typetypeN)	__doc__Znotebook.prometheus.metricsr   r   r   ImportErrorZprometheus_clientr   r    r   r   @lib/python3.9/site-packages/jupyter_server/prometheus/metrics.py<module>   s$   