-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Support cross thread trace profiling #10575
Support cross thread trace profiling #10575
Conversation
Is this going to break UI temporarily, right? |
Yes, It need the UI to adapt with the new query protocol. |
FYI @apache/skywalking-committers After this gets merged, we are going to hold the demo update until we have UI side adoption. Otherwise, the profiling relative features are broken. |
@@ -92,6 +93,14 @@ public IntValues getLinearIntValues(final MetricCondition metrics, | |||
return metricsValues.getValues(); | |||
} | |||
|
|||
public NullableValue readNullableMetricsValue(MetricsCondition condition, Duration duration) { | |||
// TODO default implantation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @wankai123
...main/java/org/apache/skywalking/oap/server/core/profiling/trace/ProfileTaskQueryService.java
Show resolved
Hide resolved
BTW, as @Fine0830 almost finished apache/skywalking-booster-ui#243 topology), I would like to merge that first and make an update for demo. |
@mrproliu There is a snapshot exporter tool. Do we need some update about that? |
The tools have been updated to support multiple segments. If users want to use them, they need to update them too. |
Is there anything expected to change for https://skywalking.apache.org/docs/main/next/en/guides/backend-profile-export/? Notice, the profiling docs should be moved from contribute doc to new profiling doc. https://skywalking.apache.org/docs/main/next/en/guides/readme/#profile |
No, this file only descript how to use this export tool, and the usage has no change.
Yes, I will write the documentation for cross-thread trace profiling and continuous profiling. |
Following #10373, support the query of the cross thread trace profiling.
Also, the
readNullableMetricsValue
query been added with default implementation, this should be update in other PR.CHANGES
log.