V-Insight is a Docker-based multi-tenant monitoring platform with a focus on reliability and observability. It includes an API backend, background worker jobs, and a SvelteKit frontend with a CORS-free API proxy.
V-Insight performs automated health checks (HTTP/HTTPS) and SSL expiry monitoring, evaluates alert rules, creates incidents, and notifies configured channels (webhook, Discord, email-ready).
It supports multi-tenant isolation via tenant_id on all main tables and enforces tenant-scoped queries consistently in handlers and repositories.
Architecture Refactoring: The project now uses a Go Workspace (go.work) with a shared module to centralize domain logic and repositories, reducing duplication between Backend and Worker services.
git clone https://github.com/eovipmak/v-insight.git
cd v-insight
cp .env.example .env
make up
Or without make:
docker compose up -d
Migrations run automatically on startup.
This project uses Go Workspaces.
go work syncshared/ contains entities and repositories.backend/ contains API handlers and services.worker/ contains background jobs.Tests:
cd shared && go test ./...cd backend && go test ./...cd worker && go test ./...cd frontend && npm run check (TypeScript), npx playwright test (E2E)Tips:
.env files to the repository – use environment configurations for production.make convenience commands (make up, make logs, make rebuild, make migrate-up, etc.)To make it easier for LLMs, bots, or automation agents to work in this repo, see docs/ai_agents.md. Key notes:
frontend/src/routes/api/[...path]/+server.ts — do NOT add CORS middleware.tenant_id context when querying or modifying tenant-scoped resources.backend/migrations/ — use make migrate-create then edit up/down SQL files; run make migrate-up.Detailed documentation: docs/ includes guides for architecture, configuration, installation, usage, troubleshooting, contributing, and AI agent guidelines.
This project is licensed under the MIT License — see LICENSE for details.