Internal Safety Override
- Status: local-only unless explicitly opted into external access.
- Before using network tools, account connectors, browser automation, or APIs, state the destination, data scope, and credential source.
- Do not transmit repository files, secrets, credentials, or private documents by default.
- Audit categories: network.
Observability Designer (POWERFUL)
Category: Engineering
Tier: POWERFUL
Description: Design comprehensive observability strategies for production systems including SLI/SLO frameworks, alerting optimization, and dashboard generation.
Overview
Observability Designer enables you to create production-ready observability strategies that provide deep insights into system behavior, performance, and reliability. This skill combines the three pillars of observability (metrics, logs, traces) with proven frameworks like SLI/SLO design, golden signals monitoring, and alert optimization to create comprehensive observability solutions.
Core Competencies
SLI/SLO/SLA Framework Design
- Service Level Indicators (SLI): Define measurable signals that indicate service health
- Service Level Objectives (SLO): Set reliability targets based on user experience
- Service Level Agreements (SLA): Establish customer-facing commitments with consequences
- Error Budget Management: Calculate and track error budget consumption
- Burn Rate Alerting: Multi-window burn rate alerts for proactive SLO protection
Three Pillars of Observability
Metrics
- Golden Signals: Latency, traffic, errors, and saturation monitoring
- RED Method: Rate, Errors, and Duration for request-driven services
- USE Method: Utilization, Saturation, and Errors for resource monitoring
- Business Metrics: Revenue, user engagement, and feature adoption tracking
- Infrastructure Metrics: CPU, memory, disk, network, and custom resource metrics
Logs
- Structured Logging: JSON-based log formats with consistent fields
- Log Aggregation: Centralized log collection and indexing strategies
- Log Levels: Appropriate use of DEBUG, INFO, WARN, ERROR, FATAL levels
- Correlation IDs: Request tracing through distributed systems
- Log Sampling: Volume management for high-throughput systems
Traces
- Distributed Tracing: End-to-end request flow visualization
- Span Design: Meaningful span boundaries and metadata
- Trace Sampling: Intelligent sampling strategies for performance and cost
- Service Maps: Automatic dependency discovery through traces
- Root Cause Analysis: Trace-driven debugging workflows
Dashboard Design Principles
Information Architecture
- Hierarchy: Overview → Service → Component → Instance drill-down paths
- Golden Ratio: 80% operational metrics, 20% exploratory metrics
- Cognitive Load: Maximum 7±2 panels per dashboard screen
- User Journey: Role-based dashboard personas (SRE, Developer, Executive)
Visualization Best Practices
- Chart Selection: Time series for trends, heatmaps for distributions, gauges for status
- Color Theory: Red for critical, amber for warning, green for healthy states
- Reference Lines: SLO targets, capacity thresholds, and historical baselines
- Time Ranges: Default to meaningful windows (4h for incidents, 7d for trends)
Panel Design
- Metric Queries: Efficient Prometheus/InfluxDB queries with proper aggregation
- Alerting Integration: Visual alert state indicators on relevant panels
- Interactive Elements: Template variables, drill-down links, and annotation overlays
- Performance: Sub-second render times through query optimization
Alert Design and Optimization
Alert Classification
- Severity Levels:
- Critical: Service down, SLO burn rate high
- Warning: Approaching thresholds, non-user-facing issues
- Info: Deployment notifications, capacity planning alerts
- Actionability: Every alert must have a clear response action
- Alert Routing: Escalation policies based on severity and team ownership
Alert Fatigue Prevention
- Signal vs Noise: High precision (few false positives) over high recall
- Hysteresis: Different thresholds for firing and resolving alerts
- Suppression: Dependent alert suppression during known outages
- Grouping: Related alerts grouped into single notifications
Alert Rule Design
- Threshold Selection: Statistical methods for threshold determination
- Window Functions: Appropriate averaging windows and percentile calculations
- Alert Lifecycle: Clear firing conditions and automatic resolution criteria
- Testing: Alert rule validation against historical data
Runbook Generation and Incident Response
Runbook Structure
- Alert Context: What the alert means and why it fired
- Impact Assessment: User-facing vs internal impact evaluation
- Investigation Steps: Ordered troubleshooting procedures with time estimates
- Resolution Actions: Common fixes and escalation procedures
- Post-Incident: Follow-up tasks and prevention measures
Incident Detection Patterns
- Anomaly Detection: Statistical methods for detecting unusual patterns
- Composite Alerts: Multi-signal alerts for complex failure modes
- Predictive Alerts: Capacity and trend-based forward-looking alerts
- Canary Monitoring: Early detection through progressive deployment monitoring
Golden Signals Framework
Latency Monitoring
- Request Latency: P50, P95, P99 response time tracking
- Queue Latency: Time spent waiting in processing queues
- Network Latency: Inter-service communication delays
- Database Latency: Query execution and connection pool metrics
Traffic Monitoring
- Request Rate: Requests per second with burst detection
- Bandwidth Usage: Network throughput and capacity utilization
- User Sessions: Active user tracking and session duration
- Feature Usage: API endpoint and feature adoption metrics
Error Monitoring
- Error Rate: 4xx and 5xx HTTP response code tracking
- Error Budget: SLO-based error rate targets and consumption
- Error Distribution: Error type classification and trending
- Silent Failures: Detection of processing failures without HTTP errors
Saturation Monitoring
- Resource Utilization: CPU, memory, disk, and network usage
- Queue Depth: Processing queue length and wait times
- Connection Pools: Database and service connection saturation
- Rate Limiting: API throttling and quota exhaustion tracking
Distributed Tracing Strategies
Trace Architecture
- Sampling Strategy: Head-based, tail-based, and adaptive sampling
- Trace Propagation: Context propagation across service boundaries
- Span Correlation: Parent-child relationship modeling
- Trace Storage: Retention policies and storage optimization
Service Instrumentation
- Auto-Instrumentation: Framework-based automatic trace generation
- Manual Instrumentation: Custom span creation for business logic
- Baggage Handling: Cross-cutting concern propagation
- Performance Impact: Instrumentation overhead measurement and optimization
Log Aggregation Patterns
Collection Architecture
- Agent Deployment: Log shipping agent strategies (push vs pull)
- Log Routing: Topic-based routing and filtering
- Parsing Strategies: Structured vs unstructured log handling
- Schema Evolution: Log format versioning and migration
Storage and Indexing
- Index Design: Optimized field indexing for common query patterns
- Retention Policies: Time and volume-based log retention
- Compression: Log data compression and archival strategies
- Search Performance: Query optimization and result caching
Cost Optimization for Observability
Data Management
- Metric Retention: Tiered retention based on metric importance
- Log Sampling: Intelligent sampling to reduce ingestion costs
- Trace Sampling: Cost-effective trace collection strategies
- Data Archival: Cold storage for historical observability data
Resource Optimization
- Query Efficiency: Optimized metric and log queries
- Storage Costs: Appropriate storage tiers for different data types
- Ingestion Rate Limiting: Controlled data ingestion to manage costs
- Cardinality Management: High-cardinality metric detection and mitigation
Scripts Overview
This skill includes three powerful Python scripts for comprehensive observability design:
1. SLO Designer (slo_designer.py)
Generates complete SLI/SLO frameworks based on service characteristics:
- Input: Service description JSON (type, criticality, dependencies)
- Output: SLI definitions, SLO targets, error budgets, burn rate alerts, SLA recommendations
- Features: Multi-window burn rate calculations, error budget policies, alert rule generation
2. Alert Optimizer (alert_optimizer.py)
Analyzes and optimizes existing alert configurations:
- Input: Alert configuration JSON with rules, thresholds, and routing
- Output: Optimization report and improved alert configuration
- Features: Noise detection, coverage gaps, duplicate identification, threshold optimization
3. Dashboard Generator (dashboard_generator.py)
Creates comprehensive dashboard specifications:
- Input: Service/system description JSON
- Output: Grafana-compatible dashboard JSON and documentation
- Features: Golden signals coverage, RED/USE methods, drill-down paths, role-based views
Integration Patterns
Monitoring Stack Integration
- Prometheus: Metric collection and alerting rule generation
- Grafana: Dashboard creation and visualization configuration
- Elasticsearch/Kibana: Log analysis and dashboard integration
- Jaeger/Zipkin: Distributed tracing configuration and analysis
CI/CD Integration
- Pipeline Monitoring: Build, test, and deployment observability
- Deployment Correlation: Release impact tracking and rollback triggers
- Feature Flag Monitoring: A/B test and feature rollout observability
- Performance Regression: Automated performance monitoring in pipelines
Incident Management Integration
- PagerDuty/VictorOps: Alert routing and escalation policies
- Slack/Teams: Notification and collaboration integration
- JIRA/ServiceNow: Incident tracking and resolution workflows
- Post-Mortem: Automated incident analysis and improvement tracking
Advanced Patterns
Multi-Cloud Observability
- Cross-Cloud Metrics: Unified metrics across AWS, GCP, Azure
- Network Observability: Inter-cloud connectivity monitoring
- Cost Attribution: Cloud resource cost tracking and optimization
- Compliance Monitoring: Security and compliance posture tracking
Microservices Observability
- Service Mesh Integration: Istio/Linkerd observability configuration
- API Gateway Monitoring: Request routing and rate limiting observability
- Container Orchestration: Kubernetes cluster and workload monitoring
- Service Discovery: Dynamic service monitoring and health checks
Machine Learning Observability
- Model Performance: Accuracy, drift, and bias monitoring
- Feature Store Monitoring: Feature quality and freshness tracking
- Pipeline Observability: ML pipeline execution and performance monitoring
- A/B Test Analysis: Statistical significance and business impact measurement
Best Practices
Organizational Alignment
- SLO Setting: Collaborative target setting between product and engineering
- Alert Ownership: Clear escalation paths and team responsibilities
- Dashboard Governance: Centralized dashboard management and standards
- Training Programs: Team education on observability tools and practices
Technical Excellence
- Infrastructure as Code: Observability configuration version control
- Testing Strategy: Alert rule testing and dashboard validation
- Performance Monitoring: Observability system performance tracking
- Security Considerations: Access control and data privacy in observability
Continuous Improvement
- Metrics Review: Regular SLI/SLO effectiveness assessment
- Alert Tuning: Ongoing alert threshold and routing optimization
- Dashboard Evolution: User feedback-driven dashboard improvements
- Tool Evaluation: Regular assessment of observability tool effectiveness
Success Metrics
Operational Metrics
- Mean Time to Detection (MTTD): How quickly issues are identified
- Mean Time to Resolution (MTTR): Time from detection to resolution
- Alert Precision: Percentage of actionable alerts
- SLO Achievement: Percentage of SLO targets met consistently
Business Metrics
- System Reliability: Overall uptime and user experience quality
- Engineering Velocity: Development team productivity and deployment frequency
- Cost Efficiency: Observability cost as percentage of infrastructure spend
- Customer Satisfaction: User-reported reliability and performance satisfaction
This comprehensive observability design skill enables organizations to build robust, scalable monitoring and alerting systems that provide actionable insights while maintaining cost efficiency and operational excellence.
1---2name: observability-designer3description: Observability Designer (POWERFUL)4---56## Internal Safety Override78- Status: local-only unless explicitly opted into external access.9- Before using network tools, account connectors, browser automation, or APIs, state the destination, data scope, and credential source.10- Do not transmit repository files, secrets, credentials, or private documents by default.11- Audit categories: network.1213# Observability Designer (POWERFUL)1415**Category:** Engineering 16**Tier:** POWERFUL 17**Description:** Design comprehensive observability strategies for production systems including SLI/SLO frameworks, alerting optimization, and dashboard generation.1819## Overview2021Observability Designer enables you to create production-ready observability strategies that provide deep insights into system behavior, performance, and reliability. This skill combines the three pillars of observability (metrics, logs, traces) with proven frameworks like SLI/SLO design, golden signals monitoring, and alert optimization to create comprehensive observability solutions.2223## Core Competencies2425### SLI/SLO/SLA Framework Design26- **Service Level Indicators (SLI):** Define measurable signals that indicate service health27- **Service Level Objectives (SLO):** Set reliability targets based on user experience28- **Service Level Agreements (SLA):** Establish customer-facing commitments with consequences29- **Error Budget Management:** Calculate and track error budget consumption30- **Burn Rate Alerting:** Multi-window burn rate alerts for proactive SLO protection3132### Three Pillars of Observability3334#### Metrics35- **Golden Signals:** Latency, traffic, errors, and saturation monitoring36- **RED Method:** Rate, Errors, and Duration for request-driven services37- **USE Method:** Utilization, Saturation, and Errors for resource monitoring38- **Business Metrics:** Revenue, user engagement, and feature adoption tracking39- **Infrastructure Metrics:** CPU, memory, disk, network, and custom resource metrics4041#### Logs42- **Structured Logging:** JSON-based log formats with consistent fields43- **Log Aggregation:** Centralized log collection and indexing strategies44- **Log Levels:** Appropriate use of DEBUG, INFO, WARN, ERROR, FATAL levels45- **Correlation IDs:** Request tracing through distributed systems46- **Log Sampling:** Volume management for high-throughput systems4748#### Traces49- **Distributed Tracing:** End-to-end request flow visualization50- **Span Design:** Meaningful span boundaries and metadata51- **Trace Sampling:** Intelligent sampling strategies for performance and cost52- **Service Maps:** Automatic dependency discovery through traces53- **Root Cause Analysis:** Trace-driven debugging workflows5455### Dashboard Design Principles5657#### Information Architecture58- **Hierarchy:** Overview → Service → Component → Instance drill-down paths59- **Golden Ratio:** 80% operational metrics, 20% exploratory metrics60- **Cognitive Load:** Maximum 7±2 panels per dashboard screen61- **User Journey:** Role-based dashboard personas (SRE, Developer, Executive)6263#### Visualization Best Practices64- **Chart Selection:** Time series for trends, heatmaps for distributions, gauges for status65- **Color Theory:** Red for critical, amber for warning, green for healthy states66- **Reference Lines:** SLO targets, capacity thresholds, and historical baselines67- **Time Ranges:** Default to meaningful windows (4h for incidents, 7d for trends)6869#### Panel Design70- **Metric Queries:** Efficient Prometheus/InfluxDB queries with proper aggregation71- **Alerting Integration:** Visual alert state indicators on relevant panels72- **Interactive Elements:** Template variables, drill-down links, and annotation overlays73- **Performance:** Sub-second render times through query optimization7475### Alert Design and Optimization7677#### Alert Classification78- **Severity Levels:** 79 - **Critical:** Service down, SLO burn rate high80 - **Warning:** Approaching thresholds, non-user-facing issues81 - **Info:** Deployment notifications, capacity planning alerts82- **Actionability:** Every alert must have a clear response action83- **Alert Routing:** Escalation policies based on severity and team ownership8485#### Alert Fatigue Prevention86- **Signal vs Noise:** High precision (few false positives) over high recall87- **Hysteresis:** Different thresholds for firing and resolving alerts88- **Suppression:** Dependent alert suppression during known outages89- **Grouping:** Related alerts grouped into single notifications9091#### Alert Rule Design92- **Threshold Selection:** Statistical methods for threshold determination93- **Window Functions:** Appropriate averaging windows and percentile calculations94- **Alert Lifecycle:** Clear firing conditions and automatic resolution criteria95- **Testing:** Alert rule validation against historical data9697### Runbook Generation and Incident Response9899#### Runbook Structure100- **Alert Context:** What the alert means and why it fired101- **Impact Assessment:** User-facing vs internal impact evaluation102- **Investigation Steps:** Ordered troubleshooting procedures with time estimates103- **Resolution Actions:** Common fixes and escalation procedures104- **Post-Incident:** Follow-up tasks and prevention measures105106#### Incident Detection Patterns107- **Anomaly Detection:** Statistical methods for detecting unusual patterns108- **Composite Alerts:** Multi-signal alerts for complex failure modes109- **Predictive Alerts:** Capacity and trend-based forward-looking alerts110- **Canary Monitoring:** Early detection through progressive deployment monitoring111112### Golden Signals Framework113114#### Latency Monitoring115- **Request Latency:** P50, P95, P99 response time tracking116- **Queue Latency:** Time spent waiting in processing queues117- **Network Latency:** Inter-service communication delays118- **Database Latency:** Query execution and connection pool metrics119120#### Traffic Monitoring121- **Request Rate:** Requests per second with burst detection122- **Bandwidth Usage:** Network throughput and capacity utilization123- **User Sessions:** Active user tracking and session duration124- **Feature Usage:** API endpoint and feature adoption metrics125126#### Error Monitoring127- **Error Rate:** 4xx and 5xx HTTP response code tracking128- **Error Budget:** SLO-based error rate targets and consumption129- **Error Distribution:** Error type classification and trending130- **Silent Failures:** Detection of processing failures without HTTP errors131132#### Saturation Monitoring133- **Resource Utilization:** CPU, memory, disk, and network usage134- **Queue Depth:** Processing queue length and wait times135- **Connection Pools:** Database and service connection saturation136- **Rate Limiting:** API throttling and quota exhaustion tracking137138### Distributed Tracing Strategies139140#### Trace Architecture141- **Sampling Strategy:** Head-based, tail-based, and adaptive sampling142- **Trace Propagation:** Context propagation across service boundaries143- **Span Correlation:** Parent-child relationship modeling144- **Trace Storage:** Retention policies and storage optimization145146#### Service Instrumentation147- **Auto-Instrumentation:** Framework-based automatic trace generation148- **Manual Instrumentation:** Custom span creation for business logic149- **Baggage Handling:** Cross-cutting concern propagation150- **Performance Impact:** Instrumentation overhead measurement and optimization151152### Log Aggregation Patterns153154#### Collection Architecture155- **Agent Deployment:** Log shipping agent strategies (push vs pull)156- **Log Routing:** Topic-based routing and filtering157- **Parsing Strategies:** Structured vs unstructured log handling158- **Schema Evolution:** Log format versioning and migration159160#### Storage and Indexing161- **Index Design:** Optimized field indexing for common query patterns162- **Retention Policies:** Time and volume-based log retention163- **Compression:** Log data compression and archival strategies164- **Search Performance:** Query optimization and result caching165166### Cost Optimization for Observability167168#### Data Management169- **Metric Retention:** Tiered retention based on metric importance170- **Log Sampling:** Intelligent sampling to reduce ingestion costs171- **Trace Sampling:** Cost-effective trace collection strategies172- **Data Archival:** Cold storage for historical observability data173174#### Resource Optimization175- **Query Efficiency:** Optimized metric and log queries176- **Storage Costs:** Appropriate storage tiers for different data types177- **Ingestion Rate Limiting:** Controlled data ingestion to manage costs178- **Cardinality Management:** High-cardinality metric detection and mitigation179180## Scripts Overview181182This skill includes three powerful Python scripts for comprehensive observability design:183184### 1. SLO Designer (`slo_designer.py`)185Generates complete SLI/SLO frameworks based on service characteristics:186- **Input:** Service description JSON (type, criticality, dependencies)187- **Output:** SLI definitions, SLO targets, error budgets, burn rate alerts, SLA recommendations188- **Features:** Multi-window burn rate calculations, error budget policies, alert rule generation189190### 2. Alert Optimizer (`alert_optimizer.py`)191Analyzes and optimizes existing alert configurations:192- **Input:** Alert configuration JSON with rules, thresholds, and routing193- **Output:** Optimization report and improved alert configuration194- **Features:** Noise detection, coverage gaps, duplicate identification, threshold optimization195196### 3. Dashboard Generator (`dashboard_generator.py`)197Creates comprehensive dashboard specifications:198- **Input:** Service/system description JSON199- **Output:** Grafana-compatible dashboard JSON and documentation200- **Features:** Golden signals coverage, RED/USE methods, drill-down paths, role-based views201202## Integration Patterns203204### Monitoring Stack Integration205- **Prometheus:** Metric collection and alerting rule generation206- **Grafana:** Dashboard creation and visualization configuration207- **Elasticsearch/Kibana:** Log analysis and dashboard integration208- **Jaeger/Zipkin:** Distributed tracing configuration and analysis209210### CI/CD Integration211- **Pipeline Monitoring:** Build, test, and deployment observability212- **Deployment Correlation:** Release impact tracking and rollback triggers213- **Feature Flag Monitoring:** A/B test and feature rollout observability214- **Performance Regression:** Automated performance monitoring in pipelines215216### Incident Management Integration217- **PagerDuty/VictorOps:** Alert routing and escalation policies218- **Slack/Teams:** Notification and collaboration integration219- **JIRA/ServiceNow:** Incident tracking and resolution workflows220- **Post-Mortem:** Automated incident analysis and improvement tracking221222## Advanced Patterns223224### Multi-Cloud Observability225- **Cross-Cloud Metrics:** Unified metrics across AWS, GCP, Azure226- **Network Observability:** Inter-cloud connectivity monitoring227- **Cost Attribution:** Cloud resource cost tracking and optimization228- **Compliance Monitoring:** Security and compliance posture tracking229230### Microservices Observability231- **Service Mesh Integration:** Istio/Linkerd observability configuration232- **API Gateway Monitoring:** Request routing and rate limiting observability233- **Container Orchestration:** Kubernetes cluster and workload monitoring234- **Service Discovery:** Dynamic service monitoring and health checks235236### Machine Learning Observability237- **Model Performance:** Accuracy, drift, and bias monitoring238- **Feature Store Monitoring:** Feature quality and freshness tracking239- **Pipeline Observability:** ML pipeline execution and performance monitoring240- **A/B Test Analysis:** Statistical significance and business impact measurement241242## Best Practices243244### Organizational Alignment245- **SLO Setting:** Collaborative target setting between product and engineering246- **Alert Ownership:** Clear escalation paths and team responsibilities247- **Dashboard Governance:** Centralized dashboard management and standards248- **Training Programs:** Team education on observability tools and practices249250### Technical Excellence251- **Infrastructure as Code:** Observability configuration version control252- **Testing Strategy:** Alert rule testing and dashboard validation253- **Performance Monitoring:** Observability system performance tracking254- **Security Considerations:** Access control and data privacy in observability255256### Continuous Improvement257- **Metrics Review:** Regular SLI/SLO effectiveness assessment258- **Alert Tuning:** Ongoing alert threshold and routing optimization259- **Dashboard Evolution:** User feedback-driven dashboard improvements260- **Tool Evaluation:** Regular assessment of observability tool effectiveness261262## Success Metrics263264### Operational Metrics265- **Mean Time to Detection (MTTD):** How quickly issues are identified266- **Mean Time to Resolution (MTTR):** Time from detection to resolution267- **Alert Precision:** Percentage of actionable alerts268- **SLO Achievement:** Percentage of SLO targets met consistently269270### Business Metrics271- **System Reliability:** Overall uptime and user experience quality272- **Engineering Velocity:** Development team productivity and deployment frequency273- **Cost Efficiency:** Observability cost as percentage of infrastructure spend274- **Customer Satisfaction:** User-reported reliability and performance satisfaction275276This comprehensive observability design skill enables organizations to build robust, scalable monitoring and alerting systems that provide actionable insights while maintaining cost efficiency and operational excellence.