Method and device for integrating Arthas remote monitoring platform and medium
Through the method of integrated ARTHAS remote monitoring platform, the lack of unified platforms in multi -person collaboration, remote monitoring and unified management scenarios has been solved, ARTHAS's remote monitoring and unified management have been realized, and work efficiency and safety are improved.
Patent Information
- Application Number
- CN202411486103.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-24
AI Technical Summary
In the prior art, Arthas performs well as a Java diagnostic tool in a single user or small project, but lacks a unified remote monitoring platform in scenarios where multiple people need to collaborate, remote monitoring and unified management.
Provide a method for integrated ARTHAS remote monitoring platform. Through remote monitoring platform, obtaining information from user registration applications, long link Arthas agent, collecting monitoring data, and displaying monitoring data and historical data statistics reports through the web user interaction interface, stored in the database in the database Essence At the same time, obtain the custom script through custom command interface, execute and display the execution results.
It realizes the remote monitoring and unified management of Arthas, improves work efficiency and security, provides a friendly interface and simple operation process, reduces the difficulty of using the tool, improves the user experience, and improves the security of the server.
Smart Images

Figure CN119356923A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device and medium for integrating an Arthas remote monitoring platform. Background Art
[0002] Arthas is an open source Java online diagnostic tool developed by Alibaba. It provides a variety of functions to help developers diagnose application problems without restarting the application. However, when using it, be careful to avoid unauthorized access. In some cases, root permissions or permissions of the same user as the target Java process may be required to start Arthas.
[0003] Since there is no centralized platform, each user who needs remote monitoring may need to configure Arthas individually, including starting the Arthas service on the server, setting access permissions, etc. This increases the complexity of access permission management and the possibility of errors. Users need to manually start the Arthas service on the monitored server and configure the corresponding network parameters (such as IP address, port number, etc.) to ensure smooth remote access. This increases the complexity of configuration and the possibility of errors.
[0004] Through the above analysis, the problems and defects of the prior art are as follows:
[0005] Arthas in the existing technology performs well as a Java diagnostic tool for a single user or a small project, but lacks a unified remote monitoring platform in scenarios that require multi-person collaboration, remote monitoring, and unified management. Summary of the invention
[0006] The embodiments of the present application provide a method, device and medium for integrating the Arthas remote monitoring platform, which can solve the problem in the prior art that Arthas, as a Java diagnostic tool, performs well for a single user or in a small project, but lacks a unified remote monitoring platform in scenarios requiring multi-person collaboration, remote monitoring and unified management.
[0007] In the first aspect, an embodiment of the present application provides a method for integrating the Arthas remote monitoring platform, the method comprising: obtaining information of user registered applications through the remote monitoring platform to obtain an application list, wherein the information includes the application name, IP address, and port number of the Arthas Agent; long linking the Arthas Agent through the port number of the Arthas Agent, and collecting monitoring data of the corresponding application according to the application list at a preset time, the monitoring data including the number of threads and application logs; diagnosing the monitoring data, displaying the monitoring data and historical data statistical reports through a WEB user interaction interface, and storing them in a database; obtaining a custom script through a custom command interface, sending it to the Arthas Agent for execution through a long link, and displaying the execution results, the execution results including input parameters, output parameters, and execution efficiency.
[0008] In one implementation of the present application, before displaying monitoring data and historical data statistical reports through the WEB user interaction interface, the method also includes: obtaining the user's login request and obtaining the user name and password; verifying the user name and password with the user information stored in the database and obtaining the user's access rights; assigning a tenant ID to the user based on the access rights, and assigning a database.
[0009] In one implementation of the present application, a custom script is obtained through a custom command interface and sent to Arthas Agent for execution through a long link, specifically including: obtaining the custom script through a custom command interface, checking whether the custom script has syntax errors and whether the loop logic is correct, and the custom script includes a target application; sending it to the Arthas Agent of the target application through a long link and executing it.
[0010] In one implementation of the present application, the method further includes: encrypting the custom script and the application log before the custom script is transmitted and before the application log is transmitted; decrypting the custom script and the application log after they arrive, and monitoring the execution process.
[0011] In one implementation of the present application, the monitoring data is diagnosed, and the monitoring data and historical data statistical reports are displayed through a WEB user interaction interface and stored in a database, specifically including: presetting a first alarm threshold for the monitoring data, and providing a second alarm threshold configuration interface to allow the user to set a usage threshold, a memory occupancy threshold, and a thread increase or decrease threshold; when any of the usage rate, memory occupancy rate and number of threads in the monitoring data reaches the first alarm threshold or the second alarm threshold, an alarm is automatically triggered, and the priority of the second alarm threshold is greater than the first alarm threshold.
[0012] In one implementation of the present application, before obtaining the information of user-registered applications through the remote monitoring platform and obtaining the application list, the method also includes: dividing the remote monitoring platform into multiple independent microservices and communicating through a lightweight communication protocol; receiving user access requests by deploying a load balancer and distributing them to multiple back-end servers.
[0013] In one implementation of the present application, the method also includes: batch processing the monitoring data according to a preset frequency, and providing a time range selection interface, wherein the time range selection interface is used for users to view the monitoring data in a customized time period; providing a template library and a configuration interface script so that users can customize report templates and generate historical data statistical reports.
[0014] In one implementation of the present application, the method further includes: caching monitoring data whose query frequency exceeds a preset frequency and whose content change frequency is lower than a preset frequency, and setting a cache update time; and updating the version of Arthas according to the cache update time.
[0015] In the second aspect, an embodiment of the present application also provides a device integrated with the Arthas remote monitoring platform, the device comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: obtain information about user registered applications through the remote monitoring platform to obtain an application list, wherein the information includes the application name, IP address, and port number of the Arthas Agent; long link the Arthas Agent through the port number of the Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, wherein the monitoring data includes the number of threads and application logs; diagnose the monitoring data, display the monitoring data and historical data statistical reports through the WEB user interaction interface, and store them in a database; obtain a custom script through a custom command interface, send it to the Arthas Agent for execution through a long link, and display the execution results, wherein the execution results include input parameters, output parameters, and execution efficiency.
[0016] On the third aspect, the embodiment of the present application also provides a non-volatile computer storage medium integrating the Arthas remote monitoring platform, storing computer executable instructions, and the computer executable instructions are set to: obtain information of user registered applications through the remote monitoring platform to obtain an application list, wherein the information includes the application name, IP address, and port number of Arthas Agent; long link Arthas Agent through the port number of Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, and the monitoring data includes the number of threads and application logs; diagnose the monitoring data, display the monitoring data and historical data statistical reports through the WEB user interaction interface, and store them in a database; obtain a custom script through a custom command interface, send it to Arthas Agent for execution through a long link, and display the execution results, and the execution results include input parameters, output parameters and execution efficiency.
[0017] The embodiments of the present application provide a method, device and medium for integrating the Arthas remote monitoring platform, which remotely configures and manages server project engineering through a visual interface, completely changing the traditional server management method. Users do not need to directly access the server to execute the Arthas tool with command tools to implement Arthas remote monitoring, debugging and other operations on server projects, greatly improving work efficiency and security; providing a friendly interface and simple operation process to reduce the difficulty of using the tool and improve user experience; allowing users to remotely configure and manage server project engineering, avoiding users from directly accessing the server to operate the program, greatly improving server security, and avoiding server operation security risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 A flow chart of a method for integrating Arthas remote monitoring platform provided in an embodiment of the present application;
[0020] Figure 2 A logic diagram of a method for integrating the Arthas remote monitoring platform provided in an embodiment of the present application;
[0021] Figure 3 A schematic diagram of the internal structure of a device integrated with the Arthas remote monitoring platform provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0023] The embodiments of the present application provide a method, device and medium for integrating the Arthas remote monitoring platform, which solves the problem that Arthas in the prior art performs well as a Java diagnostic tool for a single user or in a small project, but lacks a unified remote monitoring platform in scenarios requiring multi-person collaboration, remote monitoring and unified management.
[0024] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0025] Figure 1 A method flow chart of integrating Arthas remote monitoring platform provided in the embodiment of the present application. Figure 1 and Figure 2 As shown, a method for integrating the Arthas remote monitoring platform provided in an embodiment of the present application specifically includes the following steps:
[0026] Step 10: Obtain the user's registered application information through the remote monitoring platform and obtain an application list, where the information includes the application name, IP address, and port number of Arthas Agent.
[0027] In this step, by integrating the remote monitoring platform and various applications, team members can share monitoring data and diagnostic results through a unified remote monitoring platform.
[0028] Step 20: Long-link Arthas Agent through the port number of Arthas Agent, and collect monitoring data of the corresponding application according to the application list and the preset time. The monitoring data includes the number of threads and application logs.
[0029] In this step, you can establish a connection with Arthas Agent through WebSocket or other long connection technologies, and pull application monitoring data such as CPU, memory, number of threads, and application logs regularly or in real time. The pulled log information is displayed on the front-end interface, and search and filtering functions are provided to facilitate users to find and analyze log information. It also provides backup and deletion of historical redundant log operations, and provides users with an interface for remotely downloading application logs to the local computer for further analysis or archiving.
[0030] Step 30: Diagnose the monitoring data, display the monitoring data and historical data statistical reports through the WEB user interface, and store them in the database.
[0031] In this step, a list of registered applications is provided, and the operation status of the corresponding applications can be viewed remotely, logs can be viewed in real time, and logs can be downloaded remotely; real-time data display uses a chart library, which provides data zooming and time range selection functions; integrated chart libraries such as ECharts, Highcharts, etc., graphically display real-time monitoring data such as CPU usage, memory usage, network traffic, etc.
[0032] As an optional embodiment, the monitoring data is diagnosed, the monitoring data and historical data statistical reports are displayed through a WEB user interaction interface, and stored in a database. Specifically, the following may be included: Step 301: presetting the first alarm threshold of the monitoring data, and providing a second alarm threshold configuration interface to allow the user to set the usage threshold, memory occupancy threshold, and thread increase or decrease threshold; Step 302: when any of the usage rate, memory occupancy rate and number of threads in the monitoring data reaches the first alarm threshold or the second alarm threshold, an alarm is automatically triggered, and the priority of the second alarm threshold is greater than the first alarm threshold.
[0033] In this step, an alarm rule configuration interface is provided, allowing users to set usage rate thresholds, memory usage thresholds, application exceptions, and error information keywords. The configured alarm rules are stored in the database, and the priority of the alarm threshold configured by the user is higher than the alarm threshold set in the system; monitoring is implemented and message reminders are issued for exceptions that meet the warning rules, such as in-site messages and text messages.
[0034] Step 40: Get the custom script through the custom command interface, send it to Arthas Agent through a long link for execution, and display the execution results, which include input parameters, output parameters and execution efficiency.
[0035] As an optional embodiment, a custom script is obtained through a custom command interface and sent to Arthas Agent for execution through a long link. Specifically, it may include: Step 401: obtaining the custom script through a custom command interface, checking whether the custom script has any syntax errors and whether the loop logic is correct, and the custom script includes a target application; Step 402: sending it to the Arthas Agent of the target application through a long link and executing it.
[0036] In this step, a command input interface is designed where users can enter custom commands, verify whether the script complies with the grammatical rules supported by Java or Arthas, evaluate the permissions required for script execution, and ensure that it does not exceed the preset security boundaries; analyze the logical flow of the script to ensure that it is executed as expected without causing unexpected side effects; the backend sends the command to Arthas Agent through a WebSocket or TCP connection for execution, receives the execution results, and displays the execution results on the front-end interface, including method input parameters, output parameters, execution efficiency and other information; commonly used commands are formed into shortcut tool plug-ins to facilitate users to select and use them on visualization tools.
[0037] As an optional embodiment, before displaying monitoring data and historical data statistical reports through the WEB user interaction interface, the method may also include: Step 01: Obtaining the user's login request and obtaining the user name and password; Step 02: Verifying the user name and password with the user information stored in the database and obtaining the user's access rights; Step 03: Assigning a tenant ID to the user based on the access rights, and assigning a database.
[0038] As an optional embodiment, the method may further include: encrypting the custom script and the application log before the custom script is transmitted and before the application log is transmitted; decrypting the custom script and the application log after they arrive, and monitoring the execution process.
[0039] In this step, data transmission is encrypted to ensure the security of data during transmission. Encryption protocols such as HTTPS or WSS can be used for data transmission to encrypt, store and transmit sensitive data.
[0040] As an optional embodiment, before obtaining the information of user-registered applications through the remote monitoring platform and obtaining the application list, the method may also include: dividing the remote monitoring platform into multiple independent microservices and communicating through a lightweight communication protocol; receiving user access requests by deploying a load balancer and distributing them to multiple back-end servers.
[0041] In this step, one service can be responsible for user authentication and authorization, another service can be responsible for monitoring data collection, and another service can be responsible for data storage. Microservices communicate with each other through lightweight communication protocols, such as RESTful API and gRPC, to achieve data sharing and business collaboration. Each microservice can be independently deployed, upgraded, and expanded to improve the flexibility and scalability of the system.
[0042] As an optional embodiment, the method may also include: batch processing the monitoring data according to a preset frequency, and providing a time range selection interface, wherein the time range selection interface is used for users to view the monitoring data in a customized time period; providing a template library and a configuration interface script to enable users to customize report templates and generate historical data statistical reports.
[0043] In this step, a time range selection and viewing interface is provided, and users can select data within a specific time period for viewing to meet different analysis needs; a variety of report types are provided, such as daily reports, weekly reports, monthly reports, etc., to meet statistical needs of different time granularities; after the report is generated, it supports export to Excel and PDF formats.
[0044] As an optional embodiment, the method may further include: caching monitoring data whose query frequency exceeds a preset frequency and whose content change frequency is lower than a preset frequency, and setting a cache update time; and updating the version of Arthas according to the cache update time.
[0045] In this step, for frequently queried monitoring data, if the monitoring data has not changed, the monitoring data is cached, and the preset frequency of query and change can be determined according to the actual situation; timely update the command configuration and alarm rules, regularly check and download the latest version of Arthas, use Maven, Gradle and other dependency management tools to manage project dependencies, and formulate regular maintenance plans, including system inspections, performance optimization, security reinforcement, etc.
[0046] The above is an embodiment of the method proposed in this application. Based on the same inventive concept, the embodiment of this application also provides a device integrating the Arthas remote monitoring platform, whose structure is as follows: Figure 2 shown.
[0047] Figure 3 A schematic diagram of the internal structure of a device integrated with the Arthas remote monitoring platform provided in the embodiment of the present application. Figure 3 As shown, the device includes:
[0048] at least one processor 301;
[0049] and, a memory 302 communicatively connected to at least one processor;
[0050] Among them, the memory 302 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 301 so that at least one processor 301 can: obtain information of user registered applications through a remote monitoring platform to obtain an application list, wherein the information includes application name, IP address, and port number of Arthas Agent; long link Arthas Agent through the port number of Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, and the monitoring data includes the number of threads and application logs; diagnose the monitoring data, display the monitoring data and historical data statistical reports through a WEB user interaction interface, and store them in a database; obtain a custom script through a custom command interface, send it to Arthas Agent for execution through a long link, and display the execution results, and the execution results include input parameters, output parameters and execution efficiency.
[0051] Some embodiments of the present application provide corresponding Figure 1 A non-volatile computer storage medium integrated with an Arthas remote monitoring platform stores computer executable instructions, wherein the computer executable instructions are configured to: obtain information of user registered applications through a remote monitoring platform to obtain an application list, wherein the information includes application name, IP address, and port number of ArthasAgent; establish a long link to Arthas Agent through the port number of Arthas Agent, and collect monitoring data of corresponding applications according to the application list at a preset time, wherein the monitoring data includes the number of threads and application logs; diagnose the monitoring data, display the monitoring data and historical data statistical reports through a WEB user interaction interface, and store them in a database; obtain a custom script through a custom command interface, send it to Arthas Agent for execution through a long link, and display the execution results, wherein the execution results include input parameters, output parameters, and execution efficiency.
[0052] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the IoT device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0053] The system and medium provided in the embodiments of the present application correspond one-to-one to the method. Therefore, the system and medium also have similar beneficial technical effects to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the system and medium will not be repeated here.
[0054] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0055] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0056] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0057] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0058] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0059] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0060] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0061] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0062] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for integrating Arthas remote monitoring platform, characterized in that: The method comprises: Obtain the information of user registered applications through the remote monitoring platform to obtain an application list, wherein the information includes the application name, IP address, and port number of Arthas Agent; Long link Arthas Agent through the port number of the Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, wherein the monitoring data includes the number of threads and application logs; Diagnose the monitoring data, display the monitoring data and historical data statistics through the WEB user interface, and store them in the database; Get the custom script through the custom command interface, send it to Arthas Agent through a long link for execution, and display the execution results, which include input parameters, output parameters and execution efficiency.
2. A method for integrating Arthas remote monitoring platform according to claim 1, characterized in that: Before displaying the monitoring data and historical data statistical reports through the WEB user interaction interface, the method further includes: Get the user's login request and obtain the username and password; Verify the user name and password with the user information stored in the database and obtain the user's access rights; A tenant ID is assigned to the user based on the access rights, and a database is allocated.
3. A method for integrating Arthas remote monitoring platform according to claim 1, characterized in that: Obtain the custom script through the custom command interface and send it to Arthas Agent for execution through a long link, including: Obtaining a custom script through the custom command interface, checking whether the custom script has syntax errors and whether the loop logic is correct, wherein the custom script includes a target application; It is sent to the Arthas Agent of the target application via a long link and executed.
4. A method for integrating Arthas remote monitoring platform according to claim 3, characterized in that: The method further comprises: Before the custom script is transmitted and before the application log is transmitted, encrypting the custom script and the application log; After the custom script and application log arrive, they are decrypted and the execution process is monitored.
5. A method for integrating Arthas remote monitoring platform according to claim 1, characterized in that: Diagnose the monitoring data, display the monitoring data and historical data statistics through the WEB user interface, and store them in the database, including: Preset the first alarm threshold of monitoring data and provide a second alarm threshold configuration interface to allow users to set usage threshold, memory occupancy threshold, thread increase or decrease threshold; When any one of the usage rate, memory occupancy rate and number of threads in the monitoring data reaches the first alarm threshold or the second alarm threshold, an alarm is automatically triggered, and the priority of the second alarm threshold is greater than the first alarm threshold.
6. A method for integrating Arthas remote monitoring platform according to claim 1, characterized in that: Before obtaining the information of the user registered applications through the remote monitoring platform and obtaining the application list, the method further includes: Divide the remote monitoring platform into multiple independent microservices and communicate through a lightweight communication protocol; By deploying a load balancer, users' access requests are received and distributed to multiple backend servers.
7. A method for integrating Arthas remote monitoring platform according to claim 1, characterized in that: The method further comprises: Batch processing the monitoring data according to a preset frequency, and providing a time range selection interface, wherein the time range selection interface is used for a user to define a time period to view the monitoring data; Provides template library and configuration interface scripts to enable users to customize report templates and generate historical data statistical reports.
8. A method for integrating Arthas remote monitoring platform according to claim 7, characterized in that: The method further comprises: Cache the monitoring data whose query frequency exceeds the preset frequency and whose content change frequency is lower than the preset frequency, and set the cache update time; According to the cache update time, the version of Arthas is updated.
9. A device integrating Arthas remote monitoring platform, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Obtain the information of user registered applications through the remote monitoring platform to obtain an application list, wherein the information includes the application name, IP address, and port number of Arthas Agent; Long link Arthas Agent through the port number of the Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, wherein the monitoring data includes the number of threads and application logs; Diagnose the monitoring data, display the monitoring data and historical data statistics through the WEB user interface, and store them in the database; Get the custom script through the custom command interface, send it to Arthas Agent through a long link for execution, and display the execution results, which include input parameters, output parameters and execution efficiency.
10. A non-volatile computer storage medium integrated with the Arthas remote monitoring platform, storing computer executable instructions, characterized in that: The computer executable instructions are configured to: obtain information of user registered applications through a remote monitoring platform to obtain an application list, wherein the information includes application name, IP address, and port number of Arthas Agent; Long link Arthas Agent through the port number of the Arthas Agent, and collect monitoring data of the corresponding application according to the application list at a preset time, wherein the monitoring data includes the number of threads and application logs; Diagnose the monitoring data, display the monitoring data and historical data statistics through the WEB user interface, and store them in the database; Get the custom script through the custom command interface, send it to Arthas Agent through a long link for execution, and display the execution results, which include input parameters, output parameters and execution efficiency.