mirror of
https://github.com/ansible/awx.git
synced 2026-02-16 10:40:01 -03:30
terminal graph of job status changes
* Visualize how jobs go from pending, waiting, running over time
This commit is contained in:
@@ -98,3 +98,29 @@ sdb-listen
|
||||
|
||||
This will open a Python process that listens for new debugger sessions and
|
||||
automatically connects to them for you.
|
||||
|
||||
Graph Jobs
|
||||
----------
|
||||
The `awx-manage graph_jobs` can be used to visualize how Jobs progress from
|
||||
pending to waiting to running.
|
||||
|
||||
```
|
||||
awx-manage graph_jobs --help
|
||||
usage: awx-manage graph_jobs [-h] [--refresh REFRESH] [--width WIDTH]
|
||||
[--height HEIGHT] [--version] [-v {0,1,2,3}]
|
||||
[--settings SETTINGS] [--pythonpath PYTHONPATH]
|
||||
[--traceback] [--no-color] [--force-color]
|
||||
|
||||
Plot pending, waiting, running jobs over time on the terminal
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
--refresh REFRESH Time between refreshes of the graph and data in
|
||||
seconds (defaults to 1.0)
|
||||
--width WIDTH Width of the graph (defaults to 100)
|
||||
--height HEIGHT Height of the graph (defaults to 30)
|
||||
```
|
||||
|
||||
Below is an example run with 200 Jobs flowing through the system.
|
||||
|
||||
[](https://asciinema.org/a/xnfzMQ30xWPdhwORiISz0wcEw)
|
||||
|
||||
21
docs/licenses/asciichartpy.txt
Normal file
21
docs/licenses/asciichartpy.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright © 2016 Igor Kroitor
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Reference in New Issue
Block a user