aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix long-lived thread name logging.Justin Clark-Casey (justincc)2014-09-261-1/+1
|
* Undo "Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-171-6/+7
| | | | | | | | threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects."" Fix for break in next commit This reverts commit 376fab140227e92dbd841436509a97b87c9e7792.
* Revert "Small changes to threading to send thread names to unmanaged ↵BlueWall2014-09-171-7/+6
| | | | | | | threads. Needs Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects." This reverts commit af286d5fcb688e8b64202b6deca4f249e9a2b6b8. Issue with Jenkins builds
* Small changes to threading to send thread names to unmanaged threads. Needs ↵BlueWall2014-09-171-6/+7
| | | | Mono 3.6+ to see thread names in utilities like top -H . Some formatting of the thread name to fin in the 16 byte limit on Linux. Please test on Windows to see if the work has any adverse effects.
* Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c ↵Justin Clark-Casey (justincc)2014-09-091-1/+1
| | | | char and not literal 'c'
* For stat names containing periods, replace with '#' rather than throw exceptionJustin Clark-Casey (justincc)2014-09-091-1/+2
| | | | In relation to http://opensimulator.org/mantis/view.php?id=7317
* For monitoring purposes, start non-timeout tasks (which do not currently use ↵Justin Clark-Casey (justincc)2014-09-051-11/+49
| | | | | | | a threadpool) via Watchdog.RunInThread() rather than Util.RunThreadNoTimeout() The functionality is the same but this allow us to monitor such tasks via "show threads" and abort them for test purposes, etc. Also extends thread names to provide more info (e.g. SendInitialDataToClient says what client the task is for).
* Add 'server' stats information to pCampbot, as used elsewhere in OpenSimulatorJustin Clark-Casey (justincc)2014-08-131-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.
* Revert "Write UDP statistics to the log, not just the console (e.g., "show ↵Justin Clark-Casey (justincc)2014-07-251-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.
* minor: Limit processor related stats to 3 decimal places instead of all the ↵Justin Clark-Casey (justincc)2014-07-211-4/+4
| | | | | | places. Easier to read and analyze, and probably still too much detail (1 dp would probably be fine)
* Fix CPU processor use reporting on Mono.Justin Clark-Casey (justincc)2014-07-211-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.
* Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz2014-07-211-31/+22
|
* Fix issue with running "stats record start|stop" console commandJustin Clark-Casey (justincc)2014-07-081-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")
* Change assembly versions to 0.8.1Justin Clark-Casey (justincc)2014-06-171-1/+1
|
* Add monitored thread last update times as stats in "show stats all"Justin Clark-Casey (justincc)2014-03-211-0/+26
| | | | These have the format server.thread.<thread-name>
* minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)2014-03-191-2/+10
|
* Rename "debug stats record" command to "stats record" for consistency. Move ↵Justin Clark-Casey (justincc)2014-03-191-3/+3
| | | | from debug to general command category
* Allow a snapshot of stats to be dumped to a file with a "stats save" commandJustin Clark-Casey (justincc)2014-03-191-3/+46
|
* Allow "show stats" console command to take a full stat name and display only ↵Justin Clark-Casey (justincc)2014-03-181-1/+23
| | | | | | that stat. For example, scene.test.RootAgents will show only the RootAgents stat in the scene named "test"
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-3/+3
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)2013-10-041-1/+1
|
* minor: Correct typo on "debug stats record start" messageJustin Clark-Casey (justincc)2013-08-231-1/+1
|
* minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)2013-08-171-1/+1
|
* Stats treaking. Update ToOSDMap for Stat and PercentageStat to returnRobert Adams2013-08-104-150/+235
| | | | | all the various numbers that have been added to the console output. Break out EventHistogram from CounterStat.
* Add parameter and explanation of ManagedStats return to OpenSimDefaults.ini.Robert Adams2013-08-081-0/+6
| | | | | Add 'callback' query parameter to managed stats return to return function form of JSON data.
* Add a JSON web fetch of the statististics managed by StatsManager.Robert Adams2013-08-081-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.
* Add file missing from last commit 4c2f6deJustin Clark-Casey (justincc)2013-08-061-0/+108
|
* Add the experimental ability to dump stats (result of command "show stats ↵Justin Clark-Casey (justincc)2013-08-061-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
* Add checks monitoring framework to provide alerts if certain conditions do ↵Justin Clark-Casey (justincc)2013-08-054-3/+384
| | | | | | not hold. Not yet in use.
* Make "abnormal thread terminations" into "ClientLogoutsDueToNoReceives" and ↵Justin Clark-Casey (justincc)2013-07-292-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.
* Correct issue where the last instance of a sampled stat was shown 3x larger ↵Justin Clark-Casey (justincc)2013-07-231-1/+2
| | | | than it should have been (though internal use was correct)
* Improve spacing between data and units on console stats displayJustin Clark-Casey (justincc)2013-07-231-3/+12
|
* For stats which can show average change over time, show the last sample as ↵Justin Clark-Casey (justincc)2013-07-231-1/+11
| | | | | | well as the average. This is somewhat cryptic at the moment, need to improve documentation.
* Add ToOSDMap() overrides to the Stat subclass CounterStat.Robert Adams2013-07-123-0/+88
| | | | | Add a GetStatsAsOSDMap method to StatsManager which allows the filtered fetching of stats for eventual returning over the internets.
* Change "ObjectMemory" stat to "HeapMemory" to align with other stat names. ↵Justin Clark-Casey (justincc)2013-06-201-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
* Allow more than one stat category to be specified in "show stats"Justin Clark-Casey (justincc)2013-06-201-30/+34
| | | | e.g. "show stats httpserver.9000 server.network"
* minor: Change "memory churn" terminology in statistics to "heap allocation ↵Justin Clark-Casey (justincc)2013-06-203-14/+14
| | | | rate" since this is more generally meaningful
* Fix minor bug where the check whether to display SmartThreadPool stats was ↵Justin Clark-Casey (justincc)2013-06-201-1/+1
| | | | | | accidentally != null rather than == FireAndForgetMethod.SmartThreadPool Due to another check this had no practical effect
* Make it possible to specify display of stats in a particular 'container' by ↵Justin Clark-Casey (justincc)2013-06-202-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.
* Display existing statistic of how many http requests a server is making as ↵Justin Clark-Casey (justincc)2013-06-192-4/+22
| | | | server.network.HTTPRequestsMade in "show stats all"
* minor: tidy up spacing if display a unit for additional stat informationJustin Clark-Casey (justincc)2013-06-181-1/+1
|
* Make number of inbound http requests handled available as a ↵Justin Clark-Casey (justincc)2013-06-181-1/+6
| | | | httpserver.<port>.IncomingHTTPRequestsProcessed stat
* Fix issue where stat samples were accidentally static, so that any ↵Justin Clark-Casey (justincc)2013-06-181-1/+1
| | | | additional stat with sampling would produce wrong results
* If SmartThreadPool is active, display statistical information about it in ↵Justin Clark-Casey (justincc)2013-06-181-2/+13
| | | | | | "show stats server" Also puts these and previous builtin threadpool stats in the "threadpool" stat container rather than "processor"
* Drop server level stats to debug instead of info.Justin Clark-Casey (justincc)2013-06-171-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.
* Add server stats for available builtin threadpool and iocp workersJustin Clark-Casey (justincc)2013-06-171-0/+16
|
* Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)2013-06-172-32/+349
| | | | | | simulator console This means the "show stats" command is now active on the robust console.
* For the moment, disable the output of the 'scene' statistics in ↵Robert Adams2013-03-191-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.
* Make StatsManager default output a little more readableRobert Adams2013-02-241-1/+1
|
* Add EventHistogram.GetHistogramAsOSDMap that returns that parametersRobert Adams2013-02-241-211/+228
| | | | about the histogram as well as the values.