Skip to content

feat: trace direct raw summaries#154

Merged
mag1cfrog merged 1 commit into
mainfrom
feat/146-direct-raw-tracing
Jun 23, 2026
Merged

feat: trace direct raw summaries#154
mag1cfrog merged 1 commit into
mainfrom
feat/146-direct-raw-tracing

Conversation

@mag1cfrog

Copy link
Copy Markdown
Owner

Summary

  • add direct raw trace events for measurement, range planning, packet write summaries, and sanitized failures
  • emit DirectRawBulk debug summaries with row counts, column counts, encoded row counts, encoded byte counts, range counts, and elapsed time
  • emit direct raw failure events with phase context, diagnostic codes, and sanitized error summaries
  • cover direct raw summaries, packet write summaries, failure diagnostics, row-value redaction, and omitted raw packet count with unit fakes

Notes

The normal tiberius-raw-bulk write path does not expose raw packet counts. This PR intentionally emits safe range and byte summaries instead of guessing a raw_packet_count field.

Closes #146.

Validation

  • cargo fmt --all --check
  • cargo check --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test --workspace
  • git diff --check

@mag1cfrog mag1cfrog merged commit 14dc432 into main Jun 23, 2026
2 checks passed
@mag1cfrog mag1cfrog deleted the feat/146-direct-raw-tracing branch June 23, 2026 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observability: trace direct raw encoding and packet write summaries

1 participant