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

error while running newrelic_logwatcher_agent.rb file in windows #58

Open
harishgarg0502 opened this issue Sep 13, 2016 · 0 comments
Open

Comments

@harishgarg0502
Copy link

Hi,
I am using Logwatcher Plugin for logs for my application.when i am running it on linux it is working fine but when i am running the same on windows it is giving error while running newrelic_logwatcher_agent.rb file.

Error i am getting is:-

C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/component.rb:14:in key': undefined method+' for nil:NilClass (NoMethodError)
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:101:in component_has_metrics?' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:85:inblock in build_components_array'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:in each' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:84:inbuild_components_array'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:69:in build_request_data_structure' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_platform_binding/request.rb:16:indeliver'
from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:128:in loop_forever' from C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:insetup_and_run'
from newrelic_Logwatcher_agent.rb:137:in <module:LogwatcherAgent>' from newrelic_Logwatcher_agent.rb:66:in

'

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

No branches or pull requests

1 participant