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

Trace View: Export trace button #67368

Merged
merged 2 commits into from
Apr 28, 2023
Merged

Conversation

adrapereira
Copy link
Contributor

What is this feature?

This PR adds a new button to the trace view that allows for quick access to export the current trace.

⚠️ This feature is currently behind the newTraceViewHeader feature toggle.

Why do we need this feature?

To allow quick access to export/download traces so they can easily be shared or annexed to incidents, for example.

Who is this feature for?

Users of the trace view.

Special notes for your reviewer:

Please check that:

  • It works as expected from a user's perspective.
  • If this is a pre-GA feature, it is behind a feature toggle.
  • The docs are updated, and if this is a notable improvement, it's added to our What's New doc.

@adrapereira adrapereira added this to the 10.0.x milestone Apr 27, 2023
@adrapereira adrapereira self-assigned this Apr 27, 2023
@adrapereira adrapereira marked this pull request as ready for review April 27, 2023 09:57
@adrapereira adrapereira requested review from a team as code owners April 27, 2023 09:57
@adrapereira adrapereira requested review from joshhunt and eledobleefe and removed request for a team April 27, 2023 09:57
@github-actions
Copy link
Contributor

Backend code coverage report for PR #67368
No changes

@github-actions
Copy link
Contributor

Frontend code coverage report for PR #67368

Plugin Main PR Difference
explore 86.11% 86.1% -.01%

label={'Export'}
icon={'save'}
/> */}
<ActionButton onClick={exportTrace} ariaLabel={'Export Trace'} label={'Export'} icon={'save'} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: we don't need the curly brackets for strings

@joey-grafana joey-grafana modified the milestones: 10.0.x, 10.0.0 Apr 28, 2023
@joey-grafana joey-grafana merged commit ffd83a0 into main Apr 28, 2023
@joey-grafana joey-grafana deleted the andre/trace_view_export_trace_button branch April 28, 2023 14:34
ryantxu pushed a commit that referenced this pull request May 3, 2023
* Add export button to trace view

* Support zipkin, jaeger and otlp formats
@zerok zerok modified the milestones: 10.0.0, 10.0.0-preview May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants