Skip to content

trace model operations and preserve task ancestry through LangSmith - #446

Merged
xandreeddev merged 1 commit into
mainfrom
langsmith-telemetry
Oct 31, 2026
Merged

xandreeddev merged 1 commit into
mainfrom
langsmith-telemetry

Conversation

@xandreeddev

Copy link
Copy Markdown
Owner

What

  • Add LangSmith OTLP layers for an explicit project or registered agent/environment, with redacted credentials and the existing shared telemetry flusher.
  • Classify native model operations once, preserve reported compatibility-provider usage, and keep wrapper spans and planned tool batches out of inference totals. Existing content-capture consent remains in force.
  • Store optional task trace parents in format 16 and restore ancestry for initial and queued executions across processes. Existing start retries retain their first committed parent; old journals remain readable. Custom Tasks adapters rerun the extended conformance kit.

Checks

  • Repository typecheck, Foundry self-check and demo: pass, zero findings.
  • bun test: 3,588 pass, 4 environment-dependent skips, 0 fail; 17,699 assertions across 306 files.
  • Package build and packed Node/Bun consumers: pass, including local OTLP classification/usage and fresh-process task ancestry checks; all prior recovery fixtures pass.
  • Generated docs: clean, stored format 16 with 40 shapes; format history 1–15 and all eight prior fixture sessions remain exact.
  • Website: 15 pages checked, all internal links resolve.
  • Models proxy checks on Bun 1.3.6: 46 pass, 2 environment-dependent skips, 0 fail.

Local HTTP collector and fresh-process journeys verify emitted telemetry and task ancestry. Live LangSmith ingestion and paid provider calls have not been verified.

Add LangSmith OTLP layers with explicit project or agent targeting and classify real inference spans without counting framework wrappers or planned tools twice. Keep credentials redacted and preserve existing content capture controls; raw compatibility responses annotate only usage actually reported by their provider.

Record optional task trace parents in stored format 16 and restore them for initial and queued executions across processes. Extend conformance and local collector journeys, retain previous journal fixtures, and verify the public packages on Node and Bun.
@xandreeddev
xandreeddev merged commit a34c0a1 into main Oct 31, 2026
1 check passed
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.

1 participant