wu-sheng opened a new issue, #9999:
URL: https://github.com/apache/skywalking/issues/9999

   ### 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
   
   SkyWalking Java is the most powerful and implementation-completed agent in 
the whole ecosystem for sure.
   It started with auto-instrumentation agent because it is good in Java, but 
people prefer this way much more than manually.
   
   With all these years of development, it has a complete tracing and metrics 
plugin system with a stable agent kernel.
   
   Meanwhile, we have received many users asking about that, they want to do 
manual instrumentation in some cases of auto-instrumentation can't cover. So, 
we have toolkit API libs.
   
   - Part of tracing APIs, 
https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/application-toolkit-trace/
   - Meter APIs, 
https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/application-toolkit-meter/
   
   ### Use case
   
   We was relying on OpenTracing APIs to expose most tracing APIs to help end 
users, but considering it has been archived and merged into OpenTelemetry. I 
think it is time for us to build our own Tracing APIs.
   
   To keep compatibility, all APIs in [Tracing 
toolkit](https://skywalking.apache.org/docs/skywalking-java/next/en/setup/service-agent/java-agent/application-toolkit-trace/)
 should be kept and we are going to add new.
   
   The proposal would be very easy, we are going to expose most APIs from 
`ContextManager` in the agent kernel, including
   - Span creating
   - Inject/extract for RPC tracing
   - Capture/continue for continue tracing context in the x-thread tracing
   - Tag and log for the current span
   - Async prepare/finish for span crossing threads
   
   Most APIs should be an empty shell, and use toolkit activation to link those 
APIs to kernel APIs directly.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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