Forum Discussion
Jason_Bender_10
Nimbostratus
Mar 14, 2005STATISTIC_HTTP_GET_REQUEST
I can get this to display anything after building pool.exe and running. It is listed in the locallbpoolmembers.cs file. Is there a special parameter I have to run to get this statistic?
...
May 04, 2005
Posted By Roachie_34 on 5/3/2005 3:00:14 PM
Thanks Joe. We were able to get the STATISTICS_HTTP_GET_REQUEST from the HTTP profile but we are not sure of our numbers. For some reason it looped through twice and gave us these numbers
STATISTIC_HTTP_GET_REQUESTS : 3440790
STATISTIC_HTTP_GET_REQUESTS : 61927
These seem very high. We would like to get the number seen in the GUI Graph for HTTP REQUESTS, which show 2k - 3.5k over the course of the day. Is this possible? Where would we get this number from?
Thanks,
-RR
The performance graphs in the GUI are displaying the "rates" while the numbers exposed from the statistics() methods all return "totals". It is up to the client application to perform a rate calculation
rate = (total2 - total1)/(t2-t1)
Where total1 and 2 are the 64 bit values and t1 and t2 are the relative time in seconds that the calls were made for total1 and total2. The statistics structures returned from the stats calls all contain a timestamp that you can use to calculate the time that the statistics were taken.
One last thing to note is that you should make sure you are using the full 64 bit values in your calculations. For C, you can use the following helper function
UInt64 build64(CommonULong64 value)
{
return ((ulong)value.high<<32)|(ulong)value.low;
}
Before you ask, yes, we are planning on exposing the data from the performance graphs that already contain the rates. This will be available in BIG-IP v9.2.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
