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

es_size not resolved - Fluentd 0.14.2 with Datadog plugin 0.18 #1163

Closed
stevenc81 opened this issue Aug 16, 2016 · 4 comments
Closed

es_size not resolved - Fluentd 0.14.2 with Datadog plugin 0.18 #1163

stevenc81 opened this issue Aug 16, 2016 · 4 comments
Labels
bug Something isn't working v0.14

Comments

@stevenc81
Copy link

2016-08-16 05:29:31 +0000 [warn]: emit transaction failed: error_class=NameError error="undefined local variable or method es_size' for #<Fluent::DdOutput:007f9ea78381d0>" tag="fluentd.metrics" 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/compat/output.rb:368:inblock in handle_stream_simple'
2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/2.3.0/monitor.rb:214:in mon_synchronize' 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/compat/output.rb:368:inhandle_stream_simple'
2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/plugin/output.rb:587:in execute_chunking' 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/plugin/output.rb:531:inemit_buffered'
2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/event_router.rb:90:in emit_stream' 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/plugin/in_monitor_agent.rb:265:inblock in start'
2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/plugin/in_monitor_agent.rb:229:in on_timer' 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:inrun_once'
2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in run' 2016-08-16 05:29:31 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.2/lib/fluent/plugin/in_monitor_agent.rb:273:inrun'

@repeatedly repeatedly added bug Something isn't working v0.14 labels Aug 16, 2016
@repeatedly
Copy link
Member

Thanks for the report.
It seems a typo here:

@counters_monitor.synchronize{ @emit_records += es_size }

@repeatedly
Copy link
Member

Here is a patch: #1164
Could you try it?

@stevenc81
Copy link
Author

Thanks for the prompt fix @repeatedly :) I've fallback to version v0.12 as it seems we have some more compatibility issues with v0.14? Sorry to digress, here is another interesting one that only happens in v0.14

awslabs/aws-fluent-plugin-kinesis#80

@repeatedly
Copy link
Member

repeatedly commented Aug 17, 2016

it seems we have some more compatibility issues with v0.14?

Compatibility layer should work but we don't test all plugins. So it may hit a bug.

repeatedly added a commit that referenced this issue Aug 17, 2016
ganmacs pushed a commit to ganmacs/fluentd that referenced this issue Aug 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.14
Projects
None yet
Development

No branches or pull requests

2 participants