-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce SegmentcontextScope and some Improve #193
Conversation
* SegmentReference NetworkAddress Use parentSegmentContext.Span.Peer * StringOrIntValueHelpers ParseStringOrIntValue Just Use SubString * SkyApm.Sample.AspNet project change to PackageReference
SegmentContextAccessor be removed , https://github.com/linkinshi/SkyAPM-dotnet-mysql need update to lastest. |
Why Mysql plugin is in another repo? |
Mysql.Data lib is under the GPL license. Uh. I am worried that it will lead to incompatibility of the license. |
If it is compiled level, it is fine. SkyWalking has mysql plugin as default. But if your binary requires that, that is another story. In my mind, plugin only works after user use it, so, in that case, you don't include/depend mysql, user does. |
@liuhaoyang https://github.com/caozhiyuan/SkyAPM-dotnet/blob/0.7.0/src/SkyWalking.Core/Context/TracingContext.cs#L48 |
i want to merge spans in one segmentcontext, but it need some time . now , one span one segmentcontext, but it simple. |
For multiple thread case, I highly recommend you ref SkyWalking javaagent did for vertx. That is 100% async framework, and it works perfectly with our new API. |
@caozhiyuan I have discussed with sheng about the problem of segment. Letting each span as a segment is my compromise in the C# Async syntax. |
Each request is a scope... |
@liuhaoyang run SkyApm.Sample.Frontend.Controllers http://localhost:5001/api/values/2 test it. it diff with previous versions. every excutecontext has a new scope , previous versions same tracingContext instance. |
@liuhaoyang any problem about SegmentContextScope ? |
Please answer these questions before submitting pull request
Why submit this pull request?
Bug fix
New feature provided
Improve performance
Related issues
Bug fix
Bug description.
ilrepack tool fix and profiler code improve #175 (comment)
How to fix?
Use Peer
New feature or improvement