Repository navigation
feat(telemetry): add statement execution telemetry - #270
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
jay-xiao446
force-pushed
the
kernel-telemetry-phase-7
branch
from
August 19, 2026 20:48
34c7468 to
c1c40c5
Compare
jay-xiao446
force-pushed
the
jay-xiao446/stack/kernel-telemetry-phase-3
branch
from
August 19, 2026 20:48
5d4084d to
570ae1c
Compare
jay-xiao446
force-pushed
the
kernel-telemetry-phase-7
branch
from
August 19, 2026 20:51
c1c40c5 to
4ac22b5
Compare
jay-xiao446
force-pushed
the
jay-xiao446/stack/kernel-telemetry-phase-3
branch
from
August 19, 2026 20:51
570ae1c to
55a1310
Compare
Signed-off-by: Jay Xiao <jay.xiao@databricks.com>
jay-xiao446
force-pushed
the
jay-xiao446/stack/kernel-telemetry-phase-3
branch
from
August 19, 2026 20:55
55a1310 to
725370b
Compare
jay-xiao446
force-pushed
the
kernel-telemetry-phase-7
branch
from
August 19, 2026 20:55
4ac22b5 to
6c992bc
Compare
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
Adds Phase 3 statement execution telemetry on top of the Phase 7 binding configuration stack.
This wires statement lifecycle telemetry through the existing telemetry runtime so sync and async statement execution emit terminal operation events with sanitized error details, statement metadata, result format/compression hints, retry count, and async poll counters.
flowchart TD Session[Session / SessionInner] --> Statement[Statement] Statement --> Observer[StatementTelemetry observer] Observer --> Context[StatementTelemetryContext] Context --> ConnectionTelemetry[ConnectionTelemetry] ConnectionTelemetry --> Lease[TelemetryClientLease] Lease --> Client[TelemetryClient] Client --> Exporter[Databricks telemetry exporter]sequenceDiagram participant App as Client app participant Stmt as Statement participant Obs as StatementTelemetry participant Sea as SEA transport participant Tel as ConnectionTelemetry App->>Stmt: execute / submit / execute_direct Stmt->>Obs: create observer Stmt->>Sea: execute statement Sea-->>Stmt: result or error Stmt->>Obs: record result metadata Obs->>Tel: emit terminal statement eventValidation
cargo +stable fmt --all --checkcargo test statement_ --lib --lockedcargo test --lib --lockedcargo clippy --all-targets --locked -- -D warningsgit diff --check