Sha256: 6ee79da3c87d28b92f15b8073dfe1c02d1348f23c3bd3ed2c4d6216f4fda0d36
Contents?: true
Size: 1.15 KB
Versions: 2
Compression:
Stored size: 1.15 KB
Contents
# encoding: UTF-8 module RocketJob # Heartbeat # # Information from the server as at it's last heartbeat class Heartbeat include Plugins::Document # Time of the last heartbeat received from this server field :updated_at, type: Time # Number of threads running as at the last heartbeat interval field :active_threads, type: Integer # Number of threads in the pool # This number should grow and shrink between 1 and :max_workers field :current_threads, type: Integer # # Process Information. Future. # # Percentage utilization for the server process alone #field :process_cpu, type: Integer # Kilo Bytes used by the server process (Virtual & Physical) #field :process_mem_phys_kb, type: Integer #field :process_mem_virt_kb, type: Integer # # System Information. Future. # # Percentage utilization for the host machine #field :host_cpu, type: Integer # Kilo Bytes Available on the host machine (Physical) #field :host_mem_avail_phys_kbytes, type: Float #field :host_mem_avail_virt_kbytes, type: Float # If available #field :load_average, type: Float end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rocketjob-3.0.0.beta | lib/rocket_job/heartbeat.rb |
rocketjob-3.0.0.alpha | lib/rocket_job/heartbeat.rb |