HawkFX is an explorer for Hawkular. It is a pet project of mine and hosted on
Github. It now has the ability to define alerting triggers.
Hawkular-services and now also Hawkular-Metrics standalone have the ability to fire alerts when certain conditions
are met. To define those conditions, one creates a trigger via
the Hawkular-Alerts api. The alerting team has also written a
developer guide that explains the concepts and
terms behind Hawkular-Alerts.
HawkFX now has the ability to directly insert new triggers. For this purpose I have created a
DSL to allow to define triggers
in a more 'natural language'. More on this below.
When you right-click on a metric in the HawkFX list of metrics, there is now a new context menu item 'New trigger',
that leads you to the insert screen, where you can insert the definition. This will contain a canned definition
to start with.
Figure 2. Alert trigger insert screen
When you are done writing the definition, you can click on the parse button at the bottom to check the definition.