Skip to content
Back to skills

Observability

ASecurity

Design application observability through structured logs, metrics, traces, correlation, health signals, and actionable operational diagnostics.

  • 200 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
ai-agentsrust

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add sivaprasadreddy/sivalabs-agent-skills --skill observability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Observability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Observability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sivaprasadreddy-observability/badge)](https://www.skillsdirectory.com/skills/sivaprasadreddy-observability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: observability
description: Design application observability through structured logs, metrics, traces, correlation, health signals, and actionable operational diagnostics.
---

# Observability

## Purpose
Ensure developers and operators can understand application behavior, detect problems, and diagnose failures in production.

## When to use
Use when designing services, adding workflows or integrations, preparing production releases, or investigating incidents.

## Principles
- Instrument important user and business workflows, not just infrastructure.
- Use structured, consistently named logs with useful context.
- Use metrics for aggregate behavior and alerting; traces for request flow and latency attribution; logs for detailed event context.
- Propagate trace and correlation context across asynchronous and synchronous boundaries.
- Never log passwords, tokens, secrets, payment data, or unnecessary personal information.
- Make health checks reflect meaningful readiness and liveness without creating cascading failures.
- Prefer actionable alerts tied to user impact or service objectives.
- Keep telemetry cardinality and volume under control.
- Ensure observability data has access controls and retention policies.

## Minimum signals
For each production component, consider:
- Request/job throughput.
- Error and failure rates.
- Latency distributions, not only averages.
- Saturation and resource utilization.
- Dependency availability and latency.
- Queue depth and age for asynchronous work.
- Business-level outcomes for critical workflows.

## Workflow
1. Identify critical user journeys and business operations.
2. Define service-level indicators (SLIs) such as availability, latency, correctness, or freshness.
3. Establish service-level objectives (SLOs) where appropriate.
4. Add structured logs, metrics, traces, and context propagation.
5. Define dashboards that answer operational questions.
6. Define alerts with severity, ownership, and response guidance.
7. Verify telemetry during success and failure scenarios.
8. Review telemetry cost, privacy, retention, and access.

## Logging guidance
- Include timestamp, severity, component, event name, and correlation/trace identifiers where appropriate.
- Prefer stable event names and structured fields over parsing free-form text.
- Log state transitions and consequential failures.
- Avoid logging the same exception at every layer.
- Sanitize untrusted values to prevent log injection.
- Separate diagnostic detail from user-facing error messages.

## Review checklist
- Can operators identify whether users are affected?
- Can a request be followed across components?
- Are latency and error distributions visible?
- Are dependency and queue failures visible?
- Are alerts actionable and owned?
- Is sensitive data excluded?
- Are retention and access controls defined?

Do not add telemetry that has no diagnostic, operational, or product value.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.