vmware-archive / haret

A strongly consistent distributed coordination system, built using proven protocols & implemented in Rust.
461 stars 18 forks source link

Add support for getting metrics from a pid #87

Closed andrewjstone closed 7 years ago

andrewjstone commented 7 years ago

Using haret-admin, users can now use the command metrics <Pid> to retrieve metrics from a process or service running at that pid. Currently, only the executor and cluster_server in rabble return metrics. They need to be added to other processes such as the namespace manager and VR replicas.

Metric requests to pids that don't serve metrics will get a timeout message after 5 seconds. This is not optimal, but I haven't decided what to do about it yet.