Justin Clark-Casey
7e8bcd1ac9
update method doc of AddGroup on groups service connector as this no longer updates groups.
2014-07-31 01:22:29 +01:00
Justin Clark-Casey
fbc6895527
Remove groupID from add group command - we can't specify this yet and it's simply ignored by OpenSimulator.
2014-07-31 01:21:06 +01:00
Justin Clark-Casey
86257516e2
Move create-user.php to programs/users/create-user
2014-07-31 01:16:44 +01:00
Justin Clark-Casey
20753e5056
Add get user by name example program
2014-07-31 01:15:25 +01:00
Justin Clark-Casey
9235472879
Add first draft of add group example program
2014-07-31 01:14:13 +01:00
Justin Clark-Casey
2d312a3dff
Make connectors return response data where they weren't doing this.
2014-07-30 22:59:08 +01:00
Justin Clark-Casey
0a54fb4fac
Add get-group.php example
2014-07-30 20:56:06 +01:00
Justin Clark-Casey
c6263675f5
Add example and connector code for retrieving a region by name from the grid service.
2014-07-30 01:13:03 +01:00
Justin Clark-Casey
258ee94c23
add get-region-by-uuid example program
2014-07-30 01:07:23 +01:00
Justin Clark-Casey
d54d8bbb08
In create-user.php, exit with code 1 if arg parsing fails rather than continuing
2014-07-30 00:36:02 +01:00
Justin Clark-Casey
a442fc801a
Add example program for get region flags call and necessary connector code
2014-07-30 00:35:30 +01:00
Justin Clark-Casey
31830fedea
Add get_regions.php example program that gets information on all the regions in a grid.
...
Also adds necessary grid service connector
2014-07-30 00:11:36 +01:00
Justin Clark-Casey
c3aa6d8082
minor: put method doc inside the methods python-style, not outside like c#/java style
2014-07-24 23:46:41 +01:00
Justin Clark-Casey
ce7cfc9687
Make --select a required argument, though argparse still reports this as an optional arg in help
2014-07-22 17:22:09 +01:00
Justin Clark-Casey
cc4e7a3b4c
Require at least one stats file in ostasum.py
2014-07-22 17:10:10 +01:00
Justin Clark-Casey
9a334c23f8
forgot one index of using 1-index instead of 0
2014-07-17 21:50:28 +01:00
Justin Clark-Casey
b074dc1d24
use zero index for arbitrary first stat in OSimSatsHelper.sumStats()
2014-07-17 21:48:39 +01:00
Justin Clark-Casey
732ccba4fe
make y label unit type
2014-07-17 21:33:01 +01:00
Justin Clark-Casey
41f1044d22
add --type='delta' option in ostagraph.py to graph delta values rather than abs
2014-07-17 21:31:12 +01:00
Justin Clark-Casey
78d122d53c
implement --action=sum for ostasum.py
2014-07-17 21:15:58 +01:00
Justin Clark-Casey
f41626bb53
refactor: make osatsum.py use corpus.getStats() rather than filtering the by stat name itself
...
This commit also allows ostasum.py to load more than one stats log and taken an --action=sum, though this is not yet implemented
2014-07-17 20:48:46 +01:00
Justin Clark-Casey
cb60558fdd
factor out sum action code into function for ostagraph.py
2014-07-17 20:36:52 +01:00
Justin Clark-Casey
20e8d19d70
Implement --action=sum option that will sum selected stats
2014-07-17 20:27:58 +01:00
Justin Clark-Casey
eb9beb093e
Add incompletely readme for opensim-sats-analyzer
2014-07-17 20:07:34 +01:00
Justin Clark-Casey
de660fc06b
Add legend to generated graph with container name (unfortunately this will not always be corrected)
...
Also order dictionaries
2014-07-17 20:04:32 +01:00
Justin Clark-Casey
1783cb60c7
minor: simplify analysis readme line
2014-07-17 01:23:10 +01:00
Justin Clark-Casey
3db4f63caa
minor: add method doc to OSimStatsCorpus.clear()
2014-07-17 00:46:06 +01:00
Justin Clark-Casey
fc6159322a
On second thoughts, make parse always merge with existing data
...
Add separate clear() instead if this is required.
2014-07-17 00:45:18 +01:00
Justin Clark-Casey
4e3c20f101
directly change data and sample counts on reparsing, so that implementing merge parse is a bit easier
2014-07-17 00:42:22 +01:00
Justin Clark-Casey
3f56fca4ec
add len parameter to OSimStatsCorpus to return number of samples
2014-07-17 00:38:06 +01:00
Justin Clark-Casey
b9139b4637
refactor: rename Osta class to OSimStatsCorpus to make a bit more sense
2014-07-17 00:25:12 +01:00
Justin Clark-Casey
fedff2e76d
Make x axis label samples for now, though eventually should have a date option
2014-07-17 00:21:09 +01:00
Justin Clark-Casey
99dc3d534c
Make graph title full name and y axis stat name
2014-07-17 00:20:34 +01:00
Justin Clark-Casey
2a73a841a9
refactor: move code to get a stat given its full name into osta class
2014-07-17 00:04:32 +01:00
Justin Clark-Casey
6c5878989e
Move data fetch from Osta to separate method because we want to try and avoid doing this where possible
2014-07-16 23:59:32 +01:00
Justin Clark-Casey
9483b09f0e
refactor: make osta a class one has to instance instead of just a static method class
2014-07-16 23:53:55 +01:00
Justin Clark-Casey
8715e112a8
Add --out option to generate graph at specific location instead of interactive display
2014-07-16 23:50:32 +01:00
Justin Clark-Casey
9d345d8ea7
Add ostagraph.py that will produce a simple line chart for a selected stat.
...
Relies on matplotlib.
No times on y axis yet
2014-07-16 23:25:43 +01:00
Justin Clark-Casey
35d1d2d72d
rename osta-sum -> ostasum to stop aptana pydev from complaining about invalid module name
2014-07-16 22:56:17 +01:00
Justin Clark-Casey
7eb9755447
refactor: break up analysis part into separate osta package
2014-07-16 22:55:23 +01:00
Justin Clark-Casey
98dfcb0690
Add the ability to select which stats appear in the summary using the --select command line option
2014-07-16 19:53:19 +01:00
Justin Clark-Casey
15118bd971
refactor: restructure data so that we store in different dicts for category, container and stat
2014-07-16 19:11:58 +01:00
Justin Clark-Casey
9c92aa9cb4
add units into summary display
2014-07-16 18:32:44 +01:00
Justin Clark-Casey
3ab5ace49b
refactor: place value parsing code in function
2014-07-16 18:17:08 +01:00
Justin Clark-Casey
54937d340a
minor: add comment about data structure
2014-07-16 18:12:59 +01:00
Justin Clark-Casey
625ec07894
refactor: eliminate redundant delta check and remove older commented out check mechanisms
2014-07-16 18:11:44 +01:00
Justin Clark-Casey
d34e2d683e
refactor: put abs and delta back into same data structure
2014-07-16 18:10:38 +01:00
Justin Clark-Casey
fd1a3c2977
Always print out absolute values but also print out deltas where available
...
This is because with some change over time stats, absolute value is useful (i.e. packetInbox) whereas on others it isn't, very (HTTPRequestsMade)
Need to clean up this shoddy code, only committing because at least it works and it's late at night,
Also need to add in unit names to output where applicable
2014-07-16 02:13:17 +01:00
Justin Clark-Casey
17ef68b9d9
For change over time stats, capture the change over time rather than the absolute value as that's the one we're actually interested in.
2014-07-16 01:03:04 +01:00
Justin Clark-Casey
49494e387f
remove rogue chomp that was breaking the script
...
should have been strip() and isn't necessary anyway
2014-07-16 00:53:07 +01:00