TelemetryFlow Uptime (Viz) - AI-Powered Uptime & Status Page Platform
1.0K
TelemetryFlow Uptime is a full-stack monorepo providing Uptime Monitoring, Status Pages, IAM, Alerting, Audit, Tenancy, and System management. Built with NestJS backend and Vue 3 frontend, extracted and adapted from the TelemetryFlow Platform monolith.
telemetryflow-uptime/
├── backend/ # NestJS API (@telemetryflow/backend)
│ └── src/
│ ├── main.ts
│ ├── app.module.ts
│ ├── modules/
│ │ ├── monitoring/
│ │ │ ├── uptime/ # Uptime Monitoring (HTTP/TCP/Ping checks)
│ │ │ └── status-page/ # Status Pages & Incident Management
│ │ ├── iam/ # Identity & Access Management
│ │ ├── auth/ # Authentication (JWT, MFA, Sessions)
│ │ ├── sso/ # Single Sign-On (SAML, OAuth2)
│ │ ├── api-keys/ # API Key Management
│ │ ├── audit/ # Audit Logging (ClickHouse)
│ │ ├── tenancy/ # Multi-tenancy Management
│ │ ├── alerting/ # Alert Rules Engine
│ │ ├── query/ # TFQL Query Engine
│ │ ├── llm/ # AI Assistant (LLM Integration)
│ │ ├── retention/ # Data Retention Policies
│ │ ├── notification/ # Notification Service
│ │ ├── data-masking/ # Data Masking Policies
│ │ └── cache/ # Caching Service
│ ├── shared/ # Shared utilities (queue, domain primitives)
│ ├── database/ # PostgreSQL + ClickHouse migrations/seeds
│ ├── logger/ # Winston logger module
├── frontend/ # Vue 3 SPA (@telemetryflow/viz)
│ └── src/
│ ├── views/ # Page components
│ │ └── monitoring/ # Uptime & Status Page views
│ ├── components/ # Reusable components
│ │ └── monitoring/ # Uptime graphs, check history, response time charts
│ ├── layouts/ # SideNav layout
│ ├── api/ # API client modules
│ ├── store/ # Pinia stores
│ ├── router/ # Vue Router
│ └── composables/ # Vue composables
├── config/ # Service configs (PostgreSQL, ClickHouse)
├── docs/ # Documentation
├── docker-compose.yml # Full stack deployment
├── turbo.json # Turborepo task config
├── pnpm-workspace.yaml # Workspace definition
└── package.json # Root scripts (turbo-based)
| Section | Items |
|---|---|
| Home | Overview Dashboard |
| Monitor | Uptime Monitoring, Status Pages |
| Alert | Alerts, Alert Rules |
| IAM | Users, Roles, Permissions, Matrix, Groups |
| Tenancy | Tenants, Organizations, Workspaces, Regions |
| System | Setup, Channels, Notifications, AI Assistant, API Keys, PII Masking, Audit Logs, Retention |
| Account | Profile, Security, Sessions, Preferences |
| Public | Status Page (/status/:slug) |
/status/:slug/api# Start all services
docker-compose --profile all up -d
# Or start specific profiles
docker-compose --profile uptime up -d # Uptime services only
Available profiles:
uptime - Backend, Frontend, PostgreSQL, ClickHouse, Redis, NATStools - Portainerall - EverythingSee docs/DOCKER_SETUP.md for details.
# Clone repository
git clone https://github.com/telemetryflow/telemetryflow-uptime.git
cd telemetryflow-uptime
pnpm install
# Configure environment
cp .env.example .env
# Edit .env with your configuration
# Generate secrets
pnpm run generate:secrets
# Start infrastructure (PostgreSQL + ClickHouse + Redis + NATS)
docker-compose up -d
# Run migrations and seeds
pnpm run db:migrate:seed
# Start development (backend + frontend)
pnpm run dev
# Development
pnpm dev # Start backend + frontend (turbo)
pnpm dev:backend # Backend only
pnpm dev:frontend # Frontend only
# Build
pnpm build # Build all (turbo)
pnpm build:backend # Backend only
pnpm build:frontend # Frontend only
# Database
pnpm db:migrate # Run all migrations (PostgreSQL + ClickHouse)
pnpm db:migrate:seed # Run migrations + seeds (full setup)
pnpm db:fresh # Full reset (cleanup + migrate + seed)
pnpm db:seed # Seed all data
pnpm db:cleanup # Clean all databases
# Docker
pnpm docker:up # Start all containers
pnpm docker:down # Stop all containers
pnpm docker:logs # View logs
pnpm docker:clean # Clean volumes
# Code Quality
pnpm lint # Lint backend code
pnpm lint:fix # Lint and fix
# Security
pnpm generate:secrets # Generate JWT & Session secrets
Super Administrator (Global)
Administrator (Organization-scoped)
Developer (Organization-scoped)
Viewer (Organization-scoped)
Demo (Demo org only)
| Password | Role | Tier | |
|---|---|---|---|
| [email protected] | SuperAdmin@123456 | Super Administrator | 1 |
| [email protected] | Admin@123456 | Administrator | 2 |
| [email protected] | Developer@123456 | Developer | 3 |
| [email protected] | Viewer@123456 | Viewer | 4 |
| [email protected] | Demo@123456 | Demo | 5 |
Once running, access Swagger UI at: http://localhost:3000/api
/api/v2/uptime/monitors - Monitor CRUD and check management/api/v2/uptime/monitors/:id/checks - Check history and results/api/v2/status-pages - Status page management/api/v2/status-pages/:id/incidents - Incident management/api/v2/status/public/:slug - Public status page (no auth)/api/v2/status-pages/:id/subscribers - Status page subscriptions/api/v2/auth - Login, logout, refresh, MFA/api/v2/iam/users - User management/api/v2/iam/roles - Role management/api/v2/iam/permissions - Permission management/api/v2/iam/tenants - Tenant management/api/v2/iam/organizations - Organization management/api/v2/iam/workspaces - Workspace management/api/v2/iam/groups - Group management/api/v2/iam/regions - Region management/api/v2/api-keys - API key management/api/v2/sso - SSO provider management/api/v2/audit - Audit log queries/api/v2/alerting/alerts - Alert management/api/v2/alerting/alert-rules - Alert rule management/api/v2/llm - AI Assistant configuration/api/v2/data-masking - Data masking policies/api/v2/retention - Data retention policies/health - Health check| Image | Registry | Purpose |
|---|---|---|
telemetryflow/telemetryflow-uptime | Docker Hub | NestJS Backend |
telemetryflow/telemetryflow-uptime-viz | Docker Hub | Vue 3 Frontend (Nginx) |
| Service | IP | Port(s) | Purpose |
|---|---|---|---|
| Frontend | 172.145.145.15 | 8080 | Vue 3 SPA (Nginx) |
| Backend | 172.145.145.10 | 3000 | NestJS API |
| PostgreSQL | 172.145.145.20 | 5432 | IAM + config data |
| Redis | 172.145.145.50 | 6379 | Cache + queues |
| NATS | 172.145.145.55 | 4222 | Event streaming |
| ClickHouse | 172.145.145.40 | 8123/9000 | Audit + uptime |
Network: 172.145.0.0/16
| Feature | Platform | Uptime |
|---|---|---|
| Modules | 25+ | 15 |
| Frontend | Full observability UI | Uptime + Status Page + IAM + Alerts + AI |
| Uptime Monitoring | Yes | Yes |
| Status Pages | Yes | Yes |
| Telemetry Ingestion | Metrics, Logs, Traces | No |
| Alerts | Yes | Yes |
| AI Assistant | Yes | Yes |
| Retention | Yes | Yes |
| Agent Management | Yes | No |
| Dashboards | Full dashboard builder | Overview dashboards |
| Architecture | Monolith | Monorepo (Backend + Frontend) |
| Databases | PostgreSQL + ClickHouse | PostgreSQL + ClickHouse |
| Docker Images | Backend + Frontend | Backend + Frontend |
| Infrastructure | Redis + NATS + Loki + OS | Redis + NATS |
See docs/ARCHITECTURE.md for detailed architecture diagrams.
See CONTRIBUTING.md for detailed guidelines.
See SECURITY.md for security policy and vulnerability reporting.
Apache-2.0 License - see LICENSE file for details
Extracted from TelemetryFlow Platform - Community Enterprise Observability Platform (CEOP).
Built with ❤️ by Telemetri Data Indonesia collaboration with Kiro
Content type
Image
Digest
sha256:6265860e4…
Size
30.1 MB
Last updated
3 months ago
docker pull telemetryflow/telemetryflow-uptime-viz