MlflowTracing

marola.observability.MlflowTracing
See theMlflowTracing companion object
final class MlflowTracing extends Tracing

Tracing backend for a local MLflow server (MAROLA_TRACES=mlflow, MIP-0010 §4.3/§5): spans go over OTLP/HTTP to /v1/traces with the x-mlflow-experiment-id header MLflow requires (its OTLP ingest endpoint, MLflow ≥ 3.6, takes an experiment id, not a name — so apply resolves /traces through the same experiments/get-by-name → create call the run ledger uses, MlflowApi.getOrCreateExperiment).

Attributes

Companion
object
Graph
Supertypes
trait Tracing
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def llmSpan[A, S](model: String, attributes: Map[String, String])(effect: A < (Sync & S))(result: A => Map[String, String]): A < (Sync & S)

One LLM call: a span named llm..

One LLM call: a span named llm..

Attributes

Definition Classes
Tracing
def withSpan[A, S](name: String, attributes: Map[String, String])(effect: A < (Sync & S)): A < (Sync & S)

S carries whatever other effects the wrapped block has (Async for Main's console output around the pipeline); the backends only need Sync themselves.

S carries whatever other effects the wrapped block has (Async for Main's console output around the pipeline); the backends only need Sync themselves.

Attributes