Agent skill

observability

Structured logging with Pino/Winston, OpenTelemetry tracing, metrics collection, Grafana dashboards, and alerting rules.

vibeeval521★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add vibeeval/vibecosystem --skill observability --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/observability/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 521
Language: C#

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Observability Patterns Three pillars of observability: logs, traces, and metrics. Each answers different questions. ## Structured Logging with Pino (Node.js) Pino is the fastest Node.js logger. Always emit JSON; never plain strings. ```typescript // logger.ts import pino from 'pino' export const logger = pino({ level: process.env.LOG_LEVEL ?? 'info', formatters: { level(label) { return { level: label } // emit "level":"info" not numeric } }, base: { service: process.env.SERVICE_NAME ?? 'api', version: process.env.APP_VERSION ?? 'unknown', env: process.env.NODE_ENV ?? 'development' }, timestamp: pino.stdTimeFunctions.isoTime, redact: { paths: ['req.headers.authorization', 'body.password', '*.token'], censor: '[REDACTED]' } }) ``` ```typescript // Usage examples import { logger } from './logger' // Child logger with request context const reqLogger = logger.child({ requestId: crypto.randomUUID(), userId: user.id, path: req.path }) reqLogger.info('Processing payment') reqLogger.warn({ amount, currency }, 'Payment above threshold') reqLogger.error({ err }, 'Payment failed') ``` ## Structured Logging with Python (structlog) ```python # logging_config.py import structlog import logging

What's inside
Steps it walks through
  1. Structured Logging with Pino (Node.js)
  2. Structured Logging with Python (structlog)
  3. Log Levels Usage Guide
  4. Request Correlation IDs
  5. OpenTelemetry Tracing
  6. Custom Metrics with Prometheus
  7. Error Tracking with Sentry
  8. Grafana Dashboard Templates
  9. Alert Rules (SLO-Based)
  10. Health Check Monitoring
  11. Dynamic Log Level in Production
  12. Log Rotation and Retention
  13. APM Integration (Datadog-style without vendor lock-in)
Commands it runs
logrotate config: /etc/logrotate.d/app
daily
rotate 14          # keep 14 days
compress
delaycompress
missingok
notifempty
postrotate
kill -USR1 $(cat /var/run/app.pid) 2>/dev/null || true
endscript
More from vibecosystem
All skills →
About this skill
What does the observability skill do?

Structured logging with Pino/Winston, OpenTelemetry tracing, metrics collection, Grafana dashboards, and alerting rules.

How do I install it?

Run `npx skills add vibeeval/vibecosystem --skill observability --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From vibeeval/vibecosystem, a repository with 521 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going