wu-sheng commented on code in PR #43: URL: https://github.com/apache/skywalking-go/pull/43#discussion_r1200742554
########## docs/en/development-and-contribution/development-guide.md: ########## @@ -35,6 +35,14 @@ The basic information includes the following methods, corresponding to the [Inst Note: Please declare `//skywalking:nocopy` at any position in this file to indicate that the file would not be copied. This file is only used for guidance during hybrid compilation. Also, this file involves the use of the `embed` package, and if the target framework does not import the package `embed`, a compilation error may occur. +### Multiple framework enhancement + +If you wish to monitor **multiple different packages within your framework**, +declare multiple instrument objects within the plugin, differentiating them through distinct directories. +Additionally, provide the following methods: + +1. **Sub Home Path**: This method informs the plugin system about the directory of the current instrument object within the plugin. Review Comment: Could you provide some package hierarchy structure to demo this? I am not following. -- 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]
