tinymon docs

tinymon is lightweight all-in-one monitoring: error tracking, uptime checks, and cron/heartbeat monitoring in one tool. The SDKs catch unhandled exceptions, group them into issues server-side, and alert you when something new breaks; uptime and heartbeat monitors cover when your app is down or a job didn't run. This is everything you need to integrate.

Building a web app? After init(), add the built-in middleware for your framework (Rails, Django, FastAPI, Express…) to capture every 500 automatically — one line. See your language's Frameworks section below.

Pick your language

The shape of the SDK

Every SDK exposes the same six functions so you can move between languages with no surprises:

FunctionPurpose
initConfigure the SDK with your DSN. Installs global exception handlers.
captureExceptionSend an exception to tinymon. Useful inside catch blocks.
captureMessageSend a plain message (not an exception). Pick a level: error, warning, info.
setUserAttach a user identifier to subsequent events.
setTagAttach a tag (key/value) to subsequent events.
addBreadcrumbRecord a breadcrumb. Last 30 are attached to the next event.

Method names follow each language's convention — captureException in JS, capture_exception in Python/Ruby.

There's one more you'll occasionally need: flush(), which blocks until queued events are delivered. You only need it in serverless functions or short-lived scripts that can exit before a send completes — see Delivery & flush(). For the full picture of how events reach tinymon, read Transport internals.

Beyond errors

tinymon also watches your app from the outside and keeps your scheduled jobs honest — no SDK required for either.

Next

If you're starting from scratch, the quickstart takes about 2 minutes. Otherwise jump to your language above.