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