Invalid kafka_consumer documentation

kafka_consumer is able to figure
out partitions on its own, there is
no need to specify them here.

Change-Id: I9f97d95bf49b7b89a4eccfa119e07cb30e4f37b1
This commit is contained in:
Tomasz Trębski 2016-09-01 10:11:18 +02:00
parent 1ded4ca81a
commit 1a25c633b8
2 changed files with 12 additions and 16 deletions

View File

@ -4,8 +4,6 @@ init_config:
instances:
# - kafka_connect_str: localhost:19092
# zk_connect_str: localhost:2181
# zk_prefix: /0.8
# It is possible to get the lag for each partition, the default is to sum lag for all partitions
# per_partition: False
# Full includes additional metrics with actual offsets per partition, can't be set if per_partition is False

View File

@ -941,23 +941,21 @@ This section describes the Kafka check that can be performed by the Agent. The
Sample config:
```
```yml
init_config:
instances:
- consumer_groups:
'1_alarm-state-transitions':
'alarm-state-transitions': ['3', '2', '1', '0']
'1_metrics':
'metrics': &id001 ['3', '2', '1', '0']
'test':
'healthcheck': ['1', '0']
'thresh-event':
'events': ['3', '2', '1', '0']
'thresh-metric':
'metrics': *id001
kafka_connect_str: localhost:9092
zk_connect_str: localhost:2181
- built_by: Kafka
consumer_groups:
1_metrics:
metrics: []
thresh-event:
events: []
thresh-metric:
metrics: []
kafka_connect_str: 192.168.10.6:9092
name: 192.168.10.6:9092
per_partition: false
```
The Kafka checks return the following metrics: