Uptime Monitoring

Uptime Monitoring

Guides an AI coding agent to build uptime monitoring, health check endpoints and public status pages with heartbeat monitors and Kubernetes probes.

Skill files8 files

references/

scripts/

templates/

SKILL.md97 lines
1
---
2
name: uptime-monitoring
3
description: >
4
Implement uptime monitoring and status page systems for tracking service
5
availability. Use when monitoring application uptime, creating status pages,
6
or implementing health checks.
7
---
8
9
# Uptime Monitoring
10
11
## Table of Contents
12
13
- [Overview](#overview)
14
- [When to Use](#when-to-use)
15
- [Quick Start](#quick-start)
16
- [Reference Guides](#reference-guides)
17
- [Best Practices](#best-practices)
18
19
## Overview
20
21
Set up comprehensive uptime monitoring with health checks, status pages, and incident tracking to ensure visibility into service availability.
22
23
## When to Use
24
25
- Service availability tracking
26
- Health check implementation
27
- Status page creation
28
- Incident management
29
- SLA monitoring
30
31
## Quick Start
32
33
Minimal working example:
34
35
```javascript
36
// Node.js health check
37
const express = require("express");
38
const app = express();
39
40
app.get("/health", (req, res) => {
41
res.json({
42
status: "ok",
43
timestamp: new Date().toISOString(),
44
uptime: process.uptime(),
45
});
46
});
47
48
app.get("/health/deep", async (req, res) => {
49
const health = {
50
status: "ok",
51
checks: {
52
database: "unknown",
53
cache: "unknown",
54
externalApi: "unknown",
55
},
56
};
57
58
try {
59
const dbResult = await db.query("SELECT 1");
60
health.checks.database = dbResult ? "ok" : "error";
61
// ... (see reference guides for full implementation)
62
```
63
64
## Reference Guides
65
66
Detailed implementations in the `references/` directory:
67
68
| Guide | Contents |
69
|---|---|
70
| [Health Check Endpoints](references/health-check-endpoints.md) | Health Check Endpoints |
71
| [Python Health Checks](references/python-health-checks.md) | Python Health Checks |
72
| [Uptime Monitor with Heartbeat](references/uptime-monitor-with-heartbeat.md) | Uptime Monitor with Heartbeat |
73
| [Public Status Page API](references/public-status-page-api.md) | Public Status Page API |
74
| [Kubernetes Health Probes](references/kubernetes-health-probes.md) | Kubernetes Health Probes |
75
76
## Best Practices
77
78
### ✅ DO
79
80
- Implement comprehensive health checks
81
- Check all critical dependencies
82
- Use appropriate timeout values
83
- Track response times
84
- Store check history
85
- Monitor uptime trends
86
- Alert on status changes
87
- Use standard HTTP status codes
88
89
### ❌ DON'T
90
91
- Check only application process
92
- Ignore external dependencies
93
- Set timeouts too low
94
- Alert on every failure
95
- Use health checks for load balancing
96
- Expose sensitive information
97

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…