Microservice call tracking method and system based on log buried points
A call tracking and micro-service technology, applied in data processing applications, multi-program devices, instruments, etc., can solve problems such as low use efficiency, performance bottlenecks, and huge database data, and achieve the effect of improving the running rate and ensuring that it cannot be tampered with.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Microservice call tracking method based on log buried points, such as figure 2 shown, including the following steps:
[0043] S1: The external system sends a request to start calling the microservice.
[0044] S2: Generate a transaction serial number, and print the embedded log of the microservice call, and the log information includes the transaction serial number.
[0045] S3: The transaction serial number is transparently transmitted to the invocation of the microservice through the local thread. Transparent transmission, that is, transparent transmission (pass-through), means that regardless of the business content transmitted during communication, it is only responsible for transmitting the transmitted content from the source address to the destination address, without making any changes to the business data content.
[0046] S4: Print the business log with the transaction serial number.
[0047] S5: When the microservice calls other remote microservices, recor...
Embodiment 2
[0062] The microservice call tracking system based on log buried points includes a processor, which is suitable for realizing each instruction; and a storage device, which is suitable for storing a plurality of instructions, and the instructions are suitable for being loaded and executed by the processor:
[0063] Call the microservice.
[0064] Generate a transaction serial number, print the embedded log of the microservice call, and the log information includes the transaction serial number.
[0065] Transparently transmit the transaction serial number to the invocation of the microservice through the local thread.
[0066] Print the business log with the transaction serial number.
[0067] When the microservice calls other remote microservices, record the embedded log of the remote call microservice, then remotely call other microservices, and transparently transmit the transaction serial number to the remote microservice.
[0068] Call the remote microservice to receive ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


