openllmetry icon indicating copy to clipboard operation
openllmetry copied to clipboard

🐛 Bug Report: Haystack example does not produce prompts in the spans

Open kshitiz-okahu opened this issue 1 year ago • 1 comments

Which component is this bug for?

Haystack Instrumentation

📜 Description

Hi, I am running the haystack sample. Looks like traces does not have information about the components of the pipeline and the input and output to the pipeline. Do you have plans to add this? Has there been any discussion about this that I can read? Thanks.

👟 Reproduction steps

Run the code in haystack_app.py.

The root span produced does not have the input and output prompts

👍 Expected behavior

The output spans should have the input and output prompts in the root span.

👎 Actual Behavior with Screenshots

The attributes field should have the following fields

"traceloop.entity.input" "traceloop.entity.output"

🤖 Python Version

No response

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • [X] I checked and didn't find similar issue

Are you willing to submit PR?

None

kshitiz-okahu avatar May 28 '24 09:05 kshitiz-okahu

Thanks for reporting @kshitiz-okahu! We're working on a fix

nirga avatar May 29 '24 12:05 nirga