effect-patterns-observability

Implement observability in Effect-TS applications with logging, metrics, and tracing.

1|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-observability-tomsiwik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-observability
Source: https://github.com/tomsiwik/dojocho/tree/main/dojos/effect-ts/skills/effect-patterns-observability
Command: npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-observability-tomsiwik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers effectively debug and monitor their Effect-TS applications by providing curated patterns for observability.

Core Features & Use Cases

  • Debugging Effect Programs: Learn to use Effect.tap and Effect.log for inspecting values and tracing execution flow without altering program behavior.
  • Structured Logging: Implement contextual and structured logging using Effect.log and its variants for better insights.
  • Instrumentation: Instrument function calls with Effect.fn and add custom metrics using the Metric module for performance monitoring.
  • Distributed Tracing: Utilize Effect.withSpan to trace operations across services and visualize request flows.
  • Alerting & Dashboards: Understand how to set up alerts based on SLOs and create focused dashboards for system health.

Quick Start

Use the effect-patterns-observability skill to learn how to debug Effect programs using Effect.tap and Effect.log.

Frequently Asked Questions about effect-patterns-observability

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

FAQPage Schema
How do I debug lazy and compositional Effect-TS codebases effectively?

Debug Effect-TS programs by using `Effect.tap` and `Effect.log` to inspect intermediate values and trace execution flow without altering program behavior. This addresses the specific challenges of debugging lazy, compositional Effect codebases.

What is the best way to implement structured logging in an Effect-TS application?

The best way to implement structured logging in an Effect-TS application is by using `Effect.log` and its contextual variants. This approach provides better insights and allows you to attach contextual data directly to your logs for comprehensive observability.

How do I add custom metrics and instrumentation to Effect functions?

Add custom metrics and instrumentation to Effect functions by using `Effect.fn` to instrument function calls and the `Metric` module to define custom metrics. This enables detailed performance monitoring within your Effect-TS application.

Can I use distributed tracing to trace operations across services in Effect-TS?

Yes, you can use distributed tracing in Effect-TS by utilizing `Effect.withSpan`. This allows you to trace operations across services, visualize request flows, and gain comprehensive insights into distributed system interactions.

Does this Skill cover setting up alerts and dashboards for Effect-TS metrics?

Yes, it covers setting up alerts based on Service Level Objectives (SLOs) and creating focused dashboards. This ensures you can monitor system health effectively and trigger notifications based on your Effect-TS application metrics.