MstxMonitor.enable_domain
Function |
def enable_domain(self, domain_name: str): |
|---|---|
Function Description |
Enables the profiling for a specific domain. |
Input |
domain_name: Name of the target domain. You can call the API for multiple times to enable the profiling for multiple domains. By default, the profiling is enabled for all domains. |
Return Value |
MsptiResult.MSPTI_SUCCESS indicates a successful operation, while MsptiResult.MSPTI_ERROR_INVALID_PARAMETER indicates a failure caused by an empty domain_name. |
Parent topic: MstxMonitor