A python-based application performance data collection method

A technology for data acquisition and application performance, applied in electrical digital data processing, instrumentation, error detection/correction, etc. The effect of stability

Active Publication Date: 2022-03-04
CLOUD WISDOM BEIJING TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Conventional probe collectors in the prior art require the user to manually bury points to collect application data, and at the same time need to modify the business code to realize data collection, and the code needs to be modified in different places according to different Python frameworks, so that in multiple It takes a lot of time to use Python applications, which greatly reduces the efficiency of use

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A python-based application performance data collection method
  • A python-based application performance data collection method
  • A python-based application performance data collection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The specific technical solutions of the present invention will be further described below with reference to the accompanying drawings, so that scholars and technical personnel in the field can further understand the present invention, without constituting a limitation on the rights of the present invention.

[0034] to combine figure 1 , figure 1 It is a flowchart of a method for collecting application performance data based on Python in the present invention. In this embodiment, the host application starts the application through the script provided by the Python probe, and automatically executes the automatic hook operation of the import module in the startup script; first, the Python probe will generate a hostid according to the content of the configuration file, and then register the host after successfully obtaining the hostid Operation, after the registration is successful, the heartbeat of the Python probe is sent to the backend, and the backend can judge the li...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a Python-based application performance data collection method. The Python probe specifies a startup script when starting the host application, and automatically executes the automatic hook operation of the import module in the startup script, so as to achieve the built-in business of the Python probe. The code is injected into the host application, and some performance data is collected by burying points; it can quickly locate Python internal errors and request failures, and stably collect request records, database operations, and Python call relationships, which greatly improves the robustness and reliability of Python applications. Stability; it can avoid some risk problems, and at the same time, it can greatly improve the efficiency of multiple Python application deployments, so as to realize the real-time monitoring of the health status of the application operation under the premise of ensuring the stable operation of the application.

Description

technical field [0001] The invention belongs to the field of application performance monitoring (APM), and in particular relates to a Python-based application performance data collection technology. Background technique [0002] Conventional probe collectors in the prior art require the user to manually bury points to collect application data, and at the same time need to modify the business code to realize data collection, and the code needs to be modified in different places according to different Python frameworks, so that in multiple It takes a lot of time to use Python applications, which greatly reduces the efficiency of use. [0003] Therefore, it is necessary to provide a Python-based application performance data collection technology, which improves the robustness and stability of Python applications and improves usage efficiency. Contents of the invention [0004] The present invention is aimed at the development needs of the probe collector, and is used to help...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/34
CPCG06F11/3414G06F11/3476
Inventor 赖彩林张喆袁李刘徐兵
Owner CLOUD WISDOM BEIJING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products