Skip to content

Commit

Permalink
Merge pull request #155 from pauldg/destination-run-time
Browse files Browse the repository at this point in the history
Add a query for the destination-tool-queue-run-time
  • Loading branch information
hexylena authored Apr 16, 2024
2 parents 54dc164 + 46772c5 commit 924f8b7
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 227 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- query monthly-jobs-by-new-multiday-users @afgane
- query users-engaged-multiday @afgane
- query monthly-jobs-by-new-users @afgane
- query destination-queue-run-time: queue- and run time statistics by tool and destination from @pauldg
- Updated:
- query monthly-cpu-stats to add --nb_users --filter_email by @lldelisle
- query monthly-users-active to add YYYY-MM parameter @afgane
Expand Down
39 changes: 39 additions & 0 deletions docs/README.gunicorn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# gunicorn

Command | Description
------- | -----------
[`gunicorn active-users`](#gunicorn-active-users) | Shows active users in last 10 minutes
[`gunicorn lastlog`](#gunicorn-lastlog) | Fetch the number of seconds since the last log message was written

## gunicorn active-users

([*source*](https://github.com/galaxyproject/gxadmin/search?q=gunicorn_active-users&type=Code))
gunicorn active-users - Shows active users in last 10 minutes

**SYNOPSIS**

gxadmin gunicorn active-users

**NOTES**

See unique sorts IP adresses from 'GET /history/current_history_json' from last 10 minutes and prints it in influx line format


## gunicorn lastlog

([*source*](https://github.com/galaxyproject/gxadmin/search?q=gunicorn_lastlog&type=Code))
gunicorn lastlog - Fetch the number of seconds since the last log message was written

**SYNOPSIS**

gxadmin gunicorn lastlog

**NOTES**

Lets you know if any of your workers or handlers have maybe stopped processing jobs.

$ gxadmin gunicorn lastlog
journalctl.lastlog,service=galaxy-gunicorn@0 seconds=0
journalctl.lastlog,service=galaxy-gunicorn@1 seconds=0
journalctl.lastlog,service=galaxy-gunicorn@2 seconds=2866

Loading

0 comments on commit 924f8b7

Please sign in to comment.