Skip to content

feat(tracing): add datastore tracing plumbing - #2760

Merged
ThePumpingLemma merged 1 commit into
block:mainfrom
ThePumpingLemma:dgrochowski/datastore-spans-plumbing
Jul 28, 2026
Merged

feat(tracing): add datastore tracing plumbing#2760
ThePumpingLemma merged 1 commit into
block:mainfrom
ThePumpingLemma:dgrochowski/datastore-spans-plumbing

Conversation

@ThePumpingLemma

@ThePumpingLemma ThePumpingLemma commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Configure a dedicated datastore tracing target on the OTLP layer while preserving explicit logging filters and avoiding span overhead when OTLP is disabled.

This is in preparation for adding trace spans for datastores used in Buzz

Update — 2026-07-27

  • Export HTTP requests as INFO server spans under buzz_relay, preserving request parentage for datastore spans.
  • Configure OTEL span filtering independently with BUZZ_OTEL_FILTER, so RUST_LOG changes cannot break trace topology.
  • Verify exported HTTP and datastore spans share a trace ID and have the expected parent/child relationship.

@ThePumpingLemma
ThePumpingLemma requested a review from a team as a code owner July 24, 2026 20:38
@ThePumpingLemma ThePumpingLemma changed the title Add datastore tracing plumbing feat(tracing): add datastore tracing plumbing Jul 24, 2026
@ThePumpingLemma
ThePumpingLemma force-pushed the dgrochowski/datastore-spans-plumbing branch 2 times, most recently from 357d82c to 8fed1e7 Compare July 27, 2026 21:38
Configure dedicated datastore tracing and an INFO-level HTTP server span so datastore operations retain request parentage. Keep OTEL filtering independent from stdout logging and verify exported parent/child IDs.

Co-authored-by: Amp <amp@ampcode.com>
@ThePumpingLemma
ThePumpingLemma force-pushed the dgrochowski/datastore-spans-plumbing branch from 8fed1e7 to 4bd04dd Compare July 27, 2026 21:42
@ThePumpingLemma
ThePumpingLemma merged commit e94b9ae into block:main Jul 28, 2026
32 checks passed
@ThePumpingLemma
ThePumpingLemma deleted the dgrochowski/datastore-spans-plumbing branch July 28, 2026 03:32
tlongwell-block pushed a commit that referenced this pull request Jul 28, 2026
* origin/main:
  Publish symbol-bearing debug relay images (#3250)
  feat(tracing): add datastore tracing plumbing (#2760)

Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
johnmatthewtennant added a commit that referenced this pull request Jul 28, 2026
* origin/main:
  Publish symbol-bearing debug relay images (#3250)
  feat(tracing): add datastore tracing plumbing (#2760)
  fix(buzz-acp): accept id-keyed config options when resolving model switch (#2795)
  fix(desktop): probe legacy Goose install dir on Windows (#3248)
  refactor(desktop): extract install command execution into install_exec (#3251)

Signed-off-by: John Tennant <jtennant@squareup.com>
tlongwell-block pushed a commit that referenced this pull request Jul 28, 2026
* origin/main: (70 commits)
  feat(relay): make Postgres pool size configurable, default 50 (#3191)
  Publish symbol-bearing debug relay images (#3250)
  feat(tracing): add datastore tracing plumbing (#2760)
  fix(buzz-acp): accept id-keyed config options when resolving model switch (#2795)
  fix(desktop): probe legacy Goose install dir on Windows (#3248)
  refactor(desktop): extract install command execution into install_exec (#3251)
  Polish composer activity layout and transitions (#3151)
  feat(invites): add use-limited invite links (#3141)
  fix(node): bump Buzz-supplied Node runtimes past OpenClaw's >=24.15.0 floor (#3218)
  fix(desktop): preserve thread anchor through layout reflow (#3212)
  feat(search): parse from:/in:/after:/before: and pass them in the filter (#2871)
  fix(desktop): fetch join policies through native networking (#2862)
  fix(desktop): republish agent identity records when a persona rename propagates (#2607)
  fix(desktop): keep project Inbox previews compact (#3193)
  Inbox refactor (#2045)
  Fix composer selection formatting and drop overlay (#3172)
  Refine pending message status (#3153)
  feat(admin): show reported message content in report detail (#3149)
  fix(desktop): recover full local storage on startup (#3182)
  Replace mobile reconnect banners with skeleton shimmer (#3143)
  ...

Co-authored-by: Tyler Longwell <tlongwell@block.xyz>
Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
cameronhotchkies pushed a commit to cameronhotchkies/buzz that referenced this pull request Jul 28, 2026
…y-to-env

* origin/main: (22 commits)
  Polish mobile message and search layouts (block#3121)
  Add mobile message image galleries (block#3312)
  chore(release): release Buzz Desktop version 0.5.0 (block#3213)
  feat(relay): make Postgres pool size configurable, default 50 (block#3191)
  Publish symbol-bearing debug relay images (block#3250)
  feat(tracing): add datastore tracing plumbing (block#2760)
  fix(buzz-acp): accept id-keyed config options when resolving model switch (block#2795)
  fix(desktop): probe legacy Goose install dir on Windows (block#3248)
  refactor(desktop): extract install command execution into install_exec (block#3251)
  Polish composer activity layout and transitions (block#3151)
  feat(invites): add use-limited invite links (block#3141)
  fix(node): bump Buzz-supplied Node runtimes past OpenClaw's >=24.15.0 floor (block#3218)
  fix(desktop): preserve thread anchor through layout reflow (block#3212)
  feat(search): parse from:/in:/after:/before: and pass them in the filter (block#2871)
  fix(desktop): fetch join policies through native networking (block#2862)
  fix(desktop): republish agent identity records when a persona rename propagates (block#2607)
  fix(desktop): keep project Inbox previews compact (block#3193)
  Inbox refactor (block#2045)
  Fix composer selection formatting and drop overlay (block#3172)
  Refine pending message status (block#3153)
  ...

Signed-off-by: npub1x4hk035p3p9q39a3fcrd2fe30lpkrhr5dwe0cqzzjphxyyh8m0gsq4vqap <356f67c681884a0897b14e06d527317fc361dc746bb2fc0042906e6212e7dbd1@buzz.block.builderlab.xyz>
Co-authored-by: npub1x4hk035p3p9q39a3fcrd2fe30lpkrhr5dwe0cqzzjphxyyh8m0gsq4vqap <356f67c681884a0897b14e06d527317fc361dc746bb2fc0042906e6212e7dbd1@buzz.block.builderlab.xyz>
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.

2 participants