MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

plugin does not seem to work with couch 2 stats format #554

Closed seanlaval closed 6 years ago

seanlaval commented 6 years ago

Traceback (most recent call last): File "/usr/local/bin/newrelic-plugin-agent", line 9, in load_entry_point('newrelic-plugin-agent==1.3.0', 'console_scripts', 'newrelic-plugin-agent')() File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/agent.py", line 337, in main helper.start(NewRelicPluginAgent) File "/usr/local/lib/python2.7/dist-packages/helper/init.py", line 174, in start obj.start() File "/usr/local/lib/python2.7/dist-packages/helper/controller.py", line 266, in start self.run() File "/usr/local/lib/python2.7/dist-packages/helper/controller.py", line 253, in run self.process() File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/agent.py", line 118, in process self.start_plugin_polling() File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/agent.py", line 280, in start_plugin_polling self.config.application.get(plugin)) File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/agent.py", line 108, in poll_plugin thread.run() File "/usr/lib/python2.7/threading.py", line 763, in run self.target(*self.args, **self.__kwargs) File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/agent.py", line 308, in thread_process obj.poll() File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/plugins/base.py", line 460, in poll self.add_datapoints(data) File "/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/plugins/couchdb.py", line 29, in add_datapoints self.add_request_methods(stats['httpd_request_methods']) KeyError: 'httpd_request_methods'