observability
Structured logging with Pino/Winston, OpenTelemetry tracing, metrics collection, Grafana dashboards, and alerting rules.
Profile →npx skills add vibeeval/vibecosystem --skill observability --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Structured Logging with Pino (Node.js)
- Structured Logging with Python (structlog)
- Log Levels Usage Guide
- Request Correlation IDs
- OpenTelemetry Tracing
- Custom Metrics with Prometheus
- Error Tracking with Sentry
- Grafana Dashboard Templates
- Alert Rules (SLO-Based)
- Health Check Monitoring
- Dynamic Log Level in Production
- Log Rotation and Retention
- APM Integration (Datadog-style without vendor lock-in)
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
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.