Skip to content

🦋 New version release - #85

Merged
brentrager merged 1 commit into
mainfrom
changeset-release/main
Aug 15, 2026
Merged

🦋 New version release#85
brentrager merged 1 commit into
mainfrom
changeset-release/main

Conversation

@brentrager

@brentrager brentrager commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@smooai/observability@0.16.0

Minor Changes

  • d40f623: Rust bootstrap now reports whether it is actually EXPORTING, not just whether it
    ran, and warns loudly when no OTLP endpoint is configured. installed: true with
    no endpoint used to read as success while nothing left the process.

  • 1104624: Instrument the OpenAI Node SDK, and stop leaking prompt content into GenAI span events.

    wrapOpenAI(client, options) returns a proxy of an OpenAI client whose chat.completions.create emits OTel GenAI semantic-convention spans — request model / sampling params / tool names on the way out, response model, id, finish reason, and token usage on the way back. Streaming is handled: the span stays open until the stream drains (or the consumer breaks out early), and picks up the usage chunk emitted under stream_options.include_usage. The client is duck-typed, so this adds no dependency on openai and works against Groq, Together, Fireworks, DeepSeek, Azure OpenAI, and any OpenAI-compatible gateway via { system: 'groq' }.

    Cost has a seam now: nothing in the platform computes an LLM price on its own, which is why the dashboard's cost column is empty. Pass costUsd({ requestModel, responseModel, inputTokens, outputTokens, cachedTokens }) and it lands on gen_ai.usage.cost_usd.

    recordGenAIMessage now routes content through the SDK's PII scrub before it leaves the process. Prompts are the most PII-dense payload this SDK can touch, and wrapOpenAI keeps content recording off by default ({ recordContent: true } opts in).

@brentrager
brentrager force-pushed the changeset-release/main branch from 93dbecc to fa2bf62 Compare August 15, 2026 19:39
@brentrager
brentrager merged commit bd5b156 into main Aug 15, 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