Practical overview
When it fits
Use Mltrace when a team wants a shared, coarse-grained record of pipeline runs and a way to follow outputs back through their producing steps during debugging or review.
Who it is for
- Agile or multidisciplinary teams collaborating on machine-learning pipelines
- Teams working with complex data pipelines that need run history and output lineage
Documented uses
- Trace the pipeline steps that produced a particular output.
- Review recent component runs and inspect a component’s run history.
- Flag outputs and see which component runs are commonly involved in producing flagged results.
- Define data and machine-learning tests for pipeline components.
Requirements & limits
The project is open source under the Apache-2.0 license. The README documents a self-hosted development setup using Docker and PostgreSQL.
- The documented logging workflow is Python-based; logging from other file types is listed as a future direction.
- The setup described in the README uses Docker, PostgreSQL credentials, and client-side database configuration.
- Trace inspection is available through both a UI and a CLI, with commands including history, recent, trace, flag, unflag, and review.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Set up the documented development environment
Start Mltrace’s database and server, configure Python logging, and launch the UI as described in the project README.
Before you start
- Docker installed
- A cloned Mltrace release
- PostgreSQL credentials set for the project
- Python and the project requirements for client-side logging
Steps
From the repository root, set your database credentials and run
docker-compose buildfollowed bydocker-compose up.Install client dependencies with the command below and the command below.
pip install -r requirements.txtpip install -e .Set
DB_SERVERto the server IP orlocalhost; useDB_URIinstead if you changed the database URI indocker-compose.yaml.Check that
.flaskenvPostgreSQL credentials match.postgresenv, then open the server address on port 8080; for the development UI, runyarn installandyarn startin./mltrace/server/ui.
Expected outcome
A documented development setup with the database/server running and the UI available for viewing pipeline traces.
Guide limitations
- The README describes these instructions as a prototype/development setup and directs general users to the official documentation.
- The instructions require configuring database credentials and a client connection.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 23 October 2026
- Original website title
- loglabs/mltrace · Official homepage title · retained in its source language

