Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat (docs): add trace grouping to Langfuse page #4131

Merged
merged 4 commits into from
Dec 18, 2024
Merged

feat (docs): add trace grouping to Langfuse page #4131

merged 4 commits into from
Dec 18, 2024

Conversation

lgrammel
Copy link
Collaborator

Continues #3928

@lgrammel lgrammel changed the title fix (docs): add trace grouping to Langfuse page feat (docs): add trace grouping to Langfuse page Dec 18, 2024

You can open a Langfuse trace and pass the trace ID to AI SDK calls to group multiple execution spans under one trace. The passed name in functionId will be the root span name of the respective execution.

```ts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to put this in a main function for top-level await issues?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's community provided content

Co-authored-by: Nico Albanese <49612682+nicoalbanese@users.noreply.github.com>
@lgrammel lgrammel merged commit 8c97419 into main Dec 18, 2024
8 of 9 checks passed
@lgrammel lgrammel deleted the lg/1GuiuNk5 branch December 18, 2024 10:45
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.

3 participants