Monitor Services

Lenses is compatible with many well known Kafka distributions. The different services are configured and monitored via Lenses. A secure connection to the JMX metrics is recommended to provide extra information about the service health.

Services supported: Kafka Brokers, Zookeepers, Schema Registries, Kafka Connect Clusters.

  1. From the Header Bar Menu, go to the Dashboard panel.
  2. On the side navigation, select Services under the Monitor section.

Services

Configure services

In this current version of Lenses, services configuration is set in the lenses.conf. You may navigate to the Admin > Configuration to verify the configuration of your services.

See more on how to Configure Lenses.

Services Config

Monitor Kafka brokers

When JMX is enabled, extra information and metrics for the services health are available. Specifically for the Kafka Brokers, you can drill down and navigate to each broker:

Services Broker Details

Broker decommission

When you decommission a broker from your cluster, it is advisable to let Lenses know about it in order not to provide false failure indications.

To decommission a broker:

  1. Navigate to Services.
  2. Select the broker and click on the actions in the options menu and click on the Decommission option.

Other services

Similarly to Kafka Brokers, other services can be connected and monitored via JMX: Zookeeper, Schema Registry, Kafka Connect workers.

Lenses monitors the current metrics for each service providing like this a current health check state. If you wish to have historical data about the services, see the Grafana & Prometheus section.