Skip to content

Instantly share code, notes, and snippets.

@IPvSean
Created November 26, 2019 19:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IPvSean/3bbfd0cb86f25e878d320ddd9625d050 to your computer and use it in GitHub Desktop.
Save IPvSean/3bbfd0cb86f25e878d320ddd9625d050 to your computer and use it in GitHub Desktop.
job_instance_counts.json file created for Automation Analytics using the awx-manage gather_analytics command on Ansible Tower
[ec2-user@ansible my_data]$ cat job_instance_counts.json | python -m json.tool
{
"": {
"launch_type": {
"manual": 29,
"relaunch": 3,
"scheduled": 277,
"workflow": 12
},
"status": {
"canceled": 5,
"failed": 48,
"successful": 268
}
},
"localhost": {
"launch_type": {
"dependency": 3628,
"manual": 770,
"relaunch": 3,
"scheduled": 1009,
"scm": 6,
"workflow": 1336
},
"status": {
"canceled": 2,
"failed": 60,
"successful": 6690
}
}
}
@IPvSean
Copy link
Author

IPvSean commented Nov 26, 2019

at some point on my test infrastructure Ansible Tower, my instance must have been blanked out (as in "") so it had no name (when it should have been localhost to match here. That is why it shows up as two instances. You can see your node instances names under "Instance Groups" and then clicking "instances" button at the top of the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment