Skip to main content

Module observability

Module observability 

Source
Expand description

Translates a typed Langfuse config from defect-config into an observer for defect-obs.

Translation and validation happen at CLI assembly time: defect-obs does not depend on defect-config (preserving a one-way dependency), and policy checks like “enabled but missing key” naturally belong in the assembly layer.

Observability setup — tracing and Langfuse integration.

Functions§

build_langfuse_observer
Builds an observer from a typed LangfuseConfig.