System heartbeat beacons

A system heartbeat beacon includes health statistics of the encoding system overall but excludes any specific concerns at a stream or variant level.

The following is an example curl request for the heartbeat beacon:


curl -d --data "beacon_type=encoder:heartbeat:system&encoder_id=e007&encoder_ip=192.168.2.20&time=1456445060&cpu_load=60&cpu_clock=2200&gpu_load=70&gpu_clock=1500&memory_load=65&running_since=1456445060"  http://akamai-host-xyz.net

The parameters: beacon_type, encoder_id, encoder_ip and time are mandatory. Other parameters are recommended.

System hearbeat beacon parameters
Parameters Description Example Value
beacon_type Type of the beacon. It must be encoder:heartbeat:system for all the heartbeat beacons that contain system information. encoder:heartbeat:system
encoder_id Unique identifier for the encoder that is provided by Akamai. It should be constant for all the beacons generated from the same encoder. e007
encoder_ip IP address of the encoder. 192.168.2.20
time Represents the time when beacon is generated (epoch). 1456445060
cpu_load The CPU load percentage averaged over the heartbeat beacon period. It should be measured and reported as a percentage ratio. 60
cpu_clock Represents CPU clock cycle in MHz. 2200
gpu_load GPU load percentage averaged over the heartbeat beacon period. It should be measured and reported as a percentage ratio. 70
gpu_clock Represents the GPU clock cycle; in MHz. 1500
memory_load Memory load percentage averaged over the heartbeat beacon period. It should be measured and reported as a percentage ratio. 65
running_since Time when the encoder last (re)started in epoch. 1456445030

The following is an example of the system heartbeat beacon:


beacon_type=encoder:heartbeat:system&
encoder_id=e007&
encoder_ip=192.168.2.20&
time=1456445060&
cpu_load=60&
cpu_clock=2200&
gpu_load=70&
gpu_clock=1500&
memory_load=65&
running_since=1456445030