eksoverzero / newrelic_mongodb_agent Goto Github PK
View Code? Open in Web Editor NEWMongoDB monitoring through New Relic
License: MIT License
MongoDB monitoring through New Relic
License: MIT License
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
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.
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
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:
bundle install
to install required gemsconfig/newrelic_plugin.yml.example
to config/newrelic_plugin.yml
config/newrelic_plugin.yml
and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license keyconfig/newrelic_plugin.yml
file and add MongoDB connection and database settingsIn 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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.