Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Goroutine stack inspector to admin/monitor #19207

Merged
merged 37 commits into from
Mar 31, 2022

Commits on Mar 25, 2022

  1. Add stacktrace view to monitor page

    Using the pprof labels we can now add a stacktrace which can show these
    labels and name go-routines by the labels if there is a description set.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    82b0993 View commit details
    Browse the repository at this point in the history
  2. Add more process descriptors to goroutines

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    a08537a View commit details
    Browse the repository at this point in the history
  3. Reformat stacktraces to keep with processes

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    1804e52 View commit details
    Browse the repository at this point in the history
  4. adjust label for the unbound goroutines

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    0807c24 View commit details
    Browse the repository at this point in the history
  5. small fixes

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    db2a09d View commit details
    Browse the repository at this point in the history
  6. Allow for non-currently running process contexts to be created

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    3b759d9 View commit details
    Browse the repository at this point in the history
  7. make loggers subprocesses

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    2edb985 View commit details
    Browse the repository at this point in the history
  8. Add process and labels for issueindexer

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    b761956 View commit details
    Browse the repository at this point in the history
  9. Make queues appear as processes and label their goroutines too

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    8775a03 View commit details
    Browse the repository at this point in the history
  10. Add some common prefixes

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    ff2f5a0 View commit details
    Browse the repository at this point in the history
  11. Add web processes

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    9fd39d3 View commit details
    Browse the repository at this point in the history
  12. label cron, code and issues indexers

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    b388c38 View commit details
    Browse the repository at this point in the history
  13. Ensure NoSQLDB goroutines are associated properly

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    f39554c View commit details
    Browse the repository at this point in the history
  14. placate lint

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    df11f4c View commit details
    Browse the repository at this point in the history
  15. placate lint again

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 25, 2022
    Configuration menu
    Copy the full SHA
    7eebec7 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2022

  1. Add manager command to list processes

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 26, 2022
    Configuration menu
    Copy the full SHA
    5b35caa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9a8aa2 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2022

  1. Configuration menu
    Copy the full SHA
    1ec90b8 View commit details
    Browse the repository at this point in the history
  2. add cancellation and docs

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    08742e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce5f000 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8df8a11 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Apply suggestions from code review

    Co-authored-by: Gusted <williamzijl7@hotmail.com>
    zeripath and Gusted authored Mar 28, 2022
    Configuration menu
    Copy the full SHA
    e909ffc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e1040b View commit details
    Browse the repository at this point in the history
  3. add comments and clean up processes a bit

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    212cc33 View commit details
    Browse the repository at this point in the history
  4. placate lint

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    46bcb45 View commit details
    Browse the repository at this point in the history
  5. further adjustments

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    b9f8d51 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    391b721 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    7ba6118 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0567b0 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Configuration menu
    Copy the full SHA
    e87bd47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca5536a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4de8423 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Configuration menu
    Copy the full SHA
    eb7ae88 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into pprof-labels-stacks

    # Conflicts:
    #	modules/process/manager.go
    wxiaoguang committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    a75b8c8 View commit details
    Browse the repository at this point in the history
  3. fix merge

    wxiaoguang committed Mar 31, 2022
    Configuration menu
    Copy the full SHA
    4daf8ca View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf501f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80a97dc View commit details
    Browse the repository at this point in the history