Record raw number of UDP receives as clientstack.IncomingUDPReceivesCount

This commit is contained in:
Justin Clark-Casey (justincc)
2013-07-22 23:58:45 +01:00
parent bf517899a7
commit 8396f1bd42
2 changed files with 20 additions and 1 deletions

View File

@@ -67,6 +67,19 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
m_udpServer.AddScene(scene);
StatsManager.RegisterStat(
new Stat(
"IncomingUDPReceivesCount",
"Number of inbound LL protocol packets processed",
"Number of inbound LL protocol packets processed",
"",
"clientstack",
scene.Name,
StatType.Pull,
MeasuresOfInterest.AverageChangeOverTime,
stat => stat.Value = m_udpServer.UdpReceives,
StatVerbosity.Debug));
StatsManager.RegisterStat(
new Stat(
"IncomingPacketsProcessedCount",