Warning |
---|
This API is deprecated, and has been replaced with Statistics REST API in OpenAPI format, exposed on the Internal Ceptor Gateway. |
Once statistics REST services are enabled and properly configured they can be accessed as shown below
Optional parameter servers – a comma separated list of servers to get status for. If no list is given, status is returned for all servers. | |
Description |
List servers which has available statistics (could be historical!) | |
Example URLS |
Formatted example | [ |
Optional parameter servers – a comma separated list of servers to get status for. If no list is given, status is returned for all servers. | |
Description | Returns config server status texts and connection status |
Example URLS |
Formatted example | [ |
0:
|
" |
dispatcher1", |
"dispatcher1", |
null, |
" |
UNKNOWN", |
-1 |
1:
, |
"useradmin1", |
"useradmin1", |
null, |
" |
UNKNOWN", |
-1 |
Optional parameter servers – a comma separated list of servers to get |
functions for. If no list is given, status is returned for all servers. | |
Description |
List servers which has available statistics (could be historical!)
Returns functions with available statistics for the given servers | |
Example URLS | http://localhost:5300/restservices/statistics/list/functions/ http://localhost:5300/restservices/statistics/list/functions?servers |
Formatted example | [ |
0:
{
{ |
Agent.newSession" |
}, |
}
2:
{
Get user info from Session Controller"}, |
}
3:
{
LoadbalancedPeer.dispatcher1.peers"}, . . . . . . . . {"name": " |
}
4:
{
ThreadPool concurrent_active_threads"}, |
}
5:
{
.. .. .. ..
}
}
statistics send queue length"}, |
Required parameter servers – a comma separated list of servers to get |
statistical summary for. If no list is given, |
Description
Returns functions with available statistics for the given servers
an error is thrown. Optional parameters, start and end - can be provided in either milliseconds since midnight, January 1, 1970 UTC or formatted or direct date/time formatted as "yyyy-MM-dd HH:mm:ss" (24 hour clock). If either parameter is present the other is required. Default timespan is from now and one hour back (start=now-1hour, end=now) Note: using start/end time will result in statistics being returned in the standard summed up intervals for the given period. For more information see Ceptor Statistics Server | |
Description | Returns a statistical summary for the given servers note: server parameter is mandatory! Using the detailed statistics required knowledge about the content of the values, what they represent. Each measurement is individual! |
Example URLS |
useradmin1&start=2017-01-01 12:00:00&end=2017-08-01 12:00:00 | |
Formatted example | [ |
0:
|
startTime": 1500653485852, |
endTime": 1500653982774, |
total": |
"statData":
[1]
0:
374, . . . . . . . . |
1500653546432, |
1500654822701, |
5010732, |
313170.75, |
16, |
172423, |
396615, |
"upper95Value": "NaN"
}
}
1:
{
"server": "dispatcher1"
"function": "Garbage Collect"
"statData":
[1]
0:
{
"startTime": 1462460821933
"endTime": 1462463521918
"total": 1321
"mean": 132.1
"count": 10
"min": 101
"max": 175
"lower95Value": 147.97062185997203
"upper95Value": 147.97062185997203
upper95Value": 340214.2471190447 |
http://server:port/restservices/statistics/statisticscollecteddetails/?servers=XX,YY&functions=MM,NN | |
Required parameter servers – a comma separated list of servers to get statistical details for. If no list is given, an error is thrown. Required parameter functions – a comma separated list of functions to get statistical details for. If no list is given, an error is thrown. Optional parameters, start and end - can be provided in either milliseconds since midnight, January 1, 1970 UTC or formatted or direct date/time formatted as "yyyy-MM-dd HH:mm:ss" (24 hour clock). If either parameter is present the other is required. Default timespan is from now and one hour back (start=now-1hour, end=now) Note: using start/end time will result in statistics being returned in the standard summed up intervals for the given period. For more information see Ceptor Statistics Server | |
Description | Returns a statistical detail data for the given servers and functions note: servers and functions parameters is mandatory! Using the detailed statistics required knowledge about the content of the values, what they represent. Each measurement is individual! |
Example URLS | |
Formatted example | { . . . .
|