Giter VIP home page Giter VIP logo

newrelic_mongodb_agent's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

graywen24

newrelic_mongodb_agent's Issues

Can't make it appear in NEwRelic

Hi,
I install the plugin
start i t: bundle exec foreman start
15:40:27 mongodb.1 | started with pid 20521
15:40:27 mongodb.1 | Faraday: you may want to install system_timer for reliable timeouts

but can see data in Newrelic.
I have set the proxy settings in the config file but nothing ... :-(

IS there a wait to set a log file destination, trace what is doing by the plugin ?

Regards,

Eric

profile metrics

I want to add a new chart to present the top 10 slowest queries on new relic. I can get the data from collection "db.system.profile",however, how can I set up the metrics? I'm not pretty sure if newrelic can show this bar graph.

Not able to startup teh newrelic agent for MongoDB

I am having trouble starting up the newrelic agent for mongodb and getting the error mentioned below while starting it up.
After completing all the configurations for Newrelic with Mongo we are not abel to start the newrelic agent. it gives the error
[root@sd1pxx14lx init.d]# ./newrelic-plugin-agent start
usage: newrelic-plugin-agent [-h] [-c CONFIG] [-f] [-C]
newrelic-plugin-agent: error: unrecognized arguments: start

Plugin name : newrelic_plugin_agent-1.3.0.tar.gz

Quick response will be appreciated.

Regards,
Sameer varpe

chef cookbook for newrelic_mongodb_agent

Hi,
I am interested in developing a cookbook for newrelic_mongodb_agent , if there is one already, please let me know.
From what i read so far, is that i need to develop a cookbook, to incorporate the following:

  1. run bundle install to install required gems
  2. Copy config/newrelic_plugin.yml.example to config/newrelic_plugin.yml
  3. Edit config/newrelic_plugin.yml and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
  4. Edit the config/newrelic_plugin.yml file and add MongoDB connection and database settings
  5. Running the plugin

In order to check your configuration, you can launch the plugin
in foreground mode, with all output going to stdout:

./newrelic_mongodb_agent

Carefully check plugin's output for any possible error messages.
In case of success, collected data should appear in the New Relic
user interface shortly after starting.

Plugin can also be started as a daemon using the following command:

./newrelic_mongodb_agent.daemon start

while putting the files in the hierarchies that the cookbook will parse

No locking information displayed on MongoDB 3.0.3

Can't get locks, global locks information to be displayed on latest plugin Version 2.4.6 . Can receive other stats.

Get this in log:
undefined method []' for nil:NilClass: ./newrelic_mongodb_agent:128:in block in report_lock_counter_metric'\n ./newrelic_mongodb_agent:128:in each'\n ./newrelic_mongodb_agent:128:in inject'\n ./newrelic_mongodb_agent:128:in report_lock_counter_metric'\n ./newrelic_mongodb_agent:71:in poll_cycle'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/agent.rb:139:in run'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:143:in block in run_agent_data_collection'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in each'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in run_agent_data_collection'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:127:in loop_forever'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:in setup_and_run'\n ./newrelic_mongodb_agent:155:in module:Mongodb'\n ./newrelic_mongodb_agent:10:in

'
undefined method []' for nil:NilClass: ./newrelic_mongodb_agent:128:in block in report_lock_counter_metric'\n ./newrelic_mongodb_agent:128:in each'\n ./newrelic_mongodb_agent:128:in inject'\n ./newrelic_mongodb_agent:128:in report_lock_counter_metric'\n ./newrelic_mongodb_agent:71:in poll_cycle'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/agent.rb:139:in run'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:143:in block in run_agent_data_collection'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in each'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:141:in run_agent_data_collection'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:127:in loop_forever'\n /usr/local/share/gems/gems/newrelic_plugin-1.3.1/lib/newrelic_plugin/run.rb:15:in setup_and_run'\n ./newrelic_mongodb_agent:155:in module:Mongodb'\n ./newrelic_mongodb_agent:10:in '

Locks

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.