Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Observability Setup: OpenTelemetry Logs, Traces & Alerts

    1

    Instruments your app with OpenTelemetry: structured logs, distributed traces, RED metrics and alert rules that page only on real user impact.

    $7.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Observability Setup: OpenTelemetry Logs, Traces & Alerts

    Observability Setup: OpenTelemetry Logs, Traces & Alerts

    Example session with this skill installed

    Add observability to my Express + Postgres API on ECS. We use Grafana Cloud. I can't debug slow requests.

    • Read your context and instructions
    • Compiled the observability setup

    Plan: pino structured logs with trace ids, OTel auto-instrumentation (http, express, pg), RED metrics, 1 SLO with burn-rate alerts → Grafana Cloud via OTLP.

    src/otel.ts (loaded first via node -r ./dist/otel.js)

    import { NodeSDK } from '@opentelemetry/sdk-node';
    import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
    import { ParentBasedSampler, TraceIdRatioBasedSampler } from '@opentelemetry/sdk-trace-base';
    new NodeSDK({
      sampler: new ParentBasedSampler({ root: new TraceIdRatioBasedSampler(0.1) }),
      instrumentations: [getNodeAutoInstrumentations({ '@opentelemetry/instrumentation-fs': { enabled: false } })],
    }).start();
    

    Logger (src/log.ts): pino with a mixin that adds trace_id/span_id from the active span; redact req.headers.authorization, *.email.

    ECS task env

    VarValue
    OTEL_SERVICE_NAMEorders-api
    OTEL_EXPORTER_OTLP_ENDPOINThttps://otlp-gateway-prod-eu-west-2.grafana.net/otlp
    OTEL_EXPORTER_OTLP_HEADERSAuthorization=Basic <token from secrets manager>

    SLO: 99% of GET /orders/* under 500 ms over 30 days.
    Alerts: fast burn (14.4× over 1h) pages; slow burn (6× over 6h) opens a ticket. Runbook stub included.

    Verify: send curl -H 'traceparent: 00-<trace-id>-<span-id>-01' https://api.example.com/orders/1, then search that trace id in Grafana Tempo; you should see express → pg spans with the SQL statement.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Instruments your app with OpenTelemetry: structured logs, distributed traces, RED metrics and alert rules that page only on real user impact. Node, Python, Go; exports to Grafana, Datadog, Honeycomb, Axiom or any OTLP backend.

    How it works

    • Discover
    • Logs
    • Traces
    • Metrics
    • SLOs and alerts
    • Output

    Use it when

    You say add logging, add tracing, instrument my app, set up monitoring, OpenTelemetry, why can't I debug production, set up alerts, define SLOs, or connect to Grafana/Datadog/Honeycomb/Axiom.

    Why this one

    • Runs real checks instead of generic advice
    • Concrete output: files, tables and next steps you can act on today
    • Works with Claude Code, Codex CLI, Cursor, Gemini CLI and any SKILL.md agent

    More by Ignasi: Frontend Design Pro, Security Audit, Cut Agent Token Costs.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Default sampling is 10% for success and 100% for errors. Manual spans are only added to high-level business operations. User must provide the specific backend for tailored alert syntax.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Permissions

    No special permissions declared or detected

    Listedtoday

    What's inside

    Frequently Asked Questions

    This skill automates the configuration of OpenTelemetry (OTel) SDKs, standardizes structured logging formats, and establishes Service Level Objectives (SLOs) to ensure you have clear, actionable visibility into production failures and performance bottlenecks.

    The skill is designed for major runtimes like Node.js, Python, and Go, supporting popular loggers (Pino, Structlog, Slog) and any OTLP-compliant backend such as Grafana, Datadog, or Honeycomb.

    The skill begins with a discovery phase to analyze your runtime and deployment architecture, followed by automated SDK instrumentation and the manual wrapping of critical business logic into spans.

    Yes, the skill includes automated PII redaction to strip sensitive data like emails and tokens from logs, ensuring your observability data remains compliant with privacy standards.

    To balance visibility with storage costs, the skill defaults to 10% sampling for successful requests and 100% for errors, though these rates can be adjusted based on your specific traffic needs.

    You receive the full instrumentation logic for distributed tracing and structured logging, pre-configured exporters, and a set of SLO-based alerting rules tailored to your critical user journeys.

    New in DevOps & Cloud