Logo di Observability

Observability

Community
d-padmanabhan
observability

Designs and reviews production observability using structured logging, NDJSON, metrics, SLIs and SLOs, distributed tracing, OpenTelemetry, dashboards, alerts, telemetry pipelines, redaction, retention, and cost controls. Use when instrumenting services, defining log schemas, correlating microservices, designing monitoring or alerting, reviewing telemetry cardinality, or diagnosing whether production signals can answer operational questions.

Panoramica

Autored-padmanabhan
Repositoryagent-engineering-handbook
Nome della skillobservability
Stelle
20
Fork
3
File inclusi
4
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.

  • 4 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da d-padmanabhan su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Observability 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/d-padmanabhan/agent-engineering-handbook/tree/main/skills/observability
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova 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 nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbook.git /tmp/agent-engineering-handbook
mkdir -p .claude/skills
cp -r /tmp/agent-engineering-handbook/skills/observability .claude/skills/observability
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Observability 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 Observability 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 Observability 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à.

Observability

Design observability from operational questions and user-visible outcomes. Do not add logs, metrics, or spans merely to satisfy a three-pillars checklist. Each signal must support a diagnostic, reliability, security, or business decision at an acceptable cost.

Observability Contract

  • Start with critical journeys, SLIs, SLOs, failure modes, and the questions an operator must answer during an incident.
  • Use metrics for bounded aggregate behavior, traces for request and dependency paths, and logs for discrete events requiring detailed context.
  • Emit structured logs. For container streams, prefer one JSON object per physical line on stdout or stderr; let the platform collect and rotate logs.
  • Propagate W3C trace context across process boundaries and correlate logs with valid trace and span identifiers when context exists.
  • Keep metric labels and span names bounded. Never use user IDs, request IDs, email addresses, raw URLs, or other unbounded values as metric labels.
  • Treat telemetry as sensitive data. Minimize, classify, redact, retain, and authorize it deliberately.
  • Keep security audit events separate from ordinary application logs when integrity, access, or retention requirements differ.
  • Bound telemetry queues, retries, memory, disk, network, and cost. Define which data may be sampled or dropped under pressure.
  • Alert on actionable user impact or imminent budget exhaustion. Every page needs an owner, urgency, evidence, and runbook.
  • Instrument the telemetry pipeline itself so loss, refusal, delay, and cost are visible.

Workflow

1. Define Questions and Reliability Targets

State:

  • critical user journeys and owners;
  • availability, latency, correctness, freshness, and durability SLIs;
  • SLO windows and error budgets;
  • known failure and overload modes;
  • forensic or regulatory requirements;
  • incident questions the current system cannot answer.

Do not begin with a vendor, agent, collector, dashboard, or list of fields.

2. Select the Smallest Useful Signals

Choose signals by purpose:

  • Metrics: rates, ratios, distributions, saturation, queue age, and resource budgets that need efficient aggregation and alerting.
  • Traces: end-to-end latency, dependency paths, retries, fan-out, and request-scoped failure analysis.
  • Logs: state transitions, classified failures, policy decisions, recovery actions, and bounded diagnostic details.
  • Profiles: code-level resource attribution when sampling overhead and runtime support are acceptable.

One event may contribute to several signals, but avoid recording the same large payload in each.

3. Define Signal Contracts

For logs, define:

  • event name and schema version;
  • event and observed timestamps;
  • severity semantics;
  • service resource identity and deployment environment;
  • trace, span, request, correlation, and causation identifiers where relevant;
  • allowed attributes, sensitivity classification, size limit, and retention;
  • exception shape and redaction behavior.

For metrics, define:

  • user-visible or resource outcome;
  • type, unit, monotonicity, and aggregation;
  • bounded label set and estimated worst-case series count;
  • collection interval and retention;
  • SLI numerator, denominator, exclusions, and missing-data behavior.

For traces, define:

  • propagation format and trust boundary;
  • stable low-cardinality span names;
  • semantic attributes and error status;
  • head or tail sampling policy;
  • baggage allowlist, size, and sensitivity policy;
  • maximum attributes, events, links, and payload sizes.

Use the structured logging reference (${HANDBOOK_ROOT}/skills/observability/references/structured-logging.md), the metrics and alerting reference (${HANDBOOK_ROOT}/skills/observability/references/metrics-slos-alerting.md), and the tracing and pipeline reference (${HANDBOOK_ROOT}/skills/observability/references/tracing-telemetry-pipelines.md) for detailed contracts.

4. Design Collection and Export

Prefer vendor-neutral instrumentation and OpenTelemetry Protocol (OTLP) at service boundaries where ecosystem support is mature. Keep instrumentation libraries separate from exporter and backend selection.

Define:

  • process, node, sidecar, agent, and gateway responsibilities;
  • batching, queue, retry, timeout, and backpressure limits;
  • behavior during backend outage or collector saturation;
  • egress allowlists, authentication, encryption, and tenant isolation;
  • schema transformation and enrichment ownership;
  • data residency, retention, deletion, and archive policy;
  • cost budgets by signal, tenant, service, and environment.

A persistent collector queue reduces some losses but is not a no-loss guarantee. Document overflow, expiry, disk failure, and shutdown behavior.

5. Build Dashboards and Alerts

Start service dashboards with:

  • SLI attainment and error-budget consumption;
  • request or job rate, errors, and latency distribution;
  • saturation, queue age, rejected work, and dependency health;
  • deployment, configuration, and feature-flag changes;
  • telemetry pipeline health and data freshness.

Use multi-window burn-rate alerts where an SLO supports them. Page only for urgent, actionable conditions. Route slower budget consumption and maintenance risks to tickets or planned work.

6. Verify End to End

Test:

  • schema validity and single-line encoding;
  • redaction against representative secrets and sensitive fields;
  • trace propagation through asynchronous and synchronous boundaries;
  • metric cardinality under worst-case inputs;
  • SLI calculations, alert firing, inhibition, routing, and recovery;
  • collector backpressure, queue overflow, restart, and backend outage;
  • telemetry delay, duplication, sampling, and loss;
  • dashboard and runbook usability during a controlled failure.

Verify from generated telemetry in the target backend, not only from unit tests or local console output.

Required Review Output

For an observability design or review, provide:

  1. operational questions, critical journeys, and SLOs;
  2. signal contracts and correlation strategy;
  3. sensitivity, redaction, retention, and access policy;
  4. metric cardinality and telemetry volume estimates;
  5. collection, export, buffering, retry, and loss behavior;
  6. dashboards, alerts, owners, and runbooks;
  7. verification plan and known blind spots;
  8. cost budget and conditions for reducing telemetry.

Anti-Patterns

  • Logging prose and parsing it later with fragile regular expressions.
  • Writing application log files inside containers without an explicit platform requirement.
  • Treating NDJSON as the only valid telemetry transport.
  • Logging raw request or response bodies, tokens, credentials, or unrestricted exception context.
  • Putting user, request, session, or raw path identifiers in metric labels.
  • Generating a new trace or correlation ID at every service hop.
  • Marking every span as an error because the business operation was declined.
  • Sampling required audit events without a policy that preserves obligations.
  • Alerting on CPU alone without connecting it to user impact or capacity risk.
  • Unbounded collector queues or retries presented as loss prevention.
  • Assuming observability storage is an immutable audit system.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Observability?

Designs and reviews production observability using structured logging, NDJSON, metrics, SLIs and SLOs, distributed tracing, OpenTelemetry, dashboards, alerts, telemetry pipelines, redaction, retention, and cost controls. Use when instrumenting services, defining log schemas, correlating microservices, designing monitoring or alerting, reviewing telemetry cardinality, or diagnosing whether production signals can answer operational questions.

Perché usare Observability su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Observability è 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 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 Observability in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/observability. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Observability?

Qualsiasi modello che colleghi in 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 Observability?

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

La skill IA Observability è gratuita?

Sì. È pubblicata su GitHub da d-padmanabhan 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, modelli 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.

Vedi tutti

Crea subito la tua area di lavoro IA

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