[bot] Instrument @ibm-cloud/watsonx-ai (949,214 weekly downloads)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 68/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, typescript
- Bereich
- ai, observability-sre
Rechercherichtung
Beginne mit dem Vergleich der vorhandenen Provider-Instrumentierung in js/src/wrappers/ und js/src/auto-instrumentations/configs/, insbesondere der in der Issue erwähnten OpenAI-ähnlichen Integrationen. Untersuche anschließend e2e/scenarios/ nach dem ähnlichsten Provider-Szenario und der Upstream-WatsonXAI-textChat-API. Als abgeschlossen gilt die Aufgabe, wenn der WatsonXAI-Client durch Instrumentierung, Konfiguration und ein End-to-End-Szenario abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
<!-- library-gap-audit: ibm-watsonx-ai -->
Summary
@ibm-cloud/watsonx-ai is IBM's official Node.js SDK for the watsonx.ai foundation-model service, providing text generation and chat execution against IBM's hosted models (Granite family and others) over a REST API. This repo has zero instrumentation for this SDK — no channels, no wrapper, no auto-instrumentation config, and no e2e scenario reference it anywhere.
What's missing
The SDK's execution surface is a WatsonXAI service client instantiated as:
const watsonxAIService = new WatsonXAI({ version: '2024-05-31', serviceUrl: 'https://us-south.ml.cloud.ibm.com' });
Its primary generation method is textChat(params), which accepts messages (role/content array), modelId, projectId/spaceId, and maxTokens, and returns a response read via result.choices[0].message.content — directly analogous to chat.completions.create() for OpenAI-shaped providers, which this repo does instrument for other vendors. None of WatsonXAI, textChat, or any watsonx-related identifier appear anywhere in js/src/ (repo-wide case-insensitive search for "watsonx" returns zero matches).
Weekly downloads
Weekly downloads: 1,194,419 (as of 2026-08-24; https://api.npmjs.org/downloads/point/last-week/@ibm-cloud/watsonx-ai — reported window 2026-08-17 to 2026-08-23). Sustained over the trailing month rather than a one-off spike: ~1.11M (week of 2026-07-25), ~1.17M (2026-08-01), ~1.44M (2026-08-08), ~1.14M (2026-08-15) per https://api.npmjs.org/downloads/range/last-month/@ibm-cloud/watsonx-ai.
Braintrust docs status
not_found — Checked https://www.braintrust.dev/docs/integrations and https://www.braintrust.dev/docs/instrument/wrap-providers; neither lists watsonx or IBM as a named provider integration (unlike OpenAI, Anthropic, Bedrock, Cerebras, etc. which do have dedicated entries). Braintrust's integrations page notes unlisted providers can be connected via its generic AI Proxy or OpenTelemetry endpoint, but there is no watsonx-specific wrapper, guide, or trace processor documented.
Upstream references
- Package: https://www.npmjs.com/package/@ibm-cloud/watsonx-ai
- Repo: https://github.com/IBM/watsonx-ai-node-sdk
- API docs: https://ibm.github.io/watsonx-ai-node-sdk/ (see
textChatmethod andWatsonXAIclass) - Product docs: https://dataplatform.cloud.ibm.com/docs/content/wsj/analyze-data/fm-node-sdk.html
Local files inspected
- Repo-wide case-insensitive grep for
watsonx— zero matches anywhere in the repository (no source, config, wrapper, plugin, or e2e references). js/src/auto-instrumentations/configs/— no watsonx/IBM config file.js/src/wrappers/— no corresponding wrapper.e2e/scenarios/— no watsonx scenario.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 29
- Forks
- 16
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 69
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus braintrustdata/braintrust-sdk-javascript
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
braintrustdata/braintrust-sdk-javascript#2619 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
braintrustdata/braintrust-sdk-javascript#2618 ·
Maintainer antworten meist innerhalb von 1 Tag
-
typescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
braintrustdata/braintrust-sdk-javascript#2605 ·
Maintainer antworten meist innerhalb von 1 Tag
-
typescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
braintrustdata/braintrust-sdk-javascript#2603 ·
Maintainer antworten meist innerhalb von 1 Tag
-
typescript
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in braintrustdata/braintrust-sdk-javascript
Ähnliche Issues
-
e2e-failure ready-to-code
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
redhat-developer/rhdh-plugin-export-overlays#4391 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Luligu/matterbridge#655 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
software-mansion/argent#1457 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
schmayterling/hibi#245 ·
Maintainer antworten meist innerhalb von 1 Tag
-
After a failed save, the red error banner stays on every page until the app is reloadedEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenai-driven-qa bug claude Minor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
linagora/twake-contacts-frontend#241 ·
Maintainer antworten meist innerhalb von 1 Tag