Add stdgraphs.json, which is the set of batch commands I currently use to generate a standard set of graphs from stats logs for the OSCC 2014 load tests.

Also improves README to at least give some hint to show how to use this.
This commit is contained in:
Justin Clark-Casey
2014-09-03 20:52:46 +01:00
parent e1e4d30cc1
commit 8e5e5e050c
2 changed files with 118 additions and 0 deletions
@@ -2,6 +2,19 @@
OpenSimulator stats analyzer is a set of tools to analyze data from OpenSimulator stats logs [OPENSIM-STATS-LOGS].
ostagraph.py is capable of accepting options from the command line from one off generation or from a batch file for
generation of a set of graphs at once.
All this needs much more documentation, but you can see an example batch generation file as batch/stdgraphs.json that
will produce a set of standard graphs for a simulator input fileset.
This can be trigged by a shell command such as
$ ./ostagraphs.py --batch batch/stdgraphs.json --outdir graphs data/oscc/2014-09-02/logs/*.log
where outdir is the directory to place the generated graphs and the last argument is the place to find the stats log
files to use in graph generation.
# Requirements #
* Python >= 2.7
@@ -0,0 +1,105 @@
{
"graphs": [
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "*CPU*",
"out" : "cpu.png"
},
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "server.processor.Threads",
"out" : "threads.png"
},
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "*BuiltinThreadpoolWorkerThreadsAvailable",
"out" : "builtin-threadpool-worker-threads-available-count.png"
},
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "*BuiltinThreadpoolIOCPThreadsAvailable",
"out" : "builtin-threadpool-iocp-threads-available-count.png"
},
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "*STPInUseThreads",
"out" : "stp-in-use-threads.png"
},
{
"sets" : "keynote-01-OpenSim.logStats",
"select" : "*STPWorkItemsWaiting",
"out" : "stp-work-items-waiting.png"
},
{
"select" : "*RootAgents",
"action" : "sum",
"out" : "rootagents.png"
},
{
"select" : "*RootAgents",
"out" : "rootagents-per-region.png"
},
{
"select" : "*FrameTime",
"out" : "frame-time.png"
},
{
"select" : "*AgentTime",
"out" : "agent-time.png"
},
{
"select" : "*PhysicsTime",
"out" : "physics-time.png"
},
{
"select" : "*OtherTime",
"out" : "other-time.png"
},
{
"select" : "*AgentUpdates",
"out" : "agent-update-per-region.png"
},
{
"select" : "*AgentUpdates",
"action" : "sum",
"out" : "total-agent-updates.png"
},
{
"select" : "*IncomingUDPReceivesCount",
"out" : "incoming-udp-receives.png"
},
{
"select" : "*IncomingPacketsResentCount",
"out" : "incoming-resent-count.png"
},
{
"select" : "*InboxPacketsCount",
"out" : "inbox-packets-count.png"
},
{
"select" : "*OutgoingUDPSendsCount",
"out" : "outgoing-udp-sends-count.png"
},
{
"select" : "*OutgoingUDPSendsCount",
"out" : "outgoing-udp-sends-count.png"
},
{
"select" : "*OutgoingPacketsResentCount",
"out" : "outgoing-resent-count.png"
},
{
"select" : "*HTTPRequestsServed",
"out" : "http-requests-served-count.png"
},
{
"select" : "*HTTPRequestsMade",
"out" : "http-requests-made-count.png"
},
{
"select" : "inventory*RequestsMade",
"out" : "inventory-http-requests-out-count.png"
}
]
}