aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Monitoring/StatsManager.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix cut-and-paste error that made StatsManager web fetch queriesRobert Adams2015-01-011-1/+1
| | | | fail for container specification.
* 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.
* Write UDP statistics to the log, not just the console (e.g., "show queues")Oren Hurvitz2014-07-211-31/+22
|
* minor: Make "stats show" an alias for "show stats" command.Justin Clark-Casey (justincc)2014-03-191-2/+10
|
* 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"
* minor: remove mono compiler warning in StatsManagerJustin Clark-Casey (justincc)2013-08-171-1/+1
|
* 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 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-051-3/+3
| | | | | | not hold. Not yet in use.
* Make "abnormal thread terminations" into "ClientLogoutsDueToNoReceives" and ↵Justin Clark-Casey (justincc)2013-07-291-5/+60
| | | | | | | 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.
* Add ToOSDMap() overrides to the Stat subclass CounterStat.Robert Adams2013-07-121-0/+66
| | | | | Add a GetStatsAsOSDMap method to StatsManager which allows the filtered fetching of stats for eventual returning over the internets.
* 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"
* Make it possible to specify display of stats in a particular 'container' by ↵Justin Clark-Casey (justincc)2013-06-201-3/+9
| | | | | | | | | 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.
* Make general server stats available on the robust console as well as the ↵Justin Clark-Casey (justincc)2013-06-171-32/+40
| | | | | | simulator console This means the "show stats" command is now active on the robust console.
* Modify StatsManager so console command "show stats category container"Robert Adams2013-02-241-5/+24
| | | | only outputs the statistics in the specified container in the category.
* Use SortedDictionary in StatsManager instead of regular Dictionary so stats ↵Dan Lake2013-02-141-20/+20
| | | | will interate and print in a defined order
* refactor: Move stat classes out of StatManager and into their own files for ↵Justin Clark-Casey (justincc)2012-11-161-260/+0
| | | | clarity.
* Add a first draft mechanism for the IncomingPacketsProcessedStat to show the ↵Justin Clark-Casey (justincc)2012-11-161-3/+136
| | | | | | delta over time. The chief motivation for this is to be able to tell whether there's any impact on incoming packet processing from enabling extra packet pooling.
* Make PacketPool class stats pull stats instead of push stats so they can be ↵Justin Clark-Casey (justincc)2012-11-151-4/+10
| | | | lifted up into LLUDPServer and be distiguished by scene name
* Make it possible to turn the base UDP object packet pools on and off whilst ↵Justin Clark-Casey (justincc)2012-10-231-13/+1
| | | | | | running via the "debug lludp pool <on|off>" console command. For debug purposes. This does not currently apply to the higher LLUDP packetpool.
* Add object count stats for new IncomingPacket and UDPPacketBuffer pools if ↵Justin Clark-Casey (justincc)2012-10-231-6/+69
| | | | | | | | they are enabled. Add count stats for existing LLUDP pool. This introduces a pull stat type in addition to the push stat type. A pull stat takes a method on construction which knows how to update the stat on request. In this way, special interfaces for pull stat collection are not necessary.
* Fix percentage stats to multiply by 100. Adjust container name for ↵Justin Clark-Casey (justincc)2012-10-121-2/+2
| | | | packetpool stats.
* Fix build break by moving OpenSim.Framework.Console back below HttpServer in ↵Justin Clark-Casey (justincc)2012-10-121-2/+1
| | | | | | the build order. Luckily, it turns out Framework.Monitoring doesn't need to reference Console directly.
* Fix packetpool for ImprovedTerseObjectUpdate packets.Justin Clark-Casey (justincc)2012-10-111-3/+13
| | | | | These were neither being returned or in many places reused. Getting packets from a pool rather than deallocating and reallocating reduces memory churn which in turn reduces garbage collection time and frequency.
* Extend "show stats" command to "show stats [list|all|<category name>]"Justin Clark-Casey (justincc)2012-10-111-19/+174
| | | | | | This allows different categories of stats to be shown, with options to list categories or show all stats. Currently categories are scene and simulator and only a very few stats are currently registered via this mechanism. This commit also adds percentage stats for packets and blocks reused from the packet pool.
* Add generic PercentageStat.Justin Clark-Casey (justincc)2012-10-041-2/+33
| | | | Not yet used.
* Add experimental "slow frames" stat, available in "show stats" and via the ↵Justin Clark-Casey (justincc)2012-10-041-0/+114
| | | | | | | | | monitoring module. This increments a SlowFrames counter if a frame takes over 120% of maximum time. This commit also introduces a generic OpenSim.Framework.Monitoring.Stat which is available to any code that wants to register a statistic. This is more granualar than asking objects to create their own reports. At some point this will supersede earlier IMonitor and IAlert facilities in MonitoringModule which are only available to scene code.
* Rename OpenSim.Framework.Statistics to OpenSim.Framework.Monitoring.Justin Clark-Casey (justincc)2012-07-251-0/+65
This better reflects the long-term purpose of that project and matches Monitoring modules.