mrproliu opened a new issue #8164:
URL: https://github.com/apache/skywalking/issues/8164


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Description
   
   Now we use the [CyborgFlow](https://github.com/SphereEx/CyborgFlow) project 
to perform database switching and complete monitoring functions in the process 
of full-link stress testing, but we cannot yet complete the support for the 
topology map because there is currently no tracer at the database level. This 
issue is used to improve this part of the function. Mainly divided into two 
parts:
   1. The agent transmits the Tracing Context to the database: puts comment 
into sql prefix. Multiple tracing context item are created as one comment, use 
"," to separate each item, and the key value in each item is separated by ".". 
The format is as follows: `/* 
sw8_context:base64_encode(item1_key).base64_encode(item1_value),base64_encode(item2_key).base64_encode(item2_value)
 */`.
   2. The database analyzes the Trading Context: Currently 
[ShardingSphere](https://github.com/apache/shardingsphere) is willing to 
participate in it and participate in the development of the plug-in.
   
   ### Use case
   
   When the user uses the database (as a tracer) that SkyWalking supports to 
monitor, then we can observe the internal execution of the database in the 
topology diagram and link it with the application.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to