-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a query for the destination-tool-queue-run-time
A query to calculat queue and run time statistics grouped by destination_id and tool_id. Aim is to use this in conjunction with TPV.
- Loading branch information
pauldg
committed
Apr 15, 2024
1 parent
0d93537
commit dd18a17
Showing
4 changed files
with
371 additions
and
227 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
Oops, something went wrong.