aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-10 23:58:27 +0100
committerJustin Clark-Casey (justincc)2011-10-10 23:58:27 +0100
commit353e7ce873fb139ad4050023ce08339d953ad4d5 (patch)
tree6e98ceed68f9a1350b4f46e0ee316723799afc17 /OpenSim
parentAdd other region stats (total frame time, physics fps, etc.) currently missin... (diff)
downloadopensim-SC-353e7ce873fb139ad4050023ce08339d953ad4d5.zip
opensim-SC-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.gz
opensim-SC-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.bz2
opensim-SC-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.xz
Allow monitoring of stats by region name
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs
index a9dc1fe..64997af 100644
--- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs
+++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs
@@ -25,6 +25,7 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
28using System.Collections; 29using System.Collections;
29using System.Collections.Generic; 30using System.Collections.Generic;
30using System.Reflection; 31using System.Reflection;
@@ -76,6 +77,8 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
76 DebugMonitors); 77 DebugMonitors);
77 78
78 MainServer.Instance.AddHTTPHandler("/monitorstats/" + m_scene.RegionInfo.RegionID, StatsPage); 79 MainServer.Instance.AddHTTPHandler("/monitorstats/" + m_scene.RegionInfo.RegionID, StatsPage);
80 MainServer.Instance.AddHTTPHandler(
81 "/monitorstats/" + Uri.EscapeDataString(m_scene.RegionInfo.RegionName), StatsPage);
79 } 82 }
80 83
81 public void DebugMonitors(string module, string[] args) 84 public void DebugMonitors(string module, string[] args)