Description

This template monitors the Consumer related metrics. It is applicable for the devices containing Kafka application.

Prerequisites

Java must be installed on the device. Gateway should be up and running. The device should be reachable from Gateway. The device should be in managed state.

How to Apply:

For Kafka we have Instance Based Monitoring or Component Discovery Monitoring. In order to do that, we should add the following custom parameter:

application.component.name : Consumer

Create different monitors for different components in Instance based monitoring.

Only one component is allowed per monitor in Instance based monitoring.

We have three different types of Component Discovery Monitoring. They are:

For a single component :

ALL : ALL your instances will be monitored.

Expression : The Instance Names that match the expression will be monitored.

Manual Selection : With this option, you can select the desired instances while applying templates to the device.

Metric Parameters

Metric Parameters
ParameterDescription
Frequency
  • Frequency is the interval in which you want to probe and collect metric data from the target device/resource
  • Frequency is defined in minutes (min).
  • Warning ThresholdIf the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user.
    Critical ThresholdIf the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user.
    AlertThe alert value can be set to either Yes or No. If it is Yes, then an alert message is sent to the user.

    Metrics

    kafka.topic.consumer.fetch.size.avg

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe average number of bytes fetched per request for a specific topic.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    UnitReq per Sec

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    kafka.topic.consumer.bytes.consumed

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe average number of bytes consumed per second for a specific topic.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    Unitpsec

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    kafka.topic.consumer.records.consumed

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe average number of records consumed per second for a specific topic.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    Unitpsec

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    kafka.topic.consumer.records.perrequest.avg

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe average number of records in each request for a specific topic.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    Unitpsec

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    kafka.overall.consumer.records.lag.max

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionMaximum consumer lag of that particular consumer.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    kafka.overall.consumer.fetch.rate

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe minimum rate at which that particular consumer sends fetch requests to a broker.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache Kafka Consumer Monitor
    UnitReq per Sec

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency51 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph