Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: rohankmr414/sigdump

v1.0.0

10 Jan 20:47

Choose a tag to compare

  • 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.