Replies: 1 comment 1 reply
-
|
Based on the Spring AI integration documentation, empty input/output fields in traces are expected by default and require additional configuration(1). To capture prompt and completion content in your Spring AI traces, you need to enable logging in your spring:
ai:
chat:
observations:
log-prompt: true
log-completion: trueAdditionally, you must add a custom span processor to include prompt and completion properties on the spans. Create a For tool call visibility, Spring AI's internal calls should be recorded as spans with attributes like Make sure your sampling probability is set to capture all traces(1): management:
tracing:
sampling:
probability: 1.0If issues persist after applying these configurations, verify that your Spring Boot Actuator and Micrometer tracing dependencies are correctly installed as specified in the integration guide(1). 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe your question
After the integration of Springai, tool calls were not displayed in Langfuse

I saw that the data collection was successful, but the input and output were empty, and during the calling process, although toolcall was returned, the next call did not display the result of toolcall.
Langfuse Cloud or Self-Hosted?
Langfuse Cloud
If Self-Hosted
No response
If Langfuse Cloud
No response
SDK and integration versions
No response
Pre-Submission Checklist
Beta Was this translation helpful? Give feedback.
All reactions