You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/observability.adoc
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ In the trace above we can see the parent span which corresponds to the handling
111
111
interesting thing is the `langchain4j.aiservices.MyAiService.writeAPoem` span which corresponds to the invocation of the AI service.
112
112
The child spans of this span correspond (from to right) to calling the OpenAI API, invoking the `sendEmail` tool and finally invoking calling the OpenAI API again.
113
113
114
-
==== Custom span data
114
+
=== Custom span data
115
115
if you have the need for custom span data, you can simply add a bean implemtenting `ChatModelSpanContributor`.
116
116
[source,java]
117
117
----
@@ -173,6 +173,8 @@ In order to enable events for the prompt and response content you need to activa
0 commit comments