Skip to content

feat: support trace v1 in trace single page#549

Merged
wu-sheng merged 5 commits into
apache:mainfrom
Fine0830:bugfix/traces
Apr 27, 2026
Merged

feat: support trace v1 in trace single page#549
wu-sheng merged 5 commits into
apache:mainfrom
Fine0830:bugfix/traces

Conversation

@Fine0830
Copy link
Copy Markdown
Member

Closes apache/skywalking#13842

screenshot

1

Signed-off-by: Qiuxia Fan qiuxiafan@apache.org

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support for viewing Trace v1 (basic trace + span query) in the trace single-page route by conditionally rendering the legacy span detail UI when Trace v2 APIs aren’t available.

Changes:

  • Update trace single page to render TraceContent for v2 and SpanList for v1 based on backend capability.
  • Add getTraceByTraceId() action to the trace store to drive the single-page trace fetch flow.
  • Pass minTimestamp/maxTimestamp into the trace graph components to constrain the time window.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
src/views/dashboard/related/trace/components/TraceList/SpanList.vue Adds min/max timestamp bounds passed into the trace visualization component.
src/views/dashboard/Trace.vue Switches single-page rendering logic between v2 (TraceContent) and v1 (SpanList) flows.
src/store/modules/trace.ts Introduces getTraceByTraceId() and refactors v1/v2 selection logic in getTraces().
src/layout/components/NavBar.vue Removes eager capability query call from navbar initialization.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/store/modules/trace.ts Outdated
Comment thread src/store/modules/trace.ts
Comment thread src/store/modules/trace.ts
Comment thread src/store/modules/trace.ts
Comment thread src/views/dashboard/Trace.vue Outdated
Comment thread src/views/dashboard/related/trace/components/TraceList/SpanList.vue Outdated
Fine0830 and others added 4 commits April 27, 2026 17:58
@wu-sheng wu-sheng merged commit 2c1e851 into apache:main Apr 27, 2026
5 checks passed
@Fine0830 Fine0830 deleted the bugfix/traces branch April 27, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Standalone /traces/:traceId page breaks on non-BanyanDB storage because it always uses Trace V2

3 participants