Initialize the
perfmonweb service library.
MCO_RET mcorest_svc_perf_init(mcorest_h rest);
| rest | Pointer to receive the server instance handle |
This function Initializes the
perfmonweb service library.The perf web service provides access to the performance metrics database. The service must be explicitly initialized by the application using this function.
This function may only be called once, and only when the RESTful Web Services runtime is initialized and configured. It installs the handler for the "/api/perf" endpoint in the eXtremeDB embedded web server and initializes the internal state of the service.
If the application fails to call this function, the "/api/perf" endpoint and all its child resources will not be available. All client requests will return HTTP error 404 ("not found").
| MCO_S_OK = 0 | Success |
| MCO_E_REST_* | Any of the Web Services Error Codes |