aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/UserStatistics/WebStatsModule.cs
diff options
context:
space:
mode:
authorTeravus Ovares2009-01-07 23:20:23 +0000
committerTeravus Ovares2009-01-07 23:20:23 +0000
commit95984e05876136cee464b3ecdc66d3cf36aac353 (patch)
tree53625792d2f8b5fcd629079bc0b460efcc2ff560 /OpenSim/Region/UserStatistics/WebStatsModule.cs
parent* refactor: Make some direct IClientAPI calls go through the dialog module in... (diff)
downloadopensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.zip
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.gz
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.bz2
opensim-SC-95984e05876136cee464b3ecdc66d3cf36aac353.tar.xz
* Added session report.
** Full or two criteria. UserID, or VersionString * Added link to session report from client report.
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-rw-r--r--OpenSim/Region/UserStatistics/WebStatsModule.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs
index 8a640d0..efea515 100644
--- a/OpenSim/Region/UserStatistics/WebStatsModule.cs
+++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs
@@ -106,6 +106,7 @@ namespace OpenSim.Region.UserStatistics
106 SimStatsAJAX ajSimStats = new SimStatsAJAX(); 106 SimStatsAJAX ajSimStats = new SimStatsAJAX();
107 LogLinesAJAX ajLogLines = new LogLinesAJAX(); 107 LogLinesAJAX ajLogLines = new LogLinesAJAX();
108 Clients_report clientReport = new Clients_report(); 108 Clients_report clientReport = new Clients_report();
109 Sessions_Report sessionsReport = new Sessions_Report();
109 110
110 reports.Add("", rep); 111 reports.Add("", rep);
111 reports.Add("prototype.js", protodep); 112 reports.Add("prototype.js", protodep);
@@ -114,6 +115,18 @@ namespace OpenSim.Region.UserStatistics
114 reports.Add("simstatsajax.ajax", ajSimStats); 115 reports.Add("simstatsajax.ajax", ajSimStats);
115 reports.Add("activelogajax.ajax", ajLogLines); 116 reports.Add("activelogajax.ajax", ajLogLines);
116 reports.Add("clients.report", clientReport); 117 reports.Add("clients.report", clientReport);
118 reports.Add("sessions.report", sessionsReport);
119
120
121
122 ////
123 // Add Your own Reports here (Do Not Modify Lines here Devs!)
124 ////
125
126 ////
127 // End Own reports section
128 ////
129
117 130
118 scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest); 131 scene.CommsManager.HttpServer.AddHTTPHandler("/SStats/", HandleStatsRequest);
119 scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest); 132 scene.CommsManager.HttpServer.AddHTTPHandler("/CAPS/VS/", HandleUnknownCAPSRequest);
@@ -190,6 +203,9 @@ namespace OpenSim.Region.UserStatistics
190 IStatsController rep = reports[regpath]; 203 IStatsController rep = reports[regpath];
191 Hashtable repParams = new Hashtable(); 204 Hashtable repParams = new Hashtable();
192 205
206 repParams["RequestVars"] = request["requestvars"];
207 repParams["QueryStringKeys"] = request["querystringkeys"];
208
193 repParams["DatabaseConnection"] = dbConn; 209 repParams["DatabaseConnection"] = dbConn;
194 repParams["Scenes"] = m_scene; 210 repParams["Scenes"] = m_scene;
195 repParams["SimStats"] = m_simstatsCounters; 211 repParams["SimStats"] = m_simstatsCounters;