You can use the IBM® App Connect Enterprise administration REST API to
stop the collection of resource statistics for an integration server.
Before you begin
Read the following topics:
Procedure
Use one of the following REST API methods to stop resource statistics collection on an
integration server.
-
For an independent integration server:
POST http://hostname:port/apiv2/statistics/resource-stats/stop-collection
For example, use the following curl command:
curl -X POST http://hostname:port/apiv2/statistics/resource-stats/stop-collection
If the command is successful, an HTTP status code 200 is returned.
You can verify that resource statistics collection has stopped by issuing a GET API call as
described in Displaying the properties that relate to resource statistics collection by using the administration REST API; the value of the reportingOn
property is false
when resource statistics collection is stopped.
- For an integration server that is managed by an integration node:
POST http://hostname:port/apiv2/servers/integrationServerName/statistics/resource-stats/stop-collection
For example, to stop resource statistics collection on integration server ACESERV1, which is
managed by an integration node:
curl -X POST http://hostname:port/apiv2/servers/ACESERV1/statistics/resource-stats/stop-collection
If the command is successful, an HTTP status code 200 is returned.
You can verify that resource statistics collection has stopped by issuing a GET API call as
described in Displaying the properties that relate to resource statistics collection by using the administration REST API; the value of the reportingOn
property is false
when resource statistics collection is stopped.