a
    ø£Be¡  ã                   @   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ÚKERNEL_CURRENTLY_RUNNING_TOTALÚ TERMINAL_CURRENTLY_RUNNING_TOTAL)ÚGaugeÚ	HistogramZhttp_request_duration_secondsz)duration in seconds for all HTTP requests)ÚmethodÚhandlerÚ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   úd/home/yuhw/wc/wire-cell-python/wcpy/lib/python3.9/site-packages/jupyter_server/prometheus/metrics.pyÚ<module>   s$   ýþý