Troubleshooting¶
When events don't trigger workflows, debugging can be challenging. Events flow through multiple components, and failures can be silent. This section covers systematic approaches to identify and fix issues.
Debugging Flow¶
Start at the source and work forward:
flowchart LR
A[1. EventSource] --> B[2. EventBus]
B --> C[3. Sensor]
C --> D[4. Trigger]
D --> E[5. Workflow]
%% Ghostty Hardcore Theme
style A fill:#fd971e,color:#1b1d1e
style B fill:#515354,color:#f8f8f3
style C fill:#f92572,color:#1b1d1e
style D fill:#9e6ffe,color:#1b1d1e
style E fill:#a7e22e,color:#1b1d1e
Check each component in order. The failure is usually at the first component that doesn't show expected behavior.
Troubleshooting Guides¶
| Guide | When to Use |
|---|---|
| EventSource Issues | Events not arriving from external systems |
| Sensor Issues | Events arrive but don't trigger actions |
| Common Patterns | Frequently encountered problems and solutions |
Quick Diagnostic Commands¶
# Check EventSource status
kubectl get eventsources -n argo-events
kubectl describe eventsource <name> -n argo-events
# Check EventBus health
kubectl get eventbus -n argo-events
kubectl logs -n argo-events -l eventbus-name=default
# Check Sensor status
kubectl get sensors -n argo-events
kubectl describe sensor <name> -n argo-events
kubectl logs -n argo-events -l sensor-name=<name>
# Check recent workflows
kubectl get workflows -n argo-workflows --sort-by=.metadata.creationTimestamp | tail -10
Logging Levels¶
Increase verbosity for debugging:
Return to error or info after debugging to reduce log volume.
Silent Failures
Argo Events often fails silently. Filters that don't match, conditions that evaluate false, and malformed events produce no errors. When "nothing happens," systematic component-by-component verification is essential.
Related¶
- EventSource Issues - Debug event ingestion
- Sensor Issues - Debug event processing
- Common Patterns - Known issues and fixes
- Official Troubleshooting - Argo Events troubleshooting guide