-
Notifications
You must be signed in to change notification settings - Fork 5
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
Migrate to Fluentd v0.14 API #4
base: master
Are you sure you want to change the base?
Conversation
In this PR, I did not remove tag manipulation functionalities. |
Because I will add filter version of this in another PR.
rubocop -a --only Style/HashSyntax
emits -> events
require 'uri' | ||
end | ||
config_param :tag, :string, default: nil | ||
config_param :remove_prefix, :string, default: nil |
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.
Why not display warning with deprecated: "use @label instead for event routing"
like Fluentd?
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.
OK. I will add deprecation messages.
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.
I think these configurations should be removed in next version, because these configurations are not worked well.
I've checked logic. tag_mangle
method says:
tag
is exclusive withadd_prefix
tag
is exclusive withremove_prefix
add_prefix
andremove_prefix
are not exclusive with each other
But in configure
, following case will raise error:
- specify all
tag
,add_prefix
andremove_prefix
- omit all
tag
,add_prefix
andremove_prefix
end | ||
config_param :tag, :string, default: nil | ||
config_param :remove_prefix, :string, default: nil | ||
config_param :add_prefix, :string, default: nil |
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.
ditto.
@yasuoza Do you have any concern? |
@yasuoza ping? |
@yasuoza FYI: Fluentd v0.14.22 has been released | Fluentd Is it hard to take time for release management? |
No description provided.