You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.
To help debugging any performance issues, cloudprober should export its runtime stats:
No of gorotuines (runtime.NumGoroutine()) - gauge
Fraction of time spent in GC (runtime.ReadMemStats - reflect.MemStats.GCCPUFraction) - counter
Number of allocs and frees (runtime.Mallocs, runtime.Frees) - counter
Overall CPU and memory usage of cloudprober. Memory usage can be obtained from runtime.MemStats.Sys (gauge). CPU usage will require us to parse /proc/self/stat and it will be Linux specific.
We can extend sysvar module and add another file that includes utilities to do all this.
The text was updated successfully, but these errors were encountered:
Heap/Garbage collection related:
gc_time_msec -- Time spent in GC (counter)
mallocs -- Number of mallocs so far (counter)
frees - Number of frees so far (counter)
Others:
cpu_usage_msec -- cpu usage (counter)
goroutines -- number of goroutines at the moment (gauge)
mem_stats_sys_bytes - System memory allocated in bytes (gauge)
uptime_msec - uptime (counter)
To help debugging any performance issues, cloudprober should export its runtime stats:
We can extend sysvar module and add another file that includes utilities to do all this.
The text was updated successfully, but these errors were encountered: