o
    pi'                     @   s&  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-Zeed.< 	 dedefd/d0Zd1Zeed2< 	 dedefd3d4Zd5Zeed6< 	 dedefd7d8Z d9Z!eed:< 	 dedefd;d<Z"d=Z#eed>< 	 dedefd?d@Z$dAZ%eedB< 	 dedefdCdDZ&dES )F    )Final)CounterMeterUpDownCounterznfs.client.net.countNFS_CLIENT_NET_COUNTmeterreturnc                 C      | j tdddS )zMReports the count of kernel NFS client TCP segments and UDP datagrams handledzNReports the count of kernel NFS client TCP segments and UDP datagrams handled.{record}namedescriptionunit)create_counterr   r    r   i/home/ubuntu/.local/lib/python3.10/site-packages/opentelemetry/semconv/_incubating/metrics/nfs_metrics.pycreate_nfs_client_net_count   
   r   z&nfs.client.net.tcp.connection.accepted&NFS_CLIENT_NET_TCP_CONNECTION_ACCEPTEDc                 C   r	   )z?Reports the count of kernel NFS client TCP connections acceptedz@Reports the count of kernel NFS client TCP connections accepted.{connection}r   )r   r   r   r   r   r   -create_nfs_client_net_tcp_connection_accepted1   r   r   znfs.client.operation.countNFS_CLIENT_OPERATION_COUNTc                 C   r	   )z4Reports the count of kernel NFSv4+ client operationsz5Reports the count of kernel NFSv4+ client operations.{operation}r   )r   r   r   r   r   r   !create_nfs_client_operation_countB   r   r   znfs.client.procedure.countNFS_CLIENT_PROCEDURE_COUNTc                 C   r	   )z1Reports the count of kernel NFS client proceduresz2Reports the count of kernel NFS client procedures.{procedure}r   )r   r   r   r   r   r   !create_nfs_client_procedure_countS   r   r   z nfs.client.rpc.authrefresh.count NFS_CLIENT_RPC_AUTHREFRESH_COUNTc                 C   r	   )zCReports the count of kernel NFS client RPC authentication refresheszDReports the count of kernel NFS client RPC authentication refreshes.z{authrefresh}r   )r   r   r   r   r   r   'create_nfs_client_rpc_authrefresh_counte   r   r   znfs.client.rpc.countNFS_CLIENT_RPC_COUNTc                 C   r	   )zoReports the count of kernel NFS client RPCs sent, regardless of whether they're accepted/rejected by the serverzpReports the count of kernel NFS client RPCs sent, regardless of whether they're accepted/rejected by the server.	{request}r   )r   r    r   r   r   r   create_nfs_client_rpc_countw   r   r"   znfs.client.rpc.retransmit.countNFS_CLIENT_RPC_RETRANSMIT_COUNTc                 C   r	   )z6Reports the count of kernel NFS client RPC retransmitsz7Reports the count of kernel NFS client RPC retransmits.z{retransmit}r   )r   r#   r   r   r   r   &create_nfs_client_rpc_retransmit_count   r   r$   znfs.server.fh.stale.countNFS_SERVER_FH_STALE_COUNTc                 C   r	   )z9Reports the count of kernel NFS server stale file handlesz:Reports the count of kernel NFS server stale file handles.z{fh}r   )r   r%   r   r   r   r    create_nfs_server_fh_stale_count   r   r&   znfs.server.ioNFS_SERVER_IOc                 C   r	   )zgReports the count of kernel NFS server bytes returned to receive and transmit (read and write) requestszhReports the count of kernel NFS server bytes returned to receive and transmit (read and write) requests.Byr   )r   r'   r   r   r   r   create_nfs_server_io   r   r)   znfs.server.net.countNFS_SERVER_NET_COUNTc                 C   r	   )zMReports the count of kernel NFS server TCP segments and UDP datagrams handledzNReports the count of kernel NFS server TCP segments and UDP datagrams handled.r
   r   )r   r*   r   r   r   r   create_nfs_server_net_count   r   r+   z&nfs.server.net.tcp.connection.accepted&NFS_SERVER_NET_TCP_CONNECTION_ACCEPTEDc                 C   r	   )z?Reports the count of kernel NFS server TCP connections acceptedz@Reports the count of kernel NFS server TCP connections accepted.r   r   )r   r,   r   r   r   r   -create_nfs_server_net_tcp_connection_accepted   r   r-   znfs.server.operation.countNFS_SERVER_OPERATION_COUNTc                 C   r	   )z4Reports the count of kernel NFSv4+ server operationsz5Reports the count of kernel NFSv4+ server operations.r   r   )r   r.   r   r   r   r   !create_nfs_server_operation_count   r   r/   znfs.server.procedure.countNFS_SERVER_PROCEDURE_COUNTc                 C   r	   )z1Reports the count of kernel NFS server proceduresz2Reports the count of kernel NFS server procedures.r   r   )r   r0   r   r   r   r   !create_nfs_server_procedure_count   r   r1   znfs.server.repcache.requestsNFS_SERVER_REPCACHE_REQUESTSc                 C   r	   )zKReports the kernel NFS server reply cache request count by cache hit statuszLReports the kernel NFS server reply cache request count by cache hit status.r!   r   )r   r2   r   r   r   r   #create_nfs_server_repcache_requests  r   r3   znfs.server.rpc.countNFS_SERVER_RPC_COUNTc                 C   r	   )z3Reports the count of kernel NFS server RPCs handledz4Reports the count of kernel NFS server RPCs handled.r!   r   )r   r4   r   r   r   r   create_nfs_server_rpc_count  r   r5   znfs.server.thread.countNFS_SERVER_THREAD_COUNTc                 C   r	   )z8Reports the count of kernel NFS server available threadsz9Reports the count of kernel NFS server available threads.z{thread}r   )create_up_down_counterr6   r   r   r   r   create_nfs_server_thread_count+  r   r8   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/   r0   r1   r2   r3   r4   r5   r6   r8   r   r   r   r   <module>   sh   

								

						