MlflowApi

marola.ledger.MlflowApi
object MlflowApi

The two MLflow REST calls shared by the run ledger (MlflowRunLedger) and the trace exporter (observability.MlflowTracing, MIP-0010 task 6 — MLflow's OTLP endpoint wants an experiment id in a header, so tracing needs the same name → id resolution the ledger does).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MlflowApi.type

Members list

Value members

Concrete methods

def encode(s: String): String
def field(json: JsonValue, key: String): String
def getOrCreateExperiment(trackingUri: String, name: String): String < Sync

experiments/get-by-name, falling back to experiments/create only on a 404 (not found) — any other failure (network, 5xx) is surfaced rather than masked as "must not exist yet".

experiments/get-by-name, falling back to experiments/create only on a 404 (not found) — any other failure (network, 5xx) is surfaced rather than masked as "must not exist yet".

Attributes

def restBase(trackingUri: String): String