ListMeters
The ListMeters
action returns information about statistics meters, including the meter name, the meter type, and whether the meter is enabled. It shows both enabled and disabled meters.
By default, ListMeters
returns all meters for all the connected services. You can use Port and Type to restrict the response to a specific service or type of meters.
ListMeters
does not include any statistical values for the meters. To retrieve this information, use the GetStatistics action.
Example
a=ListMeters
a=ListMeters&Port=9000&Type=process
Optional Parameters
This action accepts the following optional parameters.
Parameter | Description |
---|---|
Port | The port on which the service for which you want to return the list of meters is running. |
Type | The type of meter to return. |
Comments
You can also send ListMeters
from Coordinator, which retrieves the meters from the connected Controller components. For more information, refer to the Coordinator Reference.