GetStatistics
NOTE: Because Coordinator periodically collects statistics, this action is not proxied to the Controllers by default.
The GetStatistics
action returns statistics gathered from the Controllers.
Example
a=GetStatistics&MaxResults=100&Offset=200
a=GetStatistics&MaxResults=100&MinTimestamp=1356085698&MaxTimestamp=1357137275
a=GetStatistics&MaxResults=100&ControllerUUIDs=7a5e3080-161c-8030-a2de-24be0523821c&Type=service&ServicePort=41200&MeterNames=Service|Statistics|10SecondRequestsPerSecond
a=GetStatistics&ServiceNames=idol,anotherService&ServiceTypes=content,anotherType&ServiceLabels=label1,key2:value2,key3:{value3,value4}
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
ControllerUUIDs | The UUIDs of the Controller that you want to retrieve statistics for. |
GetCurrent | Determines which of the statistics in MeterNames should retrieve current values. |
MaxResults | The maximum number of results to return. |
MaxTimestamp | The latest timestamp to return for the statistic. |
MeterNames | The name of the statistic. |
MinTimestamp | The earliest timestamp to return for the statistic. |
Offset | The offset to apply. |
Oldest | Specifies the chronological order that the statistics return in. |
ServiceLabels | Any labels associated with one or more services that you want to return statistics for. |
ServiceNames | A name for one or more services that you want to return statistics for. |
ServicePort | The port number of the service that you want to return statistics for. |
ServiceTypes | The types of service that you want to return statistics for. |
Type | The type of service that you want to return statistics for. |