[bot] Instrument Langfuse (4,207,214 weekly downloads)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, typescript
- Lĩnh vực
- observability
Hướng nghiên cứu
Start with js/src/auto-instrumentations/configs/all.ts and the existing js/src/auto-instrumentations/configs/langsmith.ts as the pattern to follow, then look at the e2e/scenarios/langsmith-instrumentation scenario. The open question is which Langfuse generation to target (legacy langfuse v3 or @langfuse/tracing with observe()), so settle that with a maintainer first. Done means a registered Langfuse config plus an e2e scenario that passes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
<!-- library-gap-audit: langfuse-js-sdk -->
Summary
Langfuse is a widely-used open-source LLM observability/tracing platform whose official JS/TS SDK exposes a meaningful execution/tracing surface analogous to LangSmith — which this repo already instruments. Langfuse's SDK is not instrumented anywhere in this repository.
Langfuse ships two SDK generations, both currently published and in active use:
- Legacy (
langfuse, v3, maintenance mode):new Langfuse()client with.trace(),.span(),.generation(),.event(),.score(). - Current (
@langfuse/tracing+@langfuse/otel, v4+, GA as of 2025-08-28, latest release v6.1.0 on 2026-10-30): OpenTelemetry-basedobserve()function-wrapping decorator,startObservation()/startActiveObservation()manual span creation, andLangfuseSpanProcessorexport, registered on a Node OTel SDK.
What's missing
- No auto-instrumentation config, wrapper, or e2e scenario exists for either the legacy
langfuseclient API or the current@langfuse/tracing/observe()OTel-based API. - This mirrors the pattern already covered for LangSmith (
js/src/auto-instrumentations/configs/langsmith.ts,wrapLangSmithClient/wrapLangSmithRunTrees/wrapLangSmithTraceable, e2elangsmith-instrumentation) — Langfuse is a directly comparable product with an equivalent client/tracing execution surface, but has zero coverage.
Weekly downloads
Weekly downloads: 4,207,214 (as of 2026-11-02; window 2026-10-23 to 2026-10-29; source https://api.npmjs.org/downloads/point/last-week/@langfuse/tracing — current/primary package for the active v4+ SDK line). For reference, the legacy langfuse package alone still logs 2,547,354/week over the same window (https://api.npmjs.org/downloads/point/last-week/langfuse).
Braintrust docs status
not_found — checked https://www.braintrust.dev/docs/integrations and https://www.braintrust.dev/docs/integrations/sdk-integrations/langsmith (which documents the comparable LangSmith integration). Langfuse does not appear in Braintrust's integrations index. Braintrust instead publishes a competitive-comparison article, https://www.braintrust.dev/articles/langfuse-vs-braintrust, positioning Langfuse as an alternative platform rather than an integration target; the only documented interop path is the shared OTLP standard, not a native SDK wrapper.
Upstream sources
- https://github.com/langfuse/langfuse-js (SDK source, releases)
- https://js.reference.langfuse.com/ (API reference)
- https://langfuse.com/docs/observability/sdk/overview
- https://langfuse.com/docs/observability/sdk/instrumentation
- https://langfuse.com/docs/observability/sdk/upgrade-path/js-v3-to-v4
- https://langfuse.com/changelog/2025-08-28-typescript-sdk-v4-ga
- https://github.com/langfuse/langfuse-js/releases (latest: v6.1.0, 2026-10-30)
Local repo files inspected
- Repo-wide case-insensitive search for
langfuse— only one incidental match, unrelated to actual instrumentation:js/src/instrumentation/plugins/livekit-plugin.ts:740(!key.startsWith("langfuse."), a generic OTel-attribute filter that stripslangfuse.-namespaced keys, not a Langfuse integration). js/src/auto-instrumentations/configs/all.ts(full instrumentation registry — no Langfuse entry;langsmith.tsentry present for comparison)e2e/scenarios/directory listing (nolangfuse-named scenario;langsmith-instrumentationexists for comparison)docs/directory (no mention of Langfuse)
- Ngôn ngữ chính
- TypeScript
- Star
- 29
- Fork
- 22
- Merge trung bình
- 1 ngày 6 giờ
- Pull request đã merge (30 ngày)
- 69
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của braintrustdata/braintrust-sdk-javascript
-
typescript
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
braintrustdata/braintrust-sdk-javascript#2708 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
braintrustdata/braintrust-sdk-javascript#2686 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
braintrustdata/braintrust-sdk-javascript#2685 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[bot] Cloudflare Workers AI `queueRequest` (batch) inference is explicitly excluded from tracingĐang mởcloudflare typescript
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
braintrustdata/braintrust-sdk-javascript#2684 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
High TypeScript checking cost from generated Zod 3 schemasCó thể đã có người làm @lforst đã nhận 20 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
braintrustdata/braintrust-sdk-javascript#2624 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của braintrustdata/braintrust-sdk-javascript
Issue tương tự
-
[Text] Add Reading Time & Word Count Estimator for Reflection Notes in src/lib/text/reading-time.tsĐang mởarea:core beginner-friendly community contributions-welcome difficulty:easy enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[fullsend] E2E: scorecard — filecheck GitLab entity metrics unavailable due to initialDelay timingĐang mởe2e-failure ready-to-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
redhat-developer/rhdh-plugin-export-overlays#4698 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
devswha/herdr-web-ui#2884 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
b:minor bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
software-mansion/argent#1771 ·
Maintainer thường phản hồi trong vòng 1 ngày