Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(otel): handle nested output attributes#10687

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ianchi wants to merge1 commit intolangfuse:main
base:main
Choose a base branch
Loading
fromianchi:traceloop

Conversation

@ianchi
Copy link

@ianchiianchi commentedNov 25, 2025
edited by ellipsis-devbot
Loading

What does this PR do?

When ingesting Otel spans, when using attribute properties to map input/outputs, nested values were lost.

This happens for instance for TraceLoop LLM outputs with tool calls:

gen_ai.completion.0.tool_calls.0.name

Astool_calls have nested data, beyond 2 levels, all those attributes were lost.

This PR adds logic to convert to nested objects.


Important

Fixes nested attribute handling in Otel spans by enhancingOtelIngestionProcessor to support nested arrays/objects.

  • Behavior:
    • Fixes issue where nested Otel span attributes were lost beyond 2 levels inOtelIngestionProcessor.
    • Adds logic toconvertKeyPathToNestedObject() to handle nested arrays/objects.
  • Functions:
    • UpdatesprocessToEvent() andprocessToIngestionEvents() to utilize new nested object handling.
    • ModifiesextractInputAndOutput() to support nested attribute extraction.
  • Misc:
    • Adds handling for nested structures inconvertKeyPathToNestedObject() inOtelIngestionProcessor.ts.

This description was created byEllipsis for24cd7cb. You cancustomize this summary. It will automatically update as commits are pushed.

depthfirst-app[bot] reacted with thumbs up emojiellipsis-dev[bot] reacted with rocket emoji
@dosubotdosubotbot added the size:SThis PR changes 10-29 lines, ignoring generated files. labelNov 25, 2025
@CLAassistant
Copy link

CLAassistant commentedNov 25, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@dosubotdosubotbot added the bugSomething isn't working labelNov 25, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

bugSomething isn't workingsize:SThis PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ianchi@CLAassistant

[8]ページ先頭

©2009-2025 Movatter.jp