-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
feat(inputs.kafka_consumer): Add message headers as metric tags. #13924
feat(inputs.kafka_consumer): Add message headers as metric tags. #13924
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Couple small comments
Co-authored-by: Joshua Powers <[email protected]>
fix: set default value for option in readme Co-authored-by: Joshua Powers <[email protected]>
Co-authored-by: Joshua Powers <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the nice PR @BelousovAntonV! Just two small comments from my side...
Co-authored-by: Sven Rebhan <[email protected]>
Co-authored-by: Sven Rebhan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this nice feature @BelousovAntonV!
Required for all PRs
resolves #13822
Added 2 options to
kafka_consumer
:kafka_version
- used to specify version in the Sarama config to enable different features. For example message headers won't be received if Kafka version lower 0.11.msg_headers_to_tags
- string array of header names that should be added as tags to metric.