Conversation
lean-zone
force-pushed
the
feat/langfuse-tracing
branch
from
September 15, 2026 03:14
af96bc3 to
e1ca0ab
Compare
|
✅ Build and publish successful - Preview fastgpt Image: 🕒 Time: 2026-09-15 12:24:25 (UTC+8) |
ctlaltlaltc
reviewed
Sep 15, 2026
c121914yu
reviewed
Sep 15, 2026
lean-zone
force-pushed
the
feat/langfuse-tracing
branch
from
September 15, 2026 09:19
e1ca0ab to
8bc81ea
Compare
lean-zone
force-pushed
the
feat/langfuse-tracing
branch
from
September 16, 2026 02:21
8bc81ea to
0776f73
Compare
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.
背景
为 FastGPT 工作流接入 Langfuse 可观测性,将一次对话及其工作流节点执行信息上报至 Langfuse,便于查看完整 Trace、节点输入输出、模型及 Token 使用量。
主要改动
扩展
@fastgpt-sdk/oteladdSpanProcessor新增 Langfuse tracing 适配层
LANGFUSE_SECRET_KEYLANGFUSE_PUBLIC_KEYLANGFUSE_BASE_URLglobal.systemEnv.langfuse动态读取配置langfuse.*属性的 Span增加工作流埋点
增加 Langfuse 配置类型、依赖和环境变量模板
配置示例