Skip to content
/ realmon Public

Enable services to report their status and runtime via UDP multicasts

Notifications You must be signed in to change notification settings

a13x/realmon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real Monitoring

Instead of actively monitoring your service instances, why not letting them "phone home" instead, giving you all the metrics you really need, in real time.

Realmon uses UDP multicasts to "phone home", which includes runtime information about the system its running on. The frequency of phoning home is controlled by frequency parameter of the RealMon class.

How it works?

When service is started and RealMon wired in, it will starts multicasting with a specified frequency. The timeout parameter specifies what's acceptable time for a service not to phone home. This can be tied with some monitoring hooks like sending alerts if a timeout is reached and service hasn't phone in.

Usage

See test_client.py on how to run realmon as part of your python service.

Visualisation

See gathersvc.go, a simple Golang program that collects UDP multicasts and streams it via SSE to a browser.

TODO

Make visualisation bit prettier :)

About

Enable services to report their status and runtime via UDP multicasts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published