observability

Implement telemetry, metrics, and tracing for Elixir/BEAM applications.

1|1|Updated Jan 3, 2026
One-click install
npx skills add https://github.com/layeddie/ai-rules --skill observability-layeddie
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: observability
Source: https://github.com/layeddie/ai-rules/tree/main/skills/observability
Command: npx skills add https://github.com/layeddie/ai-rules --skill observability-layeddie

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Observability is often missing or inconsistent in Elixir/BEAM applications. This skill provides a comprehensive setup for telemetry, metrics, tracing, health checks, and error tracking to give you visibility into application health and performance.

Core Features & Use Cases

  • Telemetry event setup and handling
  • Metrics collection and dashboards with PromEx/Prometheus
  • Distributed tracing with OpenTelemetry
  • Health checks and alerting
  • Error tracking and performance monitoring
  • Real-world scenario: instrument Phoenix endpoints and database queries to trace performance and reliability

Quick Start

Configure Telemetry events, integrate PromEx metrics, and enable OpenTelemetry tracing to begin collecting observability data from your Elixir app.

Frequently Asked Questions about observability

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

FAQPage Schema
How do I set up observability and telemetry in an Elixir Phoenix application?

To set up observability in Elixir Phoenix, configure Telemetry events, integrate PromEx for metrics collection, and enable OpenTelemetry tracing. This establishes comprehensive visibility into application health, performance, and distributed request flows from development to production.

What is the best way to collect metrics and create dashboards for BEAM applications?

The best way to collect metrics for BEAM applications is using PromEx to gather Telemetry events and expose them for Prometheus dashboards. This approach provides structured metrics collection, enabling you to monitor reliability and performance effectively.

Can I use OpenTelemetry for distributed tracing in Elixir services?

Yes, you can use OpenTelemetry for distributed tracing in Elixir services. Implementing OpenTelemetry allows you to instrument Phoenix endpoints and database queries, tracing performance and reliability across distributed application components.

Do I need health checks and error tracking for my Elixir app in production?

You need health checks and error tracking for Elixir apps in production to maintain visibility into application health. Configuring health endpoints and performance monitoring ensures you can detect failures, alert on issues, and measure reliability continuously.

Why does my Elixir application lack consistent visibility into performance issues?

Your Elixir application lacks visibility because observability is often missing or inconsistent without structured setup. By implementing Telemetry event handling, PromEx metrics, and OpenTelemetry tracing, you gain measurable app health and performance insights.