
    Yj                     h   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ZdZ	eed	<   	 dedefd
Z
dZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZdZeed<   	 dedefdZd Zeed!<   	 dedefd"Zd#S )$    )Final)	HistogramMeterUpDownCounterzhttp.client.active_requestsHTTP_CLIENT_ACTIVE_REQUESTSmeterreturnc                 <    |                      t          dd          S )zNumber of active HTTP requestszNumber of active HTTP requests.	{request}namedescriptionunit)create_up_down_counterr   r   s    s/var/www/FlaskApp/flask-venv/lib/python3.11/site-packages/opentelemetry/semconv/_incubating/metrics/http_metrics.py"create_http_client_active_requestsr      s(    ''(5 (       zhttp.client.connection.durationHTTP_CLIENT_CONNECTION_DURATIONc                 <    |                      t          dd          S )zFThe duration of the successfully established outbound HTTP connectionszGThe duration of the successfully established outbound HTTP connections.sr   )create_histogramr   r   s    r   &create_http_client_connection_durationr   "   s(    !!,] "   r   zhttp.client.open_connectionsHTTP_CLIENT_OPEN_CONNECTIONSc                 <    |                      t          dd          S )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   s    r   #create_http_client_open_connectionsr   3   s(    '')j (   r   zhttp.client.request.body.sizeHTTP_CLIENT_REQUEST_BODY_SIZEc                 <    |                      t          dd          S )z"Size of HTTP client request bodiesz#Size of HTTP client request bodies.Byr   )r   r   r   s    r   $create_http_client_request_body_sizer    E   (    !!*9 "   r   zhttp.client.request.durationHTTP_CLIENT_REQUEST_DURATIONc                 <    |                      t          dd          S )z Duration of HTTP client requestsz!Duration of HTTP client requests.r   r   )r   r"   r   s    r   #create_http_client_request_durationr$   T   (    !!)7 "   r   zhttp.client.response.body.sizeHTTP_CLIENT_RESPONSE_BODY_SIZEc                 <    |                      t          dd          S )z#Size of HTTP client response bodiesz$Size of HTTP client response bodies.r   r   )r   r&   r   s    r   %create_http_client_response_body_sizer(   f   (    !!+: "   r   zhttp.server.active_requestsHTTP_SERVER_ACTIVE_REQUESTSc                 <    |                      t          dd          S )z%Number of active HTTP server requestsz&Number of active HTTP server requests.r   r   )r   r*   r   s    r   "create_http_server_active_requestsr,   w   s(    ''(< (   r   zhttp.server.request.body.sizeHTTP_SERVER_REQUEST_BODY_SIZEc                 <    |                      t          dd          S )z"Size of HTTP server request bodiesz#Size of HTTP server request bodies.r   r   )r   r-   r   s    r   $create_http_server_request_body_sizer/      r!   r   zhttp.server.request.durationHTTP_SERVER_REQUEST_DURATIONc                 <    |                      t          dd          S )z Duration of HTTP server requestsz!Duration of HTTP server requests.r   r   )r   r0   r   s    r   #create_http_server_request_durationr2      r%   r   zhttp.server.response.body.sizeHTTP_SERVER_RESPONSE_BODY_SIZEc                 <    |                      t          dd          S )z#Size of HTTP server response bodiesz$Size of HTTP server response bodies.r   r   )r   r3   r   s    r   %create_http_server_response_body_sizer5      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/   r0   r2   r3   r5    r   r   <module>r:      s  
        A A A A A A A A A A%B U B B Be      *K  J J J% I     'E e D D Du      (G u F F F )     'E e D D D
u      )I  H H H 9     &C U B B Be      (G u F F F )     'E e D D D
u      )I  H H H 9      r   