Skip to content

Commit 225307a

Browse files
authored
Merge pull request #1307 from quarkiverse/langfuse-docs
Add doc note about how to use LangFuse
2 parents ebf9d37 + e3796ed commit 225307a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/modules/ROOT/pages/ai-services.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,17 @@ public class CustomSpanDataContributor implements ChatModelSpanContributor {
469469
}
470470
----
471471

472+
==== LangFuse
473+
474+
Traces can be exported to link:https://langfuse.com[LangFuse] simply by making the following configuration in `application.properties`:
475+
476+
[source,properties]
477+
----
478+
quarkus.otel.exporter.otlp.headers=Authorization=Basic <base64 of public:key>
479+
quarkus.otel.exporter.otlp.endpoint=https://cloud.langfuse.com/api/public/otel
480+
quarkus.otel.exporter.otlp.traces.protocol=http/protobuf
481+
----
482+
472483
=== Auditing
473484

474485
The extension allows users to audit the process of implementing an AiService by observing normal CDI events. The following example shows a class that audits all events.

0 commit comments

Comments
 (0)