8000 GitHub - yekta/monitorly: Simple uptime & status monitoring app that watches the results of async functions.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yekta/monitorly

Repository files navigation

Monitorly - Uptime & Status Monitoring

Monitorly is a simple uptime & status monitoring app with a twist:

Instead of watching the result of an HTTP call, each monitor watches the result of a promise. The function it watches must return a promise that resolves to a boolean. If the value is true, the monitored system is considered to be operational.

type TMonitor = {
  functionToRun: () => Promise<boolean>;
  // ...
};

Because of this, you can monitor any async process you want, not just simple HTTP calls.

Here is an example site: Monitorly Example.

Get started

Development

  1. Clone the repo.
  2. Run pnpm install.
  3. Create a PostgreSQL database (via Supabase, Neon, Railway, etc.).
  4. Rename the env.example files in the apps/server and apps/web directories to .env and fill in the connection connection string.
  5. Run pnpm run db:generate to generate database migrations and run pnpm run db:migrate to apply them to your database.
  6. Run pnpm run build so that the shared local packages are built.
  7. Run pnpm run dev to start the dev server.

About

Simple uptime & status monitoring app that watches the results of async functions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0