replit-observability

Featured

Monitor Replit deployments with health checks, uptime tracking, resource usage, and alerting. Use when setting up monitoring for Replit apps, building health dashboards, or configuring alerting for deployment health and performance. Trigger with phrases like "replit monitoring", "replit metrics", "replit observability", "monitor replit", "replit alerts", "replit uptime".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Replit Observability ## Overview Monitor Replit deployment health, track cold starts, measure resource usage, and set up alerting. Covers Replit's built-in monitoring, external health checking, structured logging, and integration with monitoring services. ## Prerequisites - Replit app deployed (Autoscale or Reserved VM) - Health endpoint implemented (`/health`) - External monitoring service (UptimeRobot, Better Stack, or Prometheus) ## Instructions ### Step 1: Health Endpoint with Detailed Metrics ```typescript // src/routes/health.ts — comprehensive health check import { Router } from 'express'; import { pool } from '../services/postgres'; const router = Router(); const startTime = Date.now(); router.get('/health', async (req, res) => { const checks: Record<string, any> = { status: 'ok', uptime: process.uptime(), bootTime: ((Date.now() - startTime) / 1000).toFixed(1) + 's ago', timestamp: new Date().toISOString(), repl: process.env.REPL_SLUG, region: process.env.REPLIT_DEPLOYMENT_REGION, env: process.env.NODE_ENV, }; // Database check if (process.env.DATABASE_URL) { const dbStart = Date.now(); try { await pool.query('SELECT 1'); checks.database = { status: 'connected', latencyMs: Date.now() - dbStart, pool: { total: pool.totalCount, idle: pool.idleCount }, }; } catch (err: any) { checks.database = { status: 'disconnected', error: err.message }; checks.status = 'degr...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

replit-prod-checklist

Execute Replit production deployment checklist with rollback and health monitoring. Use when deploying Replit apps to production, preparing for launch, or implementing go-live procedures with Autoscale or Reserved VM. Trigger with phrases like "replit production", "deploy replit", "replit go-live", "replit launch checklist", "replit prod ready".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-webhooks-events

Handle Replit deployment events, build Replit Extensions, and set up Agents & Automations. Use when integrating with Replit deployment lifecycle, building workspace extensions, or creating automated workflows with Replit Agent. Trigger with phrases like "replit webhook", "replit events", "replit extension", "replit automation", "replit notifications", "replit agent automation".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-reliability-patterns

Implement reliability patterns for Replit: cold start handling, graceful shutdown, persistent state, and keep-alive. Use when building fault-tolerant Replit apps, handling container restarts, or adding resilience to production Replit deployments. Trigger with phrases like "replit reliability", "replit container restart", "replit data persistence", "replit always on", "replit graceful shutdown".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-incident-runbook

Execute Replit incident response: triage deployment failures, database issues, and platform outages. Use when responding to Replit-related outages, investigating deployment crashes, or running post-incident reviews for Replit app failures. Trigger with phrases like "replit incident", "replit outage", "replit down", "replit emergency", "replit broken", "replit crash".

2,266 Updated today
jeremylongshore
AI & Automation Featured

replit-policy-guardrails

Enforce security and resource policies for Replit-hosted apps: secrets exposure prevention, resource limits, deployment visibility, and database access controls. Use when hardening a Replit app for production, auditing security posture, or setting up guardrails for team development. Trigger with phrases like "replit policy", "replit guardrails", "replit security audit", "replit hardening", "replit best practices check".

2,266 Updated today
jeremylongshore