diff options
author | Justin Clark-Casey (justincc) | 2011-10-10 23:58:27 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-10 23:58:27 +0100 |
commit | 353e7ce873fb139ad4050023ce08339d953ad4d5 (patch) | |
tree | 6e98ceed68f9a1350b4f46e0ee316723799afc17 /OpenSim/Region/CoreModules/Framework | |
parent | Add other region stats (total frame time, physics fps, etc.) currently missin... (diff) | |
download | opensim-SC_OLD-353e7ce873fb139ad4050023ce08339d953ad4d5.zip opensim-SC_OLD-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.gz opensim-SC_OLD-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.bz2 opensim-SC_OLD-353e7ce873fb139ad4050023ce08339d953ad4d5.tar.xz |
Allow monitoring of stats by region name
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | 3 |
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 | ||
28 | using System; | ||
28 | using System.Collections; | 29 | using System.Collections; |
29 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
30 | using System.Reflection; | 31 | using 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) |