-
Notifications
You must be signed in to change notification settings - Fork 1.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
filter_log_to_metrics: Add setting "label" #7739
Conversation
Configuration:
|
Debug output:
|
Valgrind output:
|
Signed-off-by: Markus Meyer <[email protected]>
Signed-off-by: Markus Meyer <[email protected]>
Signed-off-by: Markus Meyer <[email protected]>
Signed-off-by: Markus Meyer <[email protected]>
5806941
to
ed60c66
Compare
merging this PR, note that I will rename |
Thank you for the review and the merge @edsiper. Unfortunately, some lines were missed in #7964. I have created #7967 to address the issue. Please take a look. fluent/fluent-bit-docs#1167 has been updated as well to reflect the rename. |
--------- Signed-off-by: Markus Meyer <[email protected]>
Add setting
label
to filter "Log to Metrics". It allows a user to define a custom label name and a key from which the value of the label is read.Addresses #7737.
Enter
[N/A]
in the box, if an item is not applicable to your change.Testing
Before we can approve your change; please submit the following in a comment:
If this is a change to packaging of containers or native binaries then please confirm it works for all targets.
ok-package-test
label to test for all targets (requires maintainer to do).Documentation
fluent/fluent-bit-docs#1167
Backporting
Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.