aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-13Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)1-0/+3
This adds the "show stats", "stats record", etc. commands and information on available Threadpool threads, etc. It also adds the Watchdog which logs warnings if time between executions is unexpectedly large.
2014-07-25Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)1-22/+31
queues")" Fixes http://opensimulator.org/mantis/view.php?id=7280 It can't be done this way because the stats data needs to show up on the console at all log levels, not just debug. But this means setting it to log at fatal, which is not appropriate for this stuff in the log. I understand the desire but this has to be done some other way, perhaps by (yet another) config parameter. Also, this was already being done with the ClientStatsReport but that also should be done in another way, I think. This reverts commit 5d534127663899cd5592c865b1d00855fce25854.
2014-07-21minor: Limit processor related stats to 3 decimal places instead of all the ↵Justin Clark-Casey (justincc)1-4/+4
places. Easier to read and analyze, and probably still too much detail (1 dp would probably be fine)
2014-07-21Fix CPU processor use reporting on Mono.Justin Clark-Casey (justincc)1-10/+4
Despite the comments in the code, it appears that the issue where the .NET performance counter was wrongly idle time time on Mono was fixed in 2009. https://bugzilla.novell.com/show_bug.cgi?id=468625 Which means that the workaround is no longer necessary and produces bad results instead.
2014-07-21Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz1-31/+22
2014-07-08Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)1-4/+4
In commit e6080a38 (Wed Mar 19 00:29:36 2014) I renamed this from "debug stats record start|stop" Unfortunately, I didn't do this fully so before this commit "stats record start|stop" will report a usage failure with the old debug text. Unfortunately this is in the 0.8 release. The workaround is to repeat the last command twice (e.g. "stats record start start")
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-03-21Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)1-0/+26
These have the format server.thread.<thread-name>
2014-03-19minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)1-2/+10
2014-03-19Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)1-3/+3
from debug to general command category
2014-03-19Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)1-3/+46
2014-03-18Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)1-1/+23
that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-3/+3
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-08-23minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)1-1/+1
2013-08-17minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)1-1/+1
2013-08-10Stats treaking. Update ToOSDMap for Stat and PercentageStat to returnRobert Adams4-150/+235
all the various numbers that have been added to the console output. Break out EventHistogram from CounterStat.
2013-08-08Add parameter and explanation of ManagedStats return to OpenSimDefaults.ini.Robert Adams1-0/+6
Add 'callback' query parameter to managed stats return to return function form of JSON data.
2013-08-08Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams1-0/+31
Disabled by default. Enable by setting [Startup]ManagedStatsRemoteFetchURI="Something" and thereafter "http://ServerHTTPPort/Something/" will return all the managed stats (equivilent to "show stats all" console command). Accepts queries "cat=", "cont=" and "stat=" to specify statistic category, container and statistic names. The special name "all" is the default and returns all values in that group.
2013-08-06Add file missing from last commit 4c2f6deJustin Clark-Casey (justincc)1-0/+108
2013-08-06Add the experimental ability to dump stats (result of command "show stats ↵Justin Clark-Casey (justincc)1-12/+40
all") to file OpenSimStats.log every 5 seconds. This can currently only be activated with the console command "debug stats record start". Off by default. Records to file OpenSimStats.log for simulator and RobustStats.log for ROBUST
2013-08-05Add checks monitoring framework to provide alerts if certain conditions do ↵Justin Clark-Casey (justincc)4-3/+384
not hold. Not yet in use.
2013-07-29Make "abnormal thread terminations" into "ClientLogoutsDueToNoReceives" and ↵Justin Clark-Casey (justincc)2-22/+68
add this to the StatsManager This reflects the actual use of this stat - it hasn't recorded general exceptions for some time. Make the sim extra stats collector draw the data from the stats manager rather than maintaing this data itself.
2013-07-23Correct issue where the last instance of a sampled stat was shown 3x larger ↵Justin Clark-Casey (justincc)1-1/+2
than it should have been (though internal use was correct)
2013-07-23Improve spacing between data and units on console stats displayJustin Clark-Casey (justincc)1-3/+12
2013-07-23For stats which can show average change over time, show the last sample as ↵Justin Clark-Casey (justincc)1-1/+11
well as the average. This is somewhat cryptic at the moment, need to improve documentation.
2013-07-12Add ToOSDMap() overrides to the Stat subclass CounterStat.Robert Adams3-0/+88
Add a GetStatsAsOSDMap method to StatsManager which allows the filtered fetching of stats for eventual returning over the internets.
2013-06-20Change "ObjectMemory" stat to "HeapMemory" to align with other stat names. ↵Justin Clark-Casey (justincc)1-3/+3
Also round this and ProcessMemory to three decimal places in common with other memory stats. I believe leaving out such minor info makes stats easier to read
2013-06-20Allow more than one stat category to be specified in "show stats"Justin Clark-Casey (justincc)1-30/+34
e.g. "show stats httpserver.9000 server.network"
2013-06-20minor: Change "memory churn" terminology in statistics to "heap allocation ↵Justin Clark-Casey (justincc)3-14/+14
rate" since this is more generally meaningful
2013-06-20Fix minor bug where the check whether to display SmartThreadPool stats was ↵Justin Clark-Casey (justincc)1-1/+1
accidentally != null rather than == FireAndForgetMethod.SmartThreadPool Due to another check this had no practical effect
2013-06-20Make it possible to specify display of stats in a particular 'container' by ↵Justin Clark-Casey (justincc)2-3/+17
separating category and container with a period. e.g. "show stats server.network" I failed to realize this had already been implemented without the period in the show stats command (as the command help had not been updated). However, I would prefer the . approach as it will allow specifying multiple stats, easier wildcarding, etc. This commit also prevents any stat from having a period in its short name.
2013-06-19Display existing statistic of how many http requests a server is making as ↵Justin Clark-Casey (justincc)2-4/+22
server.network.HTTPRequestsMade in "show stats all"
2013-06-18minor: tidy up spacing if display a unit for additional stat informationJustin Clark-Casey (justincc)1-1/+1
2013-06-18Make number of inbound http requests handled available as a ↵Justin Clark-Casey (justincc)1-1/+6
httpserver.<port>.IncomingHTTPRequestsProcessed stat
2013-06-18Fix issue where stat samples were accidentally static, so that any ↵Justin Clark-Casey (justincc)1-1/+1
additional stat with sampling would produce wrong results
2013-06-18If SmartThreadPool is active, display statistical information about it in ↵Justin Clark-Casey (justincc)1-2/+13
"show stats server" Also puts these and previous builtin threadpool stats in the "threadpool" stat container rather than "processor"
2013-06-17Drop server level stats to debug instead of info.Justin Clark-Casey (justincc)1-1/+1
This was the original intention with these stats, as I didn't believe they would be useful to ordinary users if everything is working as it should. Please amend if this is an issue. Just for now, levels actually have no impact on what is displayed via the "show stats" command.
2013-06-17Add server stats for available builtin threadpool and iocp workersJustin Clark-Casey (justincc)1-0/+16
2013-06-17Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)2-32/+349
simulator console This means the "show stats" command is now active on the robust console.
2013-03-19For the moment, disable the output of the 'scene' statistics in ↵Robert Adams1-1/+3
SimExtraStatsCollector and thus for the command 'show stats' because it is ugly and most of the information is already output in the formatted printout that appears before.
2013-02-24Make StatsManager default output a little more readableRobert Adams1-1/+1
2013-02-24Add EventHistogram.GetHistogramAsOSDMap that returns that parametersRobert Adams1-211/+228
about the histogram as well as the values.
2013-02-24Modify StatsManager so console command "show stats category container"Robert Adams1-5/+24
only outputs the statistics in the specified container in the category.
2013-02-21Add a virtual ToOSDMap() function to Monitoring.Stat for futureRobert Adams1-0/+16
overloading by aggregation statistics and browser based stat viewers.
2013-02-21Add CounterStat which is a wrapper for a counter stat but, becauseRobert Adams2-1/+218
the 'count' event is internal, historical data can be built it. Also includes EventHistogram class for building time based, bucketed history of event occurances. Make Stat implement IDisposable for subclasses that might need it.
2013-02-20Add a method to IStatsCollector for returning stats as an OSDMap.Robert Adams5-4/+77
Extend implementors of IStatsCollector to return an OSDMap of stats. Update UserStatsCollector and AssetStatsCollector to return both string and OSDMap data (as well as console format).
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-14Use SortedDictionary in StatsManager instead of regular Dictionary so stats ↵Dan Lake2-22/+22
will interate and print in a defined order
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)1-1/+1
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.