GitXplorerGitXplorer
D

profiletrigger

public
15 stars
3 forks
1 issues

Commits

List of commits on branch master.
Unverified
3fc6b4ea613c05d6c3b0de46b001a4349fb36add

clearer threshold name and code

DDieterbe committed 4 years ago
Verified
325f3aa8cba43aa8ab4c851101361513c1e35de4

Merge pull request #3 from gouthamve/move-to-rss-alloc

DDieterbe committed 6 years ago
Unverified
bc13796ac4d35164d94d442bc53a7e92f8dfc901

channel does not need to be exported

DDieterbe committed 6 years ago
Unverified
4d2c6df70dea2c429b63adfb75bd7551509fc6d5

don't create procFS if no RSS threshold

DDieterbe committed 6 years ago
Unverified
9c0947d8539a12dde05113c27633df8022b4aae6

clean up and fixes

DDieterbe committed 6 years ago
Unverified
b8fda8299869ee8bb8d378486bee4fd1c5024e4b

copy the bit of the procfs code that we need

DDieterbe committed 6 years ago

README

The README file for this repository.

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.