This page defines in-depth how triggers are bound to actions.
We're working on improving this documentation. Please open an issue on Github about anything that is unclear.
Simple actions take no special parameters and can therefore run on every trigger.
Where possible, trigger-action compatibility is checked when Robusta loads its config, so feel free to experiment. Incompatible triggers and actions will fail gracefully with a warning.
All of the triggers in Robusta form a hierarchy. If an action supports a specific trigger, it also supports descendants of that trigger.
For example, the trigger
on_deployment_all_changes has a child trigger
The latter may be used wherever the former is expected.
on_prometheus_alert is compatible with most Robusta actions that take Kubernetes resources.
The way this works under the hood is explained on the Events and Triggers page.