observability-patterns
CommunityGain deep insights, monitor with confidence.
Software Engineering#logging#metrics#observability#tracing#opentelemetry#feature flags#datadog#posthog
Authoraitchwhy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill establishes a comprehensive observability stack using OpenTelemetry, Datadog, PostHog, and DevCycle. It provides deep insights into application performance, user behavior, and feature rollout, enabling proactive issue detection and informed decision-making.
Core Features & Use Cases
- OpenTelemetry SDK 2.x: Critical instrumentation patterns for traces, metrics, and logs, ensuring correlation across distributed systems and providing end-to-end visibility.
- Structured Logging: Guides on implementing structured JSON logging with automatic trace correlation for easy analysis and filtering in Datadog.
- Custom Metrics: Patterns for defining RED metrics (Rate, Errors, Duration) and business-specific metrics to track key performance indicators.
- PostHog & DevCycle: Integration for product analytics, session replay, and feature flag management, enabling A/B testing and controlled feature rollouts.
- Use Case: A developer needs to add observability to a new microservice. They can use this skill to implement OpenTelemetry instrumentation as the first import, define custom RED metrics, integrate structured logging with trace IDs, and set up feature flags with DevCycle for controlled rollouts.
Quick Start
Implement the OpenTelemetry SDK 2.x instrumentation in 'src/instrumentation.ts' as the very first import in the server entry file, configuring it for Datadog.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: observability-patterns Download link: https://github.com/aitchwhy/dotfiles/archive/main.zip#observability-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.