o
    PDi                     @   sf  U d dl mZ d dlmZmZmZ dZeed< 	 dedefddZd	Z	eed
< 	 dedefddZ
dZeed< 	 dedefddZdZeed< 	 dedefddZdZeed< 	 dedefddZdZeed< 	 dedefddZdZeed< 	 dedefdd Zd!Zeed"< 	 dedefd#d$Zd%Zeed&< 	 dedefd'd(Zd)Zeed*< 	 dedefd+d,Zd-S ).    )Final)	HistogramMeterUpDownCounterzhttp.client.active_requestsHTTP_CLIENT_ACTIVE_REQUESTSmeterreturnc                 C      | j tdddS )zNumber of active HTTP requestszNumber of active HTTP requests.	{request}namedescriptionunit)create_up_down_counterr   r    r   o/var/www/Datamplify/venv/lib/python3.10/site-packages/opentelemetry/semconv/_incubating/metrics/http_metrics.py"create_http_client_active_requests   
   r   zhttp.client.connection.durationHTTP_CLIENT_CONNECTION_DURATIONc                 C   r	   )zFThe duration of the successfully established outbound HTTP connectionszGThe duration of the successfully established outbound HTTP connections.sr   )create_histogramr   r   r   r   r   &create_http_client_connection_duration-   r   r   zhttp.client.open_connectionsHTTP_CLIENT_OPEN_CONNECTIONSc                 C   r	   )zSNumber of outbound HTTP connections that are currently active or idle on the clientzTNumber of outbound HTTP connections that are currently active or idle on the client.z{connection}r   )r   r   r   r   r   r   #create_http_client_open_connections>   r   r   zhttp.client.request.body.sizeHTTP_CLIENT_REQUEST_BODY_SIZEc                 C   r	   )z"Size of HTTP client request bodiesz#Size of HTTP client request bodies.Byr   )r   r   r   r   r   r   $create_http_client_request_body_sizeP   r   r   zhttp.client.request.durationHTTP_CLIENT_REQUEST_DURATIONc                 C   r	   )z Duration of HTTP client requestsz!Duration of HTTP client requests.r   r   )r   r   r   r   r   r   #create_http_client_request_duration_   r   r   zhttp.client.response.body.sizeHTTP_CLIENT_RESPONSE_BODY_SIZEc                 C   r	   )z#Size of HTTP client response bodiesz$Size of HTTP client response bodies.r   r   )r   r    r   r   r   r   %create_http_client_response_body_sizeq   r   r!   zhttp.server.active_requestsHTTP_SERVER_ACTIVE_REQUESTSc                 C   r	   )z%Number of active HTTP server requestsz&Number of active HTTP server requests.r
   r   )r   r"   r   r   r   r   "create_http_server_active_requests   r   r#   zhttp.server.request.body.sizeHTTP_SERVER_REQUEST_BODY_SIZEc                 C   r	   )z"Size of HTTP server request bodiesz#Size of HTTP server request bodies.r   r   )r   r$   r   r   r   r   $create_http_server_request_body_size   r   r%   zhttp.server.request.durationHTTP_SERVER_REQUEST_DURATIONc                 C   r	   )z Duration of HTTP server requestsz!Duration of HTTP server requests.r   r   )r   r&   r   r   r   r   #create_http_server_request_duration   r   r'   zhttp.server.response.body.sizeHTTP_SERVER_RESPONSE_BODY_SIZEc                 C   r	   )z#Size of HTTP server response bodiesz$Size of HTTP server response bodies.r   r   )r   r(   r   r   r   r   %create_http_server_response_body_size   r   r)   N)typingr   opentelemetry.metricsr   r   r   r   __annotations__r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r   r   r   r   <module>   s@   									