diff --git a/plugins/inputs/kafka_consumer/README.md b/plugins/inputs/kafka_consumer/README.md index 34aa8baa4..0e5a3cc52 100644 --- a/plugins/inputs/kafka_consumer/README.md +++ b/plugins/inputs/kafka_consumer/README.md @@ -66,11 +66,11 @@ to use them. ## The list of Kafka message headers that should be pass as metric tags ## works only for Kafka version 0.11+, on lower versions the message headers ## are not available - # msg_headers_to_tags = [] + # msg_headers_as_tags = [] ## The name of kafka message header which value should override the metric name. - ## In case when the same header specified in current option and in msg_headers_to_tags - ## option, it will be excluded from the msg_headers_to_tags list. + ## In case when the same header specified in current option and in msg_headers_as_tags + ## option, it will be excluded from the msg_headers_as_tags list. # msg_header_as_metric_name = "" ## Optional Client id diff --git a/plugins/inputs/kafka_consumer/sample.conf b/plugins/inputs/kafka_consumer/sample.conf index afefd722e..b57b4c2f9 100644 --- a/plugins/inputs/kafka_consumer/sample.conf +++ b/plugins/inputs/kafka_consumer/sample.conf @@ -26,11 +26,11 @@ ## The list of Kafka message headers that should be pass as metric tags ## works only for Kafka version 0.11+, on lower versions the message headers ## are not available - # msg_headers_to_tags = [] + # msg_headers_as_tags = [] ## The name of kafka message header which value should override the metric name. - ## In case when the same header specified in current option and in msg_headers_to_tags - ## option, it will be excluded from the msg_headers_to_tags list. + ## In case when the same header specified in current option and in msg_headers_as_tags + ## option, it will be excluded from the msg_headers_as_tags list. # msg_header_as_metric_name = "" ## Optional Client id