This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.0a4 instead.
Reason given by maintainers: bugs
sqlmesh-observability
Elementary-style data observability for SQLMesh
projects. It installs as a package next to SQLMesh, is enabled from config.py, and needs no
changes to SQLMesh itself.
Status: pre-alpha. Expect breaking changes before 1.0. Requires Python 3.9 or newer and a SQLMesh release with the execution-observation API (added after
v0.236.4).
What it does
- Logs every run. Each plan and run writes its model runs and audit results to an
observabilityschema in your warehouse, keyed by model version. - Gates on anomalies.
volume_anomaly,freshness_anomaly, andcolumn_anomalyare SQLMesh audits that compute history from your data and can block a plan before promotion. - Watches passively. It records row counts, freshness lag, column null rates and means, and schema changes on every run, and scores them for anomalies when you read them.
- Reports.
sqlmesh-observe reportwrites an offline HTML dashboard of what is in prod, andsqlmesh-observe serveserves the same dashboard as a read-only web app. - Alerts.
sqlmesh-observe monitorsends one grouped message per model owner for new prod failures and anomalies, through your own notification target.
Quick start
pip install sqlmesh-observability
pip install "sqlmesh-observability[serve]" # optional: the web app
# config.py
from sqlmesh.core.config import Config
from sqlmesh_observability import install
config = install(
Config(...),
"warehouse", # gateway that holds the log
monitors={"volume": True, "schema": True}, # optional passive monitors
)
sqlmesh plan # unchanged; the log is written as it runs
sqlmesh-observe report -o report.html # open the dashboard
sqlmesh-observe init-audits # optional: add the anomaly audits to the project
See Getting started for installation and a full walkthrough.
Docs site and live demo report: https://w4n2.github.io/sqlmesh-observability/
Documentation
| Guide | Covers |
|---|---|
| Getting started | Requirements, installation, first report |
| Configuration | Every install() argument, and what install() changes |
| CLI reference | init-audits, report, serve, monitor |
| Anomaly audits | volume_anomaly, freshness_anomaly, column_anomaly |
| Passive monitors | Volume, freshness, schema, and column metrics, and how they are scored |
| Report and app | What the dashboard shows, scope, and deploying serve |
| Alerts | monitor, notification targets, grouping, and delivery |
| Warehouse tables | The tables the package writes, and their columns |
| Known limitations | What isn't covered yet |
How it works
install() adds a notification target and wraps the SQLMesh console's execution observer, on
that instance only. It never replaces the console and never writes SQLMesh state. As SQLMesh
works, the observer copies plain facts (model, version, interval, audit result). When each plan
or run finishes, they are written to the package's own tables. The read side (report, serve,
monitor) joins those rows to SQLMesh state, so a version built in dev and promoted to prod
counts as prod, and a dev-only failure never shows up in prod.
Development
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
scripts/ci.sh # everything a change must pass
scripts/ci.sh runs, in order:
- the search guards;
- ruff, the format check, and mypy;
- a Python 3.9 syntax check;
- the test suite, against the installed SQLMesh and against SQLMesh
main.
tests/test_e2e.py runs one prod-shaped history through every part of the package.
docs/verification.md maps each SQLMesh behavior the package depends on to
the test that pins it. See CONTRIBUTING.md for commit rules and
AGENTS.md for guidance aimed at coding agents.
License
Metadata
Release files for sqlmesh-observability 0.1.0a3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sqlmesh_observability-0.1.0a3.tar.gz | 160.7 kB | With provenance | Details for sqlmesh_observability-0.1.0a3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sqlmesh_observability-0.1.0a3-py3-none-any.whl | Python 3 | none | any | Details for sqlmesh_observability-0.1.0a3-py3-none-any.whl |
Total release size: 255.7 kB
Release files / sqlmesh_observability-0.1.0a3.tar.gz
| Download URL | sqlmesh_observability-0.1.0a3.tar.gz |
|---|---|
| Size | 160.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d69ee084feab50a4dbf455266b30d53ee2e5e036bd8a99567c7b40838791c01
|
|
BLAKE2b-256 checksum How to use checksums |
050338d33590128f3c602f93a7801e6a2fb4e55a8c85b0da37791d706c9aacfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / sqlmesh_observability-0.1.0a3-py3-none-any.whl
| Download URL | sqlmesh_observability-0.1.0a3-py3-none-any.whl |
|---|---|
| Size | 95.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b327f4a7a8bb28557c1850aaaca3d03db25adffbb360c0465f71e109d3109d3f
|
|
BLAKE2b-256 checksum How to use checksums |
77fbd15b1ed9aef4d07c79f74b2e75313a5123ab5defb6f56f71a7fafb34abc7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for sqlmesh-observability 0.1.0a3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sqlmesh_observability-0.1.0a3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.