Skip to content

feat(query): add trace_debug OTLP dump utilities for direct and HTTP query tracing#19642

Open
forsaken628 wants to merge 4 commits intodatabendlabs:mainfrom
forsaken628:tracing
Open

feat(query): add trace_debug OTLP dump utilities for direct and HTTP query tracing#19642
forsaken628 wants to merge 4 commits intodatabendlabs:mainfrom
forsaken628:tracing

Conversation

@forsaken628
Copy link
Copy Markdown
Collaborator

@forsaken628 forsaken628 commented Mar 30, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

This PR adds a query trace debugging workflow for databend-query that can dump complete OTLP JSON traces for both direct SQL execution and the HTTP /v1/query path.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Mar 30, 2026
@forsaken628 forsaken628 marked this pull request as ready for review April 1, 2026 03:01
@forsaken628 forsaken628 requested a review from zhang2014 April 1, 2026 03:01
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c49d542ebe

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@forsaken628 forsaken628 requested a review from zhang2014 April 2, 2026 04:21
@zhang2014 zhang2014 added the ci-benchmark Benchmark: run all test label Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Docker Image for PR

  • tag: pr-19642-fcbd956-1775115325

note: this image tag is only available for internal use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-benchmark Benchmark: run all test pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants