observability-instrumentation

Instrument endpoints, background jobs, and integrations to capture OpenTelemetry telemetry data.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/askaret/codex-skills --skill observability-instrumentation-askaret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability-instrumentation
Source: https://github.com/askaret/codex-skills/tree/main/.agents/skills/observability-instrumentation
Command: npx skills add https://github.com/askaret/codex-skills --skill observability-instrumentation-askaret

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the introduction of telemetry to endpoints, background jobs, and integrations without unnecessary refactors, enabling consistent observability with OpenTelemetry-friendly patterns.

Core Features & Use Cases

  • Low-cardinality metrics labels across services.
  • Structured logs with correlation IDs; never log secrets.
  • End-to-end tracing across inbound requests, outbound calls, and key domain operations.
  • Health and readiness checks that reflect real dependencies.
  • Verification: verify local export paths and dashboards.

Quick Start

Configure your services to emit traces, metrics, and logs and verify the telemetry in your observability dashboard.

Frequently Asked Questions about observability-instrumentation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add OpenTelemetry tracing to microservices APIs and background jobs?

To add OpenTelemetry tracing to microservices APIs and background jobs, instrument endpoints and asynchronous workers to capture telemetry. This applies end-to-end tracing across inbound requests, outbound calls, and key domain operations without requiring unnecessary refactors.

What is the best way to enforce low-cardinality metrics and structured logs across services?

The best way to enforce low-cardinality metrics and structured logs across services is to apply consistent instrumentation patterns. This ensures metrics labels remain low-cardinality and logs are structured with correlation IDs while preventing secrets from being logged.

Can I propagate trace context safely across external integrations and redact PII?

Yes, you can propagate trace context safely across external integrations and redact PII. The instrumentation applies safe trace propagation across outbound calls and enforces PII redaction within structured logs aligned with OpenTelemetry patterns.

How do I verify telemetry exports and configure health checks for real dependencies?

To verify telemetry exports and configure health checks, instrument your services and check local export paths. This setup implements health and readiness checks that accurately reflect real dependencies alongside your observability dashboards.