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

Serialize trace to response extensions #5564

Closed
lennyburdette opened this issue Jun 28, 2024 · 0 comments
Closed

Serialize trace to response extensions #5564

lennyburdette opened this issue Jun 28, 2024 · 0 comments

Comments

@lennyburdette
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Being able to see the trace for a request, similar to the expose_query_plan plugin, would be a quick and powerful debugging workflow.

Describe the solution you'd like

When the request includes a specific header and the router has the feature enabled, the response extensions includes a JSON-serialized trace for debugging tools to display.

Describe alternatives you've considered

  1. Capturing span-like data on the context and adding it to response extensions.
  2. Adding an trace collector to rover and automatically enabling the appropriate exporter in dev.

Additional context

Not urgent, just an idea.

@lennyburdette lennyburdette closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant