# Metrics Elasticsearch Reporter stability

**URL:** <https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513>\
**Category:** Elastic Community and Ecosystem\
**Created:** [September 26, 2016, 1:53pm UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513 "2016-09-26T13:53:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gquintana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gquintana/32/48441_2.png) [@gquintana](https://discuss.elastic.co/u/gquintana)\
**Post date:** [September 26, 2016, 1:53pm UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/1 "2016-09-26T13:53:42Z")

</div>

Is the Dropwizard [Metrics Elasticsearch Reporter](https://github.com/elastic/elasticsearch-metrics-reporter-java) stable and performing enough to be used in production?

Can I use it safely?

I sometimes get exceptions in Elasticsearch:

```auto
java.io.IOException: Connexion ré-initialisée
par le correspondant
        at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
        at sun.nio.ch.IOUtil.read(IOUtil.java:192)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
        at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
        at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
        at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
        at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
        at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
        at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

```

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 27, 2016, 7:22am UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/2 "2016-09-27T07:22:51Z")

</div>

Hey,

so this looks as if the Elasticsearch host could not be connected to (from my non-existent french translation skills). If this only happens every now and then: Is the connection to the Elasticsearch cluster stable?

--Alex

---

<div class="post-metadata">

**Author:** ![gquintana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gquintana/32/48441_2.png) [@gquintana](https://discuss.elastic.co/u/gquintana)\
**Post date:** [September 27, 2016, 8:54am UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/3 "2016-09-27T08:54:13Z")

</div>

Yes it happens from time to time.  
I can not reproduce it (killing Elasticsearch, killing the app...)  
There is no error in logs on Metrics reporter side.

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [September 27, 2016, 12:06pm UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/4 "2016-09-27T12:06:33Z")

</div>

`Connection reset by peer` means that the cluster closed the connection before the client could read data it expects. Maybe because connection was idling or timed out. The connection can also be closed by firewalls or gateways, which must be observed closely because it is not Elasticsearch' fault. This should not happen.

---

<div class="post-metadata">

**Author:** ![gquintana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gquintana/32/48441_2.png) [@gquintana](https://discuss.elastic.co/u/gquintana)\
**Post date:** [September 27, 2016, 12:47pm UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/5 "2016-09-27T12:47:41Z")

</div>

Thanks

---

<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:43pm UTC](https://discuss.elastic.co/t/metrics-elasticsearch-reporter-stability/61513/6 "2017-07-06T13:43:36Z")

</div>


