heartbeats π
now the lil bro (agent) can send heartbeats!
wow so i am new to go and just discovering the beautiful package based folder structure, makes a lot of sense!
so i made a function to send api request to, a function to construct heartbeat by getting system info and UUID is passed from GetConfig() function, and a function to get sys info which includes hostname, os name, and kernel version
at first i thought of adding os version instead but getting os version was kinda a pain so i just switched it to kernel version, might add os version later
image 1: heartbeats being sent
image 2: data from postgres, you can see the registered_at vs last_seen (which gets updated from heartbeats)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.