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

Migrate to Fluentd v0.14 API #4

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

okkez
Copy link

@okkez okkez commented Jan 6, 2017

No description provided.

@okkez
Copy link
Author

okkez commented Jan 6, 2017

In this PR, I did not remove tag manipulation functionalities.
But core developers say that tag manipulation is not recommended use label feature instead.

okkez added 6 commits January 6, 2017 16:41
Because I will add filter version of this in another PR.
rubocop -a --only Style/HashSyntax
emits ->
events
@okkez okkez mentioned this pull request Jan 6, 2017
require 'uri'
end
config_param :tag, :string, default: nil
config_param :remove_prefix, :string, default: nil

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?

ref: https://github.com/fluent/fluentd/blob/e3edf3e3754638be8cb513cebacf2d1fa5042d8c/lib/fluent/plugin/out_exec_filter.rb#L31

Copy link
Author

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.

Copy link
Author

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 with add_prefix
  • tag is exclusive with remove_prefix
  • add_prefix and remove_prefix are not exclusive with each other

But in configure, following case will raise error:

  • specify all tag, add_prefix and remove_prefix
  • omit all tag, add_prefix and remove_prefix

end
config_param :tag, :string, default: nil
config_param :remove_prefix, :string, default: nil
config_param :add_prefix, :string, default: nil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto.

@okkez
Copy link
Author

okkez commented May 17, 2017

@yasuoza Do you have any concern?

@okkez
Copy link
Author

okkez commented Sep 26, 2017

@yasuoza ping?

@okkez
Copy link
Author

okkez commented Nov 6, 2017

@yasuoza FYI: Fluentd v0.14.22 has been released | Fluentd

Is it hard to take time for release management?
I can help you to release new version 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants