# NewRelic and Elasticsearch

**URL:** <https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735>\
**Category:** Elasticsearch\
**Created:** [February 13, 2013, 11:57pm UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735 "2013-02-13T23:57:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Miranda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruno_miranda/32/746_2.png) [@Bruno\_Miranda](https://discuss.elastic.co/u/Bruno_Miranda)\
**Post date:** [February 13, 2013, 11:57pm UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735/1 "2013-02-13T23:57:44Z")

</div>

Does anybody know if it is possible to have Newrelic monitor Elasticsearch?  
They provide a java client but I am not too sure how it would work?

Has anybody done this before?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Shairon\_Toledo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shairon_toledo/32/2490_2.png) [@Shairon\_Toledo](https://discuss.elastic.co/u/Shairon_Toledo)\
**Post date:** [February 14, 2013, 12:59am UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735/2 "2013-02-14T00:59:13Z")

</div>

I did that, however the newrelic agent only works by default with servlet  
interface. Since elasticsearch uses netty it does not work automatically.  
You will need patch elasticsearch with newrelic annotation in some methods  
to get it working. The best option is [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html) or  
paramedic for on-the-fly monitoring.

On Wed, Feb 13, 2013 at 9:57 PM, Bruno Miranda [bru.miranda@gmail.com](mailto:bru.miranda@gmail.com)wrote:

> Does anybody know if it is possible to have Newrelic monitor  
> Elasticsearch? They provide a java client but I am not too sure how it  
> would work?
> 
> Has anybody done this before?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--

Shairon Toledo  
[http://hashcode.me](http://hashcode.me)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Jeremy\_Lecour](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeremy_lecour/32/1416_2.png) [@Jeremy\_Lecour](https://discuss.elastic.co/u/Jeremy_Lecour)\
**Post date:** [July 11, 2014, 6:21am UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735/3 "2014-07-11T06:21:04Z")

</div>

Le jeudi 14 février 2013 01:59:13 UTC+1, Shairon Toledo a écrit :

> I did that, however the newrelic agent only works by default with servlet  
> interface. Since elasticsearch uses netty it does not work automatically.  
> You will need patch elasticsearch with newrelic annotation in some methods  
> to get it working. The best option is [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
> or paramedic for on-the-fly monitoring.

According to the documentation, NewRelic supports Netty  
: [https://docs.newrelic.com/docs/java/new-relic-for-java](https://docs.newrelic.com/docs/java/new-relic-for-java)

I've installed the latest agent and restarted Elasticsearch. I get a few  
JVM metrics, but nothing aout response time, throughput, …

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4be325ec-e61d-48c8-ada0-146d37ad2f41%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4be325ec-e61d-48c8-ada0-146d37ad2f41%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Petar\_Djekic](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Petar\_Djekic](https://discuss.elastic.co/u/Petar_Djekic)\
**Post date:** [July 24, 2014, 4:58pm UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735/4 "2014-07-24T16:58:08Z")

</div>

@Jeremy: I've placed the newrelic installer in /usr/share/elasticsearch and  
ran the installer but it would not work. How did you get it working?

On Friday, July 11, 2014 8:21:04 AM UTC+2, Jérémy Lecour wrote:

> Le jeudi 14 février 2013 01:59:13 UTC+1, Shairon Toledo a écrit :
> 
> > I did that, however the newrelic agent only works by default with servlet  
> > interface. Since elasticsearch uses netty it does not work automatically.  
> > You will need patch elasticsearch with newrelic annotation in some methods  
> > to get it working. The best option is [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)  
> > or paramedic for on-the-fly monitoring.
> 
> According to the documentation, NewRelic supports Netty :  
> [https://docs.newrelic.com/docs/java/new-relic-for-java](https://docs.newrelic.com/docs/java/new-relic-for-java)
> 
> I've installed the latest agent and restarted Elasticsearch. I get a few  
> JVM metrics, but nothing aout response time, throughput, …

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/446ec455-746c-4233-b043-eb271e259c9c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/446ec455-746c-4233-b043-eb271e259c9c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:13am UTC](https://discuss.elastic.co/t/newrelic-and-elasticsearch/10735/5 "2017-07-06T01:13:24Z")

</div>


