Alert Rules

Lenses provides a set with pre-configured Alert Rules and the ability to create Consumer Alert rules. When rules are enabled, Lenses monitors the relevant resources and triggers an Alert Event any time the condition is met. Events can be integrated with any third party system via the Alert Integration plugins.

  1. From the Header Bar Menu, go to Admin panel.
  2. On the side navigation, select Rules under the Alerts section.

Alert Rule types

Two types of Alert Rules are supported in Lenses:

Infrastructure are built-in rules. They can be enabled or disabled but also can be routed into any channel you configured.

From this screen, you can also edit their destination by clicking on the edit icon next to each rule.

Two types of Alert Rules are supported in Lenses:

Infrastructure are built-in rules. They can be enabled or disabled but also can be routed into any channel you configured.

From this screen, you can also edit their destination by clicking on the edit icon next to each rule.

Alert Rules Infrastructure

Consumer rules refer to the Kafka Consumers, and are based on threshold added by the user. Similarly to Infrastructure rules, you can also specify which channel they will be routed to.

From this screen, you can also edit their destination by clicking on the edit icon next to each rule. Consumer rules cannot be disabled but they can be deleted.

Creating consumer rule

To create a new rule, click on the New Rule button from the listing page.

Alert Rules Consumer Rules Create

Editing a consumer Rule

To edit Consumer rule, click on the edit icon next to the desired rule from the listing page.

Alert Rules Consumer Rules Edit

Deleting a consumer rule

To delete Consumer rule, click on the trash icon next to the desired rule from the listing page.

Alert Rules Consumer Rules Delete

Data Produced Rules refer to the Kafka topics and are based on the threshold added by the user. Similarly to Infrastructure rules, you can also specify which channel they will be routed to.

From this screen, you can also edit their destination by clicking on the edit icon next to each rule. Data Produced rules cannot be disabled, but they can be deleted.

Creating a data produced rule

To create a new rule, click on the New Rule button from the listing page.

Alert Rules Data Produced Rules Create

Editing a data produced rule

To edit Data Produced rule, click on the edit icon next to the desired rule from the listing page.

Alert Rules Data Produced Rules Edit

Deleting data produced rule

To delete Data Produced rule, click on the trash icon next to the desired rule from the listing page.

Alert Rules Data Produced Rules Delete