Web Statistics Module

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
(Add details about database recorded viewer stats)
(Script data can now be seen with the 'script' region console commands, where individual scripts can also be started and suspended)
Line 49: Line 49:
 
* Number of unique visitors during last 24 hours.
 
* Number of unique visitors during last 24 hours.
 
* Grid based policy framework for setting it up.
 
* Grid based policy framework for setting it up.
* Information on scripts running on region
 
** Ability to suspend/restart/blacklist
 
 
* Access Authorization
 
* Access Authorization

Revision as of 12:31, 25 January 2012

Contents

Introduction

The Web Statistics Module provides region statistics information. The data is provided as an AJAX html page which automatically updates over time. The page is accessed via the internal OpenSimulator web browser. The module also stores historical data which is displayed on these web pages.

Enabling Web Statistics

Edit OpenSim.ini:

[WebStats]
enabled=true

Accessing Web Statistics

You can access region web statistics pages by pointing your browser at:

http://<region-server-ip>:<http-port>/SStats/

For example, if you are running a standalone OpenSimulator at 192.168.1.2:9000, you would go to the URL

http://192.168.1.2:9000/SStats/

Please note that the trailing / is essential right now.

Viewing recorded statistics

The Web Statistics module also records viewer stats data uploaded by viewers. This is sent on login and thereafter every 5 minutes and just before logout.

This data is stored in an sqlite3 database at bin/LocalUserStatistics.db.

Feature Requests

Please note that these are feature requests - these have not (yet) been implemented!

  • XMLRPC access
  • Public JSON API for accessing counters.
  • Diagnostics counters:
    • Dead and stalled threads.
    • Number of exceptions since last startup.
  • Uptime counter.
  • Region build version.
  • Number of unique visitors during last hour.
  • Number of unique visitors during last 24 hours.
  • Grid based policy framework for setting it up.
  • Access Authorization
Personal tools
General
About This Wiki