Logo: Monitor

Monitor

Communautéit
kazdenc
monitor

Set up monitoring with error tracking, alerts, dashboards, and SLOs for production applications. Use when user says "set up monitoring", "add error tracking", "create alerts", "observability", "SLOs", "health checks", "how do I know if it's broken", or needs production visibility.

Add to TypingMind

Iwwersiicht

Editeurkazdenc
Repositorybuilder-skills
Skill-Nummmonitor
Stären
46
Forks
5
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    kazdenc huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Monitor an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/deploy/monitor
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kazdenc/builder-skills.git /tmp/builder-skills
mkdir -p .claude/skills
cp -r /tmp/builder-skills/.claude/skills/dev/deploy/monitor .claude/skills/monitor
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Monitor an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Monitor automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Monitor net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Production Monitoring Setup

Set up monitoring for a production application. If a target is provided, scope recommendations to that service or feature. Cover all four pillars, then configure health checks, alerts, SLOs, and dashboards.

The Four Pillars

Monitor all four. Missing any one creates a blind spot.

1. Errors

Track unhandled exceptions, failed API calls, and client-side errors. Don't wait for users to report them.

What to captureHow
Unhandled exceptions (server)Global error handler reports to error tracking service. Include stack trace and request context.
Unhandled exceptions (client)window.onerror and onunhandledrejection wired to error tracking.
Failed API callsLog 4xx and 5xx responses with request path, status, and duration.
Client-side errorsReact error boundaries catch render failures. Report with component tree.

Tool examples: Sentry (full stack, source maps, release tracking), LogRocket (session replay + error context).

2. Performance

Measure response times and user experience. Use percentiles, not averages.

MetricTargetHow to measure
API response time (p50)< 200msServer-side timing middleware.
API response time (p95)< 500msSame middleware, track percentile distribution.
API response time (p99)< 1000msSame middleware. If p99 spikes, investigate outlier queries.
Largest Contentful Paint< 2.5sReal User Monitoring (RUM) or Lighthouse CI.
First Input Delay< 100msRUM.
Cumulative Layout Shift< 0.1RUM or Lighthouse CI.

Tool examples: Vercel Analytics (zero-config for Next.js), Speedlify (self-hosted Lighthouse tracking).

3. Availability

Know when your service is down before your users do.

What to checkFrequencyAlert if
Health check endpointEvery 30sTwo consecutive failures.
SSL certificate expiryDailyLess than 14 days remaining.
DNS resolutionEvery 5mResolution fails or returns unexpected IP.
Key third-party servicesEvery 1mDependency returns errors for > 2 minutes.

Tool examples: Better Uptime (status pages + incident management), Checkly (synthetic monitoring with Playwright).

4. Business Metrics

Technical metrics alone don't tell you if the product works.

MetricWhy it matters
Signups per hour/dayDetects registration flow breakage immediately.
Conversion rateDrop signals checkout or onboarding issues.
Key feature usageConfirms new features are actually being used.
Error rate per user actionTies technical errors to user impact.

Tool examples: PostHog (open-source product analytics, feature flags, session replay), Mixpanel (funnel and retention analysis).

Health Check Endpoint

Create a /api/health endpoint that verifies real connectivity, not just "the server is running."

typescript
// app/api/health/route.ts
import { NextResponse } from 'next/server'

export async function GET() {
  const checks: Record<string, 'ok' | 'fail'> = {}

  // Check database connectivity
  try {
    await db.query('SELECT 1')
    checks.database = 'ok'
  } catch {
    checks.database = 'fail'
  }

  // Check external services (cache, queue, etc.)
  try {
    await redis.ping()
    checks.cache = 'ok'
  } catch {
    checks.cache = 'fail'
  }

  const allHealthy = Object.values(checks).every((s) => s === 'ok')

  return NextResponse.json(
    { status: allHealthy ? 'healthy' : 'degraded', checks },
    { status: allHealthy ? 200 : 503 },
  )
}

Adapt the checks to the actual services in the stack. Return 503 if any check fails so load balancers and uptime monitors detect it.

Alerting Strategy

Alert on actionable signals only. Noisy alerts get ignored.

SignalSeverityNotification channelResponse time
Health check down (2+ consecutive)CriticalPagerDuty / phone call< 15 minutes
Error rate > 5% of requestsCriticalSlack #incidents + PagerDuty< 15 minutes
Error rate > 1% of requestsWarningSlack #alerts< 1 hour
p95 response time > 1sWarningSlack #alerts< 1 hour
SSL cert expiry < 14 daysInfoSlack #ops< 1 day
Disk usage > 80%WarningSlack #ops< 4 hours
Deploy completedInfoSlack #deploysNo response needed

Rules for good alerting:

  • Don't alert on single transient errors. Use thresholds and windows (e.g., "error rate > 5% over 5 minutes").
  • Every alert must have a clear owner and a documented first-response action.
  • Review alert fatigue monthly. If an alert fires > 3 times without action, fix it or remove it.

SLOs (Service Level Objectives)

Define SLOs for key services. SLOs set expectations; SLIs measure them.

ServiceSLI (what you measure)SLO (target)Error budget
API availability% of requests returning non-5xx99.9%8.7 hours downtime / year
API latencyp95 response time< 500ms5% of requests can exceed
Web vitals (LCP)p75 LCP across all pages< 2.5s25% of page loads can exceed
Data pipeline freshnessTime since last successful sync< 15 minutes4 allowed SLO violations / month

How to use error budgets:

  • When the budget is healthy, ship fast and take calculated risks.
  • When the budget is low, freeze non-critical deploys and focus on reliability.
  • Track budget burn rate weekly. A sudden spike means something broke.

Dashboard Essentials

Build a team dashboard with these panels. Keep it to one screen.

PanelWhat it showsWhy
Error rate (last 24h)Errors per minute, with deploy markersCorrelate errors with deploys instantly.
Latency trends (last 24h)p50, p95, p99 lines on one chartSpot gradual degradation before it becomes critical.
Active users (real-time)Current connected / active usersContext for error rates. 10 errors with 10 users is worse than 10 errors with 10,000.
Uptime statusGreen/red for each monitored endpointGlanceable health.
Deploy historyLast 10 deploys with timestamp and authorQuick reference for "what changed?"
SLO burn rateError budget remaining for the periodKnow when to slow down.

Incident Response

Use severity levels to set expectations and escalation.

LevelDefinitionExampleResponse expectation
SEV1Service down or major data loss. Most users affected.API returning 500 for all requests. Payment processing broken.All hands. Respond in < 15 min. Communicate status every 30 min.
SEV2Significant degradation. Some users affected.Slow response times. One region down. Feature broken for subset of users.On-call responds in < 30 min. Hourly status updates.
SEV3Minor issue. Workaround exists.Non-critical feature broken. Cosmetic bug in production.Address within business hours. No status page update needed.

For every incident:

  1. Acknowledge the alert and declare severity.
  2. Open an incident channel (or thread) for coordination.
  3. Mitigate first, investigate second. Get the service back up, then find root cause.
  4. Write a brief post-incident review: what happened, why, and what will prevent recurrence.

Heefeg gestallte Froen

Wat mécht de KI-Skill Monitor?

Set up monitoring with error tracking, alerts, dashboards, and SLOs for production applications. Use when user says "set up monitoring", "add error tracking", "create alerts", "observability", "SLOs", "health checks", "how do I know if it's broken", or needs production visibility.

Firwat Monitor op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Monitor besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Monitor an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/deploy/monitor an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Monitor benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Monitor benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Monitor domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Monitor gratis?

Jo. kazdenc huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇