Giter Site home page Giter Site logo

Comments (9)

kaah avatar kaah commented on July 27, 2024

Did you add your key to /etc/newrelic_plugin_agent.yml?

from newrelic-plugin-agent.

pippoppo avatar pippoppo commented on July 27, 2024

yes, sorry, I could have told before

from newrelic-plugin-agent.

khobbits avatar khobbits commented on July 27, 2024

I'm getting mixed data too.
On the dashboard main page, which lists instances, I'm seeing data like:
logstash 1.41k 0 0.991 MB 14.9 2.97

but if I click on that instance, pretty much all the graphs show nothing other than ram.

from newrelic-plugin-agent.

gmr avatar gmr commented on July 27, 2024

Can you change the log level to DEBUG from INFO and paste the output please?

from newrelic-plugin-agent.

pippoppo avatar pippoppo commented on July 27, 2024

hmm

DEBUG 2013-06-22 10:50:36 27999 MainProcess MainThread newrelic_plugin_agent.agent send_components L183 : Response: 500: '\n\n<title>500 Internal Server Error</title>\n\n

Internal Server Error

\n

The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.

\n

Please contact the server administrator,\n webmaster@ and inform them of the time the error occurred,\nand anything you might have done that may have\ncaused the error.

\n

More information about this error may be available\nin the server error log.

\n'

ok, my proxyserver returns a 500 error. I have to investigate why...

from newrelic-plugin-agent.

pippoppo avatar pippoppo commented on July 27, 2024

by using a different proxy, I haven't the 500 anymore but this error maybe related to #31 ? :

Exception: KeyError('localhost',)

Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/clihelper/init.py", line 742, in run
process.run()
File "/usr/local/lib/python2.6/dist-packages/clihelper/init.py", line 384, in run
self.process()
File "/usr/local/lib/python2.6/dist-packages/newrelic_plugin_agent/agent.py", line 97, in process
self.send_data_to_newrelic()
File "/usr/local/lib/python2.6/dist-packages/newrelic_plugin_agent/agent.py", line 167, in send_data_to_newrelic
self.send_components(components, metrics)
File "/usr/local/lib/python2.6/dist-packages/newrelic_plugin_agent/agent.py", line 180, in send_components
data=json.dumps(body, ensure_ascii=False))
File "/usr/local/lib/python2.6/dist-packages/requests/api.py", line 88, in post
return request('post', url, data=data, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/requests/api.py", line 44, in request
return session.request(method=method, url=url, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/requests/sessions.py", line 335, in request
resp = self.send(prep, *_send_kwargs)
File "/usr/local/lib/python2.6/dist-packages/requests/sessions.py", line 438, in send
r = adapter.send(request, *_kwargs)
File "/usr/local/lib/python2.6/dist-packages/requests/adapters.py", line 272, in send
conn = self.get_connection(request.url, proxies)
File "/usr/local/lib/python2.6/dist-packages/requests/adapters.py", line 197, in get_connection
conn = ProxyManager(self.poolmanager.connection_from_url(proxy))
File "/usr/local/lib/python2.6/dist-packages/requests/packages/urllib3/poolmanager.py", line 123, in connection_from_url
return self.connection_from_host(u.host, port=u.port, scheme=u.scheme)
File "/usr/local/lib/python2.6/dist-packages/requests/packages/urllib3/poolmanager.py", line 109, in connection_from_host
pool = self._new_pool(scheme, host, port)
File "/usr/local/lib/python2.6/dist-packages/requests/packages/urllib3/poolmanager.py", line 72, in _new_pool
pool_cls = pool_classes_by_scheme[scheme]
KeyError: 'localhost'

from newrelic-plugin-agent.

pippoppo avatar pippoppo commented on July 27, 2024

btw these kind of errors should emerge at INFO level as well

from newrelic-plugin-agent.

gmr avatar gmr commented on July 27, 2024

Looks like there's some internal state in urllib3 that's not being setup by your config,perhaps you're missing other required values?

from newrelic-plugin-agent.

gmr avatar gmr commented on July 27, 2024

Closing due to no response.

from newrelic-plugin-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.