Skip to main content

Simple API observability in 30 seconds 🧉

Project description

MateObserve 🧉

Observability for Python apps in one command.

MateObserve is a Python SDK + CLI that gives you instant API observability. Install the package, run one command, and get a local monitoring stack with Prometheus and Grafana — no manual configuration required.

Quick Start

pip install mateobserve
mateobserve up

That's it. This launches the full observability stack via Docker and opens:

What It Runs

mateobserve up starts a Docker Compose stack with:

  • Prometheus — metrics collection and storage
  • Grafana — dashboards and visualization

Both legacy (docker-compose) and modern (docker compose) syntaxes are automatically detected.

CLI Usage

mateobserve up       # Start the observability stack
mateobserve down     # Stop the stack
mateobserve status   # Show running containers
mateobserve doctor   # Check environment readiness

Python Integration

Add the middleware to any FastAPI or Starlette app:

from fastapi import FastAPI
from mateobserve import ObserveMiddleware

app = FastAPI()
app.add_middleware(ObserveMiddleware)

Your API will automatically send latency, error, and traffic metrics to the MateObserve collector.

Configuration

All settings are optional and controlled via environment variables:

Variable Default Description
MATEOBSERVE_SERVICE_NAME auto-detected Name of your service
MATEOBSERVE_COLLECTOR_URL http://localhost:8001 Collector endpoint
MATEOBSERVE_API_KEY (empty) API key for authentication
MATEOBSERVE_ENABLED true Enable/disable metric collection

Why MateObserve

Setting up observability usually means stitching together multiple tools, writing configuration files, and debugging Docker setups. MateObserve removes that friction — one pip install and one command gets you a working stack so you can focus on building your application.

Project Status

MateObserve is in early development (v0.1.x). The core SDK and CLI are functional and usable. Feedback and contributions are welcome.

License

MIT — see LICENSE for details.

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mateobserve-0.1.4.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mateobserve-0.1.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file mateobserve-0.1.4.tar.gz.

File metadata

  • Download URL: mateobserve-0.1.4.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mateobserve-0.1.4.tar.gz
Algorithm Hash digest
SHA256 3fea0a295856894a672883c2943cee9dedbd2bad1d76d971b9b62b564620f831
MD5 b428c609ae775a20a631bb29c4427d0e
BLAKE2b-256 2dfdd4e2276dd48eae980f35c0f43e62d08dd986fc6c24acc02262d10c220577

See more details on using hashes here.

File details

Details for the file mateobserve-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: mateobserve-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for mateobserve-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3c90ad9ed0d21e6f12411d66006ab65b29fb9448f550091ef72d09fab1e444b7
MD5 38c1a5292bb8ca06b70544387363b491
BLAKE2b-256 0978d438c488b841a9eef625886822ab40fd6764f338c212a9460f846c883641

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page