Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins/inputs/kafka_consumer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions plugins/inputs/kafka_consumer/sample.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading