Skip to content
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

Merged
merged 9 commits into from
Mar 22, 2023

Conversation

mrproliu
Copy link
Contributor

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.

  • If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
  • Update the CHANGES log.

@mrproliu mrproliu added submodule update Change submodule commit ID, including network protocol, query GraphQL and UI query OAP query protocol related enhancement Enhancement on performance or codes profiling SDK profiling and eBPF profiling labels Mar 22, 2023
@mrproliu mrproliu added this to the 9.5.0 milestone Mar 22, 2023
@mrproliu mrproliu requested a review from wu-sheng March 22, 2023 06:54
@wu-sheng
Copy link
Member

Is this going to break UI temporarily, right?

@mrproliu
Copy link
Contributor Author

Is this going to break UI temporarily, right?

Yes, It need the UI to adapt with the new query protocol.

@wu-sheng
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wu-sheng
Copy link
Member

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.

BTW, as @Fine0830 almost finished apache/skywalking-booster-ui#243 topology), I would like to merge that first and make an update for demo.

@wu-sheng
Copy link
Member

@mrproliu There is a snapshot exporter tool. Do we need some update about that?

@mrproliu
Copy link
Contributor Author

@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.

@wu-sheng
Copy link
Member

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
Your next move should be about docs, right?

wu-sheng
wu-sheng previously approved these changes Mar 22, 2023
@mrproliu
Copy link
Contributor Author

mrproliu commented Mar 22, 2023

Is there anything expected to change for https://skywalking.apache.org/docs/main/next/en/guides/backend-profile-export/?

No, this file only descript how to use this export tool, and the usage has no change.

Your next move should be about docs, right?

Yes, I will write the documentation for cross-thread trace profiling and continuous profiling.

@wu-sheng wu-sheng merged commit 0de087a into apache:master Mar 22, 2023
@mrproliu mrproliu deleted the cross-thread-trace-profiling branch March 23, 2023 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement on performance or codes profiling SDK profiling and eBPF profiling query OAP query protocol related submodule update Change submodule commit ID, including network protocol, query GraphQL and UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants