fix(inputs.kafka_consumer): Correctly setting name to msg_headers_as_tags (#14679)

This commit is contained in:
Lee, YoungHoon 2024-02-07 05:39:09 +09:00 committed by GitHub
parent 9673d22e5b
commit 4c2ba74824
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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