@@ -28,10 +29,12 @@ HiTraceChain can be used for the following purposes:
...
@@ -28,10 +29,12 @@ HiTraceChain can be used for the following purposes:
1. Display the call relationship in the service process, analyze key paths and function dependency, and determine the time consumption and call frequency at each call point to detect performance bottlenecks.
1. Display the call relationship in the service process, analyze key paths and function dependency, and determine the time consumption and call frequency at each call point to detect performance bottlenecks.
2. Add **traceid** to logs and events automatically to facilitate comprehensive analysis and quick fault location.
2. Add **traceid** to logs and events automatically to facilitate comprehensive analysis and quick fault location.
...
@@ -146,7 +149,9 @@ Some built-in communication mechanisms (such as ZIDL) of OpenHarmony already sup
...
@@ -146,7 +149,9 @@ Some built-in communication mechanisms (such as ZIDL) of OpenHarmony already sup
The following figure shows the process of transferring **traceid** in synchronous call. The process of transferring **traceid** in asynchronous call is similar.
The following figure shows the process of transferring **traceid** in synchronous call. The process of transferring **traceid** in asynchronous call is similar.
Extended communication mechanisms can also follow this implementation.
Extended communication mechanisms can also follow this implementation.
**Figure 5** Call chain trace in synchronous communication
**Figure 5** Call chain trace in synchronous communication