What problem does it solve?
Incident scenarios in the OpenTelemetry Demo are controlled by feature flags stored in a Kubernetes ConfigMap, and manually editing that ConfigMap to inject or remediate failures is error-prone and slow. This Skill provides scripts to list, inspect, and toggle those flags safely through flagd's hot-reload mechanism.
Core Features & Use Cases
- Scenario Discovery: List all incident scenarios (payment failures, CPU spikes, memory leaks, Kafka lag, LLM errors) with current status, affected service, detection PromQL, and remediation steps.
- Flag Inspection: View any flag's current variant, value, and all available variants, with JSON output options.
- Safe Remediation: Toggle flags with a mandatory dry-run workflow before applying changes via ConfigMap patch, triggering flagd hot-reload within seconds.
- Use Case: During a payment failure incident, run list_scenarios.py --active-only to confirm the paymentFailure flag is active, dry-run set_flag.py paymentFailure off, then apply it to restore normal behavior.
Quick Start
Ask the agent to list the currently active incident scenarios and then disable the paymentFailure flag after a dry run.