rackspace-cookbooks / elkstack

Elasticsearch, logstash, and kibana stack
Other
81 stars 54 forks source link

Newrelic for elkstack #22

Open martinb3 opened 10 years ago

martinb3 commented 10 years ago

For both JVMs and the Elasticsearch plugin

fernandohonig commented 10 years ago

See https://github.com/AutomationSupport/elkstack/pull/24

martinb3 commented 10 years ago

Fixed in #24.

martinb3 commented 10 years ago

@fernandohonig Does this also add the NewRelic agent to the JVMs?

fernandohonig commented 10 years ago

I couldn't find a JVMs newrelic monitor. Do you have an example so I can integrate?

martinb3 commented 10 years ago

Hi @fernandohonig,

There's a recipe for it in the community cookbook: https://github.com/escapestudios-cookbooks/newrelic/blob/master/recipes/java_agent.rb

I think once it's installed, it's just a matter of injecting -javaagent:/path/to/agent.jar on the startup command for any Java applications. The installer may even do that for you.