Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running newrelic_resque_agent on Heroku #46

Open
jeromeboe opened this issue Aug 28, 2014 · 2 comments
Open

Running newrelic_resque_agent on Heroku #46

jeromeboe opened this issue Aug 28, 2014 · 2 comments

Comments

@jeromeboe
Copy link

I followed the intructions in the README, but it doesn't seem to work.

  1. I add the gem
  2. I created the config/newrelic_plugin.yml file as follow :
newrelic:
  license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>
  verbose: 0

agents:
  my_resque_agent_name:
    redis: <%= ENV["REDISCLOUD_URL"] %>
    namespace:
  1. I added resque_monitoring: newrelic_resque_agent run -c config/newrelic_plugin.yml to my Procfile
  2. I scaled my dynos

My ENV['REDISCLOUD_URL'] looks like redis://rediscloud:[email protected]:16503, I'm using the rediscloud heroku adds-on and the database is not specified.

I've been waiting for a wile, but I don't find any resque monitoring on my newrelic interface (nothing in the plugin section).

@andriytyurnikov
Copy link

@jeromeboe, this config lines do not work:

license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>
redis: <%= ENV["REDISCLOUD_URL"] %>

problem is that ERB in YAML do not work for currently used newrelic_plugin gem.

You are welcome to support backport pull request, which will help.
newrelic/newrelic_plugin#41

@maxtor, consider updating dependencies to the last version of newrelic_plugin gem.
Be aware - no backward compatibility there.

Also you may use our monkeypatched fork at https://github.com/curriculet/newrelic_platform_plugins/tree/monkeypatch_erb_yaml

But please make your own fork of that -- when pull requests will be accepted we'll kill our monkeypatched fork.

@greggroth
Copy link

greggroth commented Sep 20, 2016

I see that newrelic/newrelic_plugin#41 was closed -- is it safe to assume ERB will work in the config file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants