DefaultLangfuseBatchSender

org.llm4s.trace.DefaultLangfuseBatchSender

Default implementation of LangfuseBatchSender using HTTP requests.

Sends trace events to Langfuse using basic authentication with the provided public and secret keys. Handles both successful responses (200-299) and partial success responses (207).

Logs warnings if credentials are not configured and errors if the HTTP request fails.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def sendBatch(events: Seq[Obj], config: LangfuseHttpApiCaller): Unit

Sends a batch of trace events to Langfuse.

Sends a batch of trace events to Langfuse.

Value parameters

config

HTTP API configuration including URL and credentials

events

Sequence of JSON objects representing trace events

Attributes

Definition Classes