
    2iT                        % S SK JrJrJrJrJrJrJr  S SKJ	r	J
r
JrJrJrJr  \\\	/\\   4   \\\   \	S4   4   rSr\\S'    S\S\\\      S\4S	 jrS
r\\S'    S\S\\\      S\4S jrSr\\S'    S\S\\\      S\4S jrSr\\S'    S\S\\\      S\4S jrSr\\S'    S\S\\\      S\4S jrSr\\S'    S\S\
4S jrSr\\S'    S\S\
4S jrSr\\S'    S\S\\\      S\4S jr Sr!\\S '    S\S\\\      S\4S! jr"S"r#\\S#'    S\S\\\      S\4S$ jr$S%r%\\S&'    S\S\
4S' jr&S(r'\\S)'    S\S\4S* jr(S+r)\\S,'    S\S\4S- jr*S.r+\\S/'    S\S\\\      S\4S0 jr,S1r-\\S2'    S\S\\\      S\4S3 jr.S4r/\\S5'    S\S\\\      S\4S6 jr0S7r1\\S8'    S\S\
4S9 jr2S:r3\\S;'    S\S\\\      S\4S< jr4S=r5\\S>'    S\S\\\      S\4S? jr6S@r7\\SA'    S\S\4SB jr8SCr9\\SD'    S\S\4SE jr:SFr;\\SG'    S\S\\\      S\4SH jr<SIr=\\SJ'    S\S\4SK jr>SLr?\\SM'    S\S\4SN jr@SOrA\\SP'    S\S\\\      S\4SQ jrBSRrC\\SS'    S\S\
4ST jrDSUrE\\SV'    S\S\
4SW jrFSXrG\\SY'    S\S\4SZ jrHS[rI\\S\'    S\S\\\      S\4S] jrJS^rK\\S_'    S\S\4S` jrLSarM\\Sb'    S\S\\\      S\4Sc jrNSdrO\\Se'    S\S\\\      S\4Sf jrPSgrQ\\Sh'    S\S\4Si jrRSjrS\\Sk'    S\S\4Sl jrTSmrU\\Sn'    S\S\\\      S\4So jrVSprW\\Sq'    S\S\4Sr jrXSsrY\\St'    S\S\
4Su jrZSvr[\\Sw'    S\S\\\      S\4Sx jr\Syr]\\Sz'    S\S\\\      S\4S{ jr^S|r_\\S}'    S\S\\\      S\4S~ jr`Sra\\S'    S\S\\\      S\4S jrbSrc\\S'    S\S\\\      S\4S jrdg)    )CallableFinal	GeneratorIterableOptionalSequenceUnion)CallbackOptionsCounterMeterObservableGaugeObservationUpDownCounterNzhw.battery.chargeHW_BATTERY_CHARGEmeter	callbacksreturnc                 .    U R                  [        USSS9$ )z$Remaining fraction of battery chargez%Remaining fraction of battery charge.1namer   descriptionunit)create_observable_gauger   r   r   s     n/home/james-whalen/.local/lib/python3.13/site-packages/opentelemetry/semconv/_incubating/metrics/hw_metrics.pycreate_hw_battery_charger   1   s(     ((;	 )      zhw.battery.charge.limitHW_BATTERY_CHARGE_LIMITc                 .    U R                  [        USSS9$ )zALower limit of battery charge fraction to ensure proper operationzBLower limit of battery charge fraction to ensure proper operation.r   r   )r   r   r   s     r   create_hw_battery_charge_limitr!   E   s(     (($X	 )  r   zhw.battery.time_leftHW_BATTERY_TIME_LEFTc                 .    U R                  [        USSS9$ )z<Time left before battery is completely charged or dischargedz=Time left before battery is completely charged or discharged.sr   )r   r"   r   s     r   create_hw_battery_time_leftr%   Y   s(     ((!S	 )  r   zhw.cpu.speedHW_CPU_SPEEDc                 .    U R                  [        USSS9$ )zCPU current frequencyzCPU current frequency.Hzr   )r   r&   r   s     r   create_hw_cpu_speedr)   m   s(     ((,	 )  r   zhw.cpu.speed.limitHW_CPU_SPEED_LIMITc                 .    U R                  [        USSS9$ )zCPU maximum frequencyzCPU maximum frequency.r(   r   )r   r*   r   s     r   create_hw_cpu_speed_limitr,      s(     ((,	 )  r   z	hw.energy	HW_ENERGYc                 ,    U R                  [        SSS9$ )z Energy consumed by the componentz!Energy consumed by the component.Jr   r   r   )create_counterr-   r   s    r   create_hw_energyr3      s#    7    r   z	hw.errors	HW_ERRORSc                 ,    U R                  [        SSS9$ )z-Number of errors encountered by the componentz.Number of errors encountered by the component.z{error}r0   )r1   r4   r2   s    r   create_hw_errorsr6      s#    D    r   zhw.fan.speedHW_FAN_SPEEDc                 .    U R                  [        USSS9$ )z#Fan speed in revolutions per minutez$Fan speed in revolutions per minute.rpmr   )r   r7   r   s     r   create_hw_fan_speedr:      s(     ((:	 )  r   zhw.fan.speed.limitHW_FAN_SPEED_LIMITc                 .    U R                  [        USSS9$ )zSpeed limit in rpmzSpeed limit in rpm.r9   r   )r   r;   r   s     r   create_hw_fan_speed_limitr=      s(     (()	 )  r   zhw.fan.speed_ratioHW_FAN_SPEED_RATIOc                 .    U R                  [        USSS9$ )z6Fan speed expressed as a fraction of its maximum speedz7Fan speed expressed as a fraction of its maximum speed.r   r   )r   r>   r   s     r   create_hw_fan_speed_ratior@      s(     ((M	 )  r   z	hw.gpu.io	HW_GPU_IOc                 ,    U R                  [        SSS9$ )z)Received and transmitted bytes by the GPUz*Received and transmitted bytes by the GPU.Byr0   )r1   rA   r2   s    r   create_hw_gpu_iorD      s#    @    r   zhw.gpu.memory.limitHW_GPU_MEMORY_LIMITc                 ,    U R                  [        SSS9$ )zSize of the GPU memoryzSize of the GPU memory.rC   r0   )create_up_down_counterrE   r2   s    r   create_hw_gpu_memory_limitrH     s#    '' - (  r   zhw.gpu.memory.usageHW_GPU_MEMORY_USAGEc                 ,    U R                  [        SSS9$ )zGPU memory usedzGPU memory used.rC   r0   )rG   rI   r2   s    r   create_hw_gpu_memory_usagerK     s#    '' & (  r   zhw.gpu.memory.utilizationHW_GPU_MEMORY_UTILIZATIONc                 .    U R                  [        USSS9$ )zFraction of GPU memory usedzFraction of GPU memory used.r   r   )r   rL   r   s     r    create_hw_gpu_memory_utilizationrN   &  s(     ((&2	 )  r   zhw.gpu.utilizationHW_GPU_UTILIZATIONc                 .    U R                  [        USSS9$ )z)Fraction of time spent in a specific taskz*Fraction of time spent in a specific task.r   r   )r   rO   r   s     r   create_hw_gpu_utilizationrQ   :  s(     ((@	 )  r   zhw.host.ambient_temperatureHW_HOST_AMBIENT_TEMPERATUREc                 .    U R                  [        USSS9$ )z3Ambient (external) temperature of the physical hostz4Ambient (external) temperature of the physical host.Celr   )r   rR   r   s     r   "create_hw_host_ambient_temperaturerU   N  s(     (((J	 )  r   zhw.host.energyHW_HOST_ENERGYc                 ,    U R                  [        SSS9$ )z<Total energy consumed by the entire physical host, in joulesz=Total energy consumed by the entire physical host, in joules.r/   r0   )r1   rV   r2   s    r   create_hw_host_energyrX   c  s#    S    r   zhw.host.heating_marginHW_HOST_HEATING_MARGINc                 .    U R                  [        USSS9$ )zBy how many degrees Celsius the temperature of the physical host can be increased, before reaching a warning threshold on one of the internal sensorszBy how many degrees Celsius the temperature of the physical host can be increased, before reaching a warning threshold on one of the internal sensors.rT   r   )r   rY   r   s     r   create_hw_host_heating_marginr[   t  s+     ((# m	 )  r   zhw.host.powerHW_HOST_POWERc                 .    U R                  [        USSS9$ )zaInstantaneous power consumed by the entire physical host in Watts (`hw.host.energy` is preferred)zbInstantaneous power consumed by the entire physical host in Watts (`hw.host.energy` is preferred).Wr   )r   r\   r   s     r   create_hw_host_powerr_     s(     ((x	 )  r   zhw.logical_disk.limitHW_LOGICAL_DISK_LIMITc                 ,    U R                  [        SSS9$ )zSize of the logical diskzSize of the logical disk.rC   r0   )rG   r`   r2   s    r   create_hw_logical_disk_limitrb     #    ''"/ (  r   zhw.logical_disk.usageHW_LOGICAL_DISK_USAGEc                 ,    U R                  [        SSS9$ )zLogical disk space usagezLogical disk space usage.rC   r0   )rG   rd   r2   s    r   create_hw_logical_disk_usagerf     rc   r   zhw.logical_disk.utilizationHW_LOGICAL_DISK_UTILIZATIONc                 .    U R                  [        USSS9$ )z,Logical disk space utilization as a fractionz-Logical disk space utilization as a fraction.r   r   )r   rg   r   s     r   "create_hw_logical_disk_utilizationri     s(     (((C	 )  r   zhw.memory.sizeHW_MEMORY_SIZEc                 ,    U R                  [        SSS9$ )zSize of the memory modulezSize of the memory module.rC   r0   )rG   rj   r2   s    r   create_hw_memory_sizerl     s#    ''0 (  r   zhw.network.bandwidth.limitHW_NETWORK_BANDWIDTH_LIMITc                 ,    U R                  [        SSS9$ )z
Link speedzLink speed.zBy/sr0   )rG   rm   r2   s    r   !create_hw_network_bandwidth_limitro     s#    '''! (  r   z hw.network.bandwidth.utilization HW_NETWORK_BANDWIDTH_UTILIZATIONc                 .    U R                  [        USSS9$ )z2Utilization of the network bandwidth as a fractionz3Utilization of the network bandwidth as a fraction.r   r   )r   rp   r   s     r   'create_hw_network_bandwidth_utilizationrr     s(     ((-I	 )  r   zhw.network.ioHW_NETWORK_IOc                 ,    U R                  [        SSS9$ )z1Received and transmitted network traffic in bytesz2Received and transmitted network traffic in bytes.rC   r0   )r1   rs   r2   s    r   create_hw_network_ioru   	  s#    H    r   zhw.network.packetsHW_NETWORK_PACKETSc                 ,    U R                  [        SSS9$ )z?Received and transmitted network traffic in packets (or frames)z@Received and transmitted network traffic in packets (or frames).z{packet}r0   )r1   rv   r2   s    r   create_hw_network_packetsrx     s#    V    r   zhw.network.upHW_NETWORK_UPc                 ,    U R                  [        SSS9$ )z#Link status: `1` (up) or `0` (down)z$Link status: `1` (up) or `0` (down).r   r0   )rG   ry   r2   s    r   create_hw_network_upr{   +  s#    '': (  r   z&hw.physical_disk.endurance_utilization&HW_PHYSICAL_DISK_ENDURANCE_UTILIZATIONc                 .    U R                  [        USSS9$ )z%Endurance remaining for this SSD diskz&Endurance remaining for this SSD disk.r   r   )r   r|   r   s     r   -create_hw_physical_disk_endurance_utilizationr~   >  s(     ((3<	 )  r   zhw.physical_disk.sizeHW_PHYSICAL_DISK_SIZEc                 ,    U R                  [        SSS9$ )zSize of the diskzSize of the disk.rC   r0   )rG   r   r2   s    r   create_hw_physical_disk_sizer   R  s#    ''"' (  r   zhw.physical_disk.smartHW_PHYSICAL_DISK_SMARTc                 .    U R                  [        USSS9$ )zValue of the corresponding [S.M.A.R.T.](https://wikipedia.org/wiki/S.M.A.R.T.) (Self-Monitoring, Analysis, and Reporting Technology) attributezValue of the corresponding [S.M.A.R.T.](https://wikipedia.org/wiki/S.M.A.R.T.) (Self-Monitoring, Analysis, and Reporting Technology) attribute.r   r   )r   r   r   s     r   create_hw_physical_disk_smartr   c  s+     ((# f	 )  r   zhw.powerHW_POWERc                 .    U R                  [        USSS9$ )z-Instantaneous power consumed by the componentz.Instantaneous power consumed by the component.r^   r   )r   r   r   s     r   create_hw_powerr   x  s(     ((D	 )  r   zhw.power_supply.limitHW_POWER_SUPPLY_LIMITc                 ,    U R                  [        SSS9$ )z(Maximum power output of the power supplyz)Maximum power output of the power supply.r^   r0   )rG   r   r2   s    r   create_hw_power_supply_limitr     #    ''"? (  r   zhw.power_supply.usageHW_POWER_SUPPLY_USAGEc                 ,    U R                  [        SSS9$ )z(Current power output of the power supplyz)Current power output of the power supply.r^   r0   )rG   r   r2   s    r   create_hw_power_supply_usager     r   r   zhw.power_supply.utilizationHW_POWER_SUPPLY_UTILIZATIONc                 .    U R                  [        USSS9$ )zCUtilization of the power supply as a fraction of its maximum outputzDUtilization of the power supply as a fraction of its maximum output.r   r   )r   r   r   s     r   "create_hw_power_supply_utilizationr     s(     (((Z	 )  r   z	hw.status	HW_STATUSc                 ,    U R                  [        SSS9$ )zMOperational status: `1` (true) or `0` (false) for each of the possible stateszNOperational status: `1` (true) or `0` (false) for each of the possible states.r   r0   )rG   r   r2   s    r   create_hw_statusr     s#    ''d (  r   zhw.tape_drive.operationsHW_TAPE_DRIVE_OPERATIONSc                 ,    U R                  [        SSS9$ )z&Operations performed by the tape drivez'Operations performed by the tape drive.z{operation}r0   )r1   r   r2   s    r   create_hw_tape_drive_operationsr     s#    %=    r   zhw.temperatureHW_TEMPERATUREc                 .    U R                  [        USSS9$ )zTemperature in degrees CelsiuszTemperature in degrees Celsius.rT   r   )r   r   r   s     r   create_hw_temperaturer     s(     ((5	 )  r   zhw.temperature.limitHW_TEMPERATURE_LIMITc                 .    U R                  [        USSS9$ )z$Temperature limit in degrees Celsiusz%Temperature limit in degrees Celsius.rT   r   )r   r   r   s     r   create_hw_temperature_limitr     s(     ((!;	 )  r   z
hw.voltage
HW_VOLTAGEc                 .    U R                  [        USSS9$ )zVoltage measured by the sensorzVoltage measured by the sensor.Vr   )r   r   r   s     r   create_hw_voltager     s(     ((5	 )  r   zhw.voltage.limitHW_VOLTAGE_LIMITc                 .    U R                  [        USSS9$ )zVoltage limit in VoltszVoltage limit in Volts.r   r   )r   r   r   s     r   create_hw_voltage_limitr   !  s(     ((-	 )  r   zhw.voltage.nominalHW_VOLTAGE_NOMINALc                 .    U R                  [        USSS9$ )zNominal (expected) voltagezNominal (expected) voltage.r   r   )r   r   r   s     r   create_hw_voltage_nominalr   5  s(     ((1	 )  r   )etypingr   r   r   r   r   r   r	   opentelemetry.metricsr
   r   r   r   r   r   	CallbackTr   __annotations__r   r   r!   r"   r%   r&   r)   r*   r,   r-   r3   r4   r6   r7   r:   r;   r=   r>   r@   rA   rD   rE   rH   rI   rK   rL   rN   rO   rQ   rR   rU   rV   rX   rY   r[   r\   r_   r`   rb   rd   rf   rg   ri   rj   rl   rm   ro   rp   rr   rs   ru   rv   rx   ry   r{   r|   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r   <module>r      sE       o 556h{#_d:;=	
 / 5 .		%hy&9:		 ";  :		%hy&9:		 5 e 4		%hy&9:		 %e $		%hy&9:		 1 E 0		%hy&9:		 	5 E g  	5 E g  %e $		%hy&9:		 1 E 0		%hy&9:		 1 E 0		%hy&9:		 	5 E g  3 U 2e   3 U 2e   $? 5 >		%hy&9:		 1 E 0		%hy&9:		 &C U B		%hy&9:		 ) ( 7  !9  8		%hy&9:		 'u &		%hy&9:		  7 u 6 -   7 u 6 -  &C U B		%hy&9:		 ) ( =  %A E @U }  +M  % L		%hy&9:		 'u & '  1 E 0U w  'u & -  - ' 		%hy&9:		  7 u 6 -  !9  8		%hy&9:		 % 		%hy&9:		  7 u 6 -   7 u 6 -  &C U B		%hy&9:		 	5 E m  #= % <5 W  ) (		%hy&9:		 5 e 4		%hy&9:		 !
E  		%hy&9:		 - % ,		%hy&9:		 1 E 0		%hy&9:		r   