Repository navigation
feat(telemetry): identify kernel driver mode - #341
Closed
jay-xiao446 wants to merge 1 commit into
Closed
jay-xiao446 wants to merge 1 commit into
jay-xiao446 wants to merge 1 commit into
Conversation
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
jay-xiao446
temporarily deployed
to
azure-prod
September 15, 2026 18:58 — with
GitHub Actions
Inactive
jay-xiao446
temporarily deployed
to
azure-prod
September 15, 2026 18:58 — with
GitHub Actions
Inactive
jay-xiao446
temporarily deployed
to
azure-prod
September 15, 2026 18:58 — with
GitHub Actions
Inactive
jay-xiao446
requested review from
eric-wang-1990,
vikrantpuppala and
vuanhphung
September 15, 2026 22:41
Collaborator
Author
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
KERNELto the telemetryDriverModemodeldriver_connection_params.mode = "KERNEL"for kernel-created sessionsThis distinguishes traffic that uses the SQL Kernel from existing drivers that call the Statement Execution API directly and report
SEA, including the Python connector today and JDBC in the future.flowchart LR Python[Python driver] --> Kernel[SQL Kernel] Kernel -->|mode = KERNEL| Telemetry[Driver telemetry] DirectSEA[Existing direct SEA client] -->|mode = SEA| Telemetry JDBC[JDBC future kernel path] --> KernelValidation
cargo +stable fmt --all -- --checkcargo test telemetry --lib --locked(50 passed)cargo clippy --all-targets -- -D warningscargo test --locked(full unit, integration, and doc-test suite passed; live E2E tests remain ignored as configured)Schema coordination
The current server source-of-truth proto at
proto/logs/frontend/oss-sql-driver-telemetry/sql_driver_telemetry.protodeclares onlyTHRIFTandSEA. The server schema must addKERNELbefore rollout so ingestion accepts the new enum value.This PR was created with GitHub MCP.