Skip to main content

build_observer

Function build_observer 

Source
pub fn build_observer(setup: LangfuseSetup, http: HttpStack) -> LangfuseObserver
Expand description

Starts the reporter with a LangfuseSetup and an already-built HttpStack, returning an observer.

The reporter’s background flush task is started here; the returned LangfuseObserver is passed to AgentCore::observe_session.