Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@rohankmr414 rohankmr414 released this 10 Jan 20:47
  • Initial release of the sigdump package
  • Features:
    • Handles the signal specified by the SIGDUMP_SIGNAL environment variable, defaults to SIGCONT
    • Writes a runtime stack trace and memory profile to the file specified by the SIGDUMP_PATH environment variable
    • If SIGDUMP_PATH is not set, the default file is /tmp/sigdump-.log
    • If the value of SIGDUMP_PATH is - the stack trace is written to the stdout
    • If the value of SIGDUMP_PATH is + the stack trace is written to the stderr
    • If SIGDUMP_SIGNAL is invalid, it will print an error message

This package is intended to be a golang alternative to fluent/sigdump gem for Ruby.