Enum Class AlertMonitorKind
- All Implemented Interfaces:
Serializable,Comparable<AlertMonitorKind>,Constable
The kinds of monitor an alerts implementation evaluates. Declared in core
so producers can describe a seeded (default) monitor for their alert types
without depending on the implementation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionan aggregate (count, sum, avg, min, max) crosses a band.a code check returned the currently-failing conditions.a matching ESB event arrived.alerts ingested from an external system (e.g.nothing was seen (a heartbeat, a process success, a newest row) within an interval.a process run failed.count of rows matching a filter passes a threshold. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlertMonitorKindReturns the enum constant of this class with the specified name.static AlertMonitorKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE_QUERY
count of rows matching a filter passes a threshold. -
AGGREGATE
an aggregate (count, sum, avg, min, max) crosses a band. -
HEARTBEAT
nothing was seen (a heartbeat, a process success, a newest row) within an interval. -
PROCESS_FAILED
a process run failed. -
ESB_EVENT
a matching ESB event arrived. -
CODE
a code check returned the currently-failing conditions. -
EXTERNAL
alerts ingested from an external system (e.g. Alertmanager).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-