nickfloyd / newrelic-perfmon-plugin

The Perfmon Plugin for the New Relic Plugins - https://newrelic.com/plugins
MIT License
11 stars 22 forks source link

Issue with custom metrics #12

Open websystem3 opened 10 years ago

websystem3 commented 10 years ago

When I try to run custom metrics I get this error.

C:/Windows/TEMP/ocr6291.tmp/lib/ruby/1.9.1/psych.rb:203:in parse': (<unknown>): did not find expected key while parsing a block mapping at line 8 column 3 (Psych::SyntaxError) from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/1.9.1/psych.rb:203:inparse_stream' from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/1.9.1/psych.rb:151:in parse' from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/1.9.1/psych.rb:127:inload' from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/gems/1.9.1/gems/newrelic_plugin-1.2.1/lib/newrelic_plugin/config.rb:28:in initialize' from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/gems/1.9.1/gems/newrelic_plugin-1.2.1/lib/newrelic_plugin/config.rb:78:innew' from C:/Windows/TEMP/ocr6291.tmp/lib/ruby/gems/1.9.1/gems/newrelic_plugin-1.2.1/lib/newrelic_plugin/config.rb:78:in config' from C:/Windows/TEMP/ocr6291.tmp/src/perfmon_plugin_multithread.rb:22:inclass:Agent' from C:/Windows/TEMP/ocr6291.tmp/src/perfmon_plugin_multithread.rb:12:in <module:PerfmonAgent>' from C:/Windows/TEMP/ocr6291.tmp/src/perfmon_plugin_multithread.rb:10:in

'

If I use the built in metrics I have no problems.

theskipster commented 10 years ago

I get the same error.