mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Add a method to IStatsCollector for returning stats as an OSDMap.
Extend implementors of IStatsCollector to return an OSDMap of stats. Update UserStatsCollector and AssetStatsCollector to return both string and OSDMap data (as well as console format).
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
using OpenMetaverse.StructuredData;
|
||||
|
||||
namespace OpenSim.Framework.Monitoring
|
||||
{
|
||||
/// <summary>
|
||||
@@ -45,5 +47,12 @@ namespace OpenSim.Framework.Monitoring
|
||||
/// A <see cref="System.String"/>
|
||||
/// </returns>
|
||||
string XReport(string uptime, string version);
|
||||
|
||||
/// <summary>
|
||||
/// Report back collected statistical information as an OSDMap of key/values
|
||||
/// </summary>
|
||||
/// <returns>
|
||||
/// </returns>
|
||||
OSDMap OReport(string uptime, string version);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user