Add httpserver.<port-number>,QueuedPollResponses stat
This shows the number pf poll responses queued for processing.0.8.0.3
parent
7df325c275
commit
eed343ed8a
|
@ -77,6 +77,19 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
PerformResponsesAsync = performResponsesAsync;
|
||||
m_WorkerThreadCount = pWorkerThreadCount;
|
||||
m_workerThreads = new Thread[m_WorkerThreadCount];
|
||||
|
||||
StatsManager.RegisterStat(
|
||||
new Stat(
|
||||
"QueuedPollResponses",
|
||||
"Number of non long-poll responses queued for sending.",
|
||||
"",
|
||||
"",
|
||||
"httpserver",
|
||||
m_server.Port.ToString(),
|
||||
StatType.Pull,
|
||||
MeasuresOfInterest.AverageChangeOverTime,
|
||||
stat => m_requests.Count(),
|
||||
StatVerbosity.Debug));
|
||||
}
|
||||
|
||||
public void Start()
|
||||
|
|
Loading…
Reference in New Issue