Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 717 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 717 Bytes

Go Report Card GoDoc

automatically trigger a profile in your golang (go) application when a condition is matched.

currently implemented:

  • when process is using certain number of bytes of RAM, save a heap (memory) profile
  • when process cpu usage reaches a certain percentage, save a cpu profile.

demo

see the included cpudemo and heapdemo programs, which gradually add more and cpu and heap utilisation, to show the profiletrigger kicking in.