Logo di Monitor

Monitor

Community
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

Panoramica

Pubblicato dakazdenc
Repositorybuilder-skills
Nome della skillmonitor
Stelle
46
Fork
5
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da kazdenc su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Monitor in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/deploy/monitor
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Monitor in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Monitor non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Monitor non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Monitor su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Monitor è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Monitor in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/kazdenc/builder-skills/tree/main/.claude/skills/dev/deploy/monitor. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Monitor?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Monitor?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Monitor: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Monitor è gratuita?

Sì. È pubblicata su GitHub da kazdenc con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇