feat!: Add optional OTEL LLM instrumentation to provider packages#1122
Merged
jsonbailey merged 8 commits intomainfrom Feb 25, 2026
Merged
feat!: Add optional OTEL LLM instrumentation to provider packages#1122jsonbailey merged 8 commits intomainfrom
jsonbailey merged 8 commits intomainfrom
Conversation
jsonbailey
commented
Feb 24, 2026
packages/ai-providers/server-ai-langchain/src/LangChainProvider.ts
Outdated
Show resolved
Hide resolved
kinyoklion
reviewed
Feb 24, 2026
packages/ai-providers/server-ai-langchain/src/LangChainProvider.ts
Outdated
Show resolved
Hide resolved
kinyoklion
approved these changes
Feb 25, 2026
Base automatically changed from
jb/aic-1640/example-ai-observability
to
main
February 25, 2026 20:24
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
Contributor
|
@launchdarkly/browser size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Merged
jsonbailey
pushed a commit
that referenced
this pull request
Feb 25, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>akamai-edgeworker-sdk-common: 2.0.15</summary> ## [2.0.15](akamai-edgeworker-sdk-common-v2.0.14...akamai-edgeworker-sdk-common-v2.0.15) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from ^2.18.0 to ^2.18.1 </details> <details><summary>akamai-server-base-sdk: 3.0.16</summary> ## [3.0.16](akamai-server-base-sdk-v3.0.15...akamai-server-base-sdk-v3.0.16) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.14 to ^2.0.15 * @launchdarkly/js-server-sdk-common bumped from ^2.18.0 to ^2.18.1 </details> <details><summary>akamai-server-edgekv-sdk: 1.4.18</summary> ## [1.4.18](akamai-server-edgekv-sdk-v1.4.17...akamai-server-edgekv-sdk-v1.4.18) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/akamai-edgeworker-sdk-common bumped from ^2.0.14 to ^2.0.15 * @launchdarkly/js-server-sdk-common bumped from ^2.18.0 to ^2.18.1 </details> <details><summary>browser: 0.1.10</summary> ## [0.1.10](browser-v0.1.9...browser-v0.1.10) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-client-sdk bumped from 4.2.1 to 4.3.0 </details> <details><summary>browser-telemetry: 1.0.26</summary> ## [1.0.26](browser-telemetry-v1.0.25...browser-telemetry-v1.0.26) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/js-client-sdk bumped from 4.2.1 to 4.3.0 </details> <details><summary>cloudflare-server-sdk: 2.7.15</summary> ## [2.7.15](cloudflare-server-sdk-v2.7.14...cloudflare-server-sdk-v2.7.15) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.13 to 2.6.14 </details> <details><summary>fastly-server-sdk: 0.2.7</summary> ## [0.2.7](fastly-server-sdk-v0.2.6...fastly-server-sdk-v0.2.7) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 </details> <details><summary>jest: 1.0.5</summary> ## [1.0.5](jest-v1.0.4...jest-v1.0.5) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/react-native-client-sdk bumped from ~10.13.1 to ~10.14.0 </details> <details><summary>js-client-sdk: 4.3.0</summary> ## [4.3.0](js-client-sdk-v4.2.1...js-client-sdk-v4.3.0) (2026-02-25) ### Features * Consolidate endpoint paths. Add FDv2 endpoints. ([#1125](#1125)) ([297ef9d](297ef9d)) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-client-sdk-common bumped from 1.19.1 to 1.20.0 </details> <details><summary>js-client-sdk-common: 1.20.0</summary> ## [1.20.0](js-client-sdk-common-v1.19.1...js-client-sdk-common-v1.20.0) (2026-02-25) ### Features * Add flag eval model for FDv2. ([#1124](#1124)) ([028e63f](028e63f)) * Consolidate endpoint paths. Add FDv2 endpoints. ([#1125](#1125)) ([297ef9d](297ef9d)) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-sdk-common bumped from 2.21.0 to 2.22.0 </details> <details><summary>js-sdk-common: 2.22.0</summary> ## [2.22.0](js-sdk-common-v2.21.0...js-sdk-common-v2.22.0) (2026-02-25) ### Features * Add flag eval model for FDv2. ([#1124](#1124)) ([028e63f](028e63f)) </details> <details><summary>js-server-sdk-common: 2.18.1</summary> ## [2.18.1](js-server-sdk-common-v2.18.0...js-server-sdk-common-v2.18.1) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-sdk-common bumped from 2.21.0 to 2.22.0 </details> <details><summary>js-server-sdk-common-edge: 2.6.14</summary> ## [2.6.14](js-server-sdk-common-edge-v2.6.13...js-server-sdk-common-edge-v2.6.14) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 </details> <details><summary>node-server-sdk: 9.10.8</summary> ## [9.10.8](node-server-sdk-v9.10.7...node-server-sdk-v9.10.8) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 </details> <details><summary>node-server-sdk-dynamodb: 6.2.20</summary> ## [6.2.20](node-server-sdk-dynamodb-v6.2.19...node-server-sdk-dynamodb-v6.2.20) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.7 to 9.10.8 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.8 </details> <details><summary>node-server-sdk-otel: 1.3.8</summary> ## [1.3.8](node-server-sdk-otel-v1.3.7...node-server-sdk-otel-v1.3.8) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.7 to 9.10.8 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.8 </details> <details><summary>node-server-sdk-redis: 4.2.20</summary> ## [4.2.20](node-server-sdk-redis-v4.2.19...node-server-sdk-redis-v4.2.20) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/node-server-sdk bumped from 9.10.7 to 9.10.8 * peerDependencies * @launchdarkly/node-server-sdk bumped from >=9.4.3 to >=9.10.8 </details> <details><summary>react-native-client-sdk: 10.14.0</summary> ## [10.14.0](react-native-client-sdk-v10.13.1...react-native-client-sdk-v10.14.0) (2026-02-25) ### Features * Consolidate endpoint paths. Add FDv2 endpoints. ([#1125](#1125)) ([297ef9d](297ef9d)) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-client-sdk-common bumped from 1.19.1 to 1.20.0 </details> <details><summary>server-sdk-ai: 0.16.4</summary> ## [0.16.4](server-sdk-ai-v0.16.3...server-sdk-ai-v0.16.4) (2026-02-25) ### Bug Fixes * Improve usage reporting ([#1108](#1108)) ([7a003b7](7a003b7)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 * peerDependencies * @launchdarkly/js-server-sdk-common bumped from 2.x to 2.18.1 </details> <details><summary>server-sdk-ai-langchain: 0.5.0</summary> ## [0.5.0](server-sdk-ai-langchain-v0.4.6...server-sdk-ai-langchain-v0.5.0) (2026-02-25) ### ⚠ BREAKING CHANGES * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ### Features * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ([1ca3ce7](1ca3ce7)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/server-sdk-ai bumped from ^0.16.3 to ^0.16.4 * peerDependencies * @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.16.4 </details> <details><summary>server-sdk-ai-openai: 0.5.0</summary> ## [0.5.0](server-sdk-ai-openai-v0.4.6...server-sdk-ai-openai-v0.5.0) (2026-02-25) ### ⚠ BREAKING CHANGES * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ### Features * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ([1ca3ce7](1ca3ce7)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 * @launchdarkly/server-sdk-ai bumped from ^0.16.3 to ^0.16.4 * peerDependencies * @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.16.4 </details> <details><summary>server-sdk-ai-vercel: 0.5.0</summary> ## [0.5.0](server-sdk-ai-vercel-v0.4.6...server-sdk-ai-vercel-v0.5.0) (2026-02-25) ### ⚠ BREAKING CHANGES * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ### Features * Add optional OTEL LLM instrumentation to provider packages ([#1122](#1122)) ([1ca3ce7](1ca3ce7)) ### Dependencies * The following workspace dependencies were updated * devDependencies * @launchdarkly/server-sdk-ai bumped from ^0.16.3 to ^0.16.4 * peerDependencies * @launchdarkly/server-sdk-ai bumped from ^0.15.0 || ^0.16.0 to ^0.16.4 </details> <details><summary>shopify-oxygen-sdk: 0.1.5</summary> ## [0.1.5](shopify-oxygen-sdk-v0.1.4...shopify-oxygen-sdk-v0.1.5) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common bumped from 2.18.0 to 2.18.1 </details> <details><summary>vercel-server-sdk: 1.3.40</summary> ## [1.3.40](vercel-server-sdk-v1.3.39...vercel-server-sdk-v1.3.40) (2026-02-25) ### Dependencies * The following workspace dependencies were updated * dependencies * @launchdarkly/js-server-sdk-common-edge bumped from 2.6.13 to 2.6.14 </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Mostly automated version/dependency updates, but it includes a breaking 0.5.0 release for AI providers and client SDK endpoint/protocol changes (FDv2) that could impact compatibility at runtime. > > **Overview** > **Release-please version bump across the monorepo.** Updates `.release-please-manifest.json`, package versions, and changelogs for many SDKs and supporting packages. > > Notable functional deltas called out in changelogs include: **optional OpenTelemetry LLM instrumentation** in the `server-sdk-ai-*` provider packages (marked *breaking* with a 0.5.0 release), **FDv2 support work** (new flag eval model and consolidated/expanded FDv2 endpoints) in `js-sdk-common`/`js-client-sdk-common` and propagated to the browser and React Native SDKs, plus a `server-sdk-ai` usage-reporting fix. The remaining changes are dependency bumps and synchronized `sdkVersion` constants used in platform/user-agent metadata. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9a8ca3c. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Note
Medium Risk
Touches provider initialization/invocation paths and adds dynamic optional instrumentation plus always-on telemetry for Vercel, which can affect runtime behavior and performance; dependency/peer range changes (notably
openaiandaimajor versions) may introduce integration friction.Overview
Adds automatic OpenTelemetry tracing support across the server-side AI provider packages.
server-ai-openaiandserver-ai-langchainnow attempt a one-time, best-effort ESM patch on first providercreate()via@traceloop/instrumentation-*’smanuallyInstrument()(falling back silently with a debug log if the optional packages aren’t installed), and both packages document how to enable this.server-ai-vercelnow always enables the Vercel AI SDK’s built-in telemetry by passingexperimental_telemetry: { isEnabled: true }on each request; tests and README are updated accordingly, and peer dependency ranges are widened (notablyaiup to v6 and@ai-sdk/*up to v3). Dependency metadata is updated to mark the OTEL packages as optional peers, andserver-ai-openaitightens itsopenaipeer range to<6(and aligns devDependency to^5).Written by Cursor Bugbot for commit 8c8f836. This will update automatically on new commits. Configure here.