# Misleading response latency in Stats API?

**URL:** https://discuss.elastic.co/t/misleading-response-latency-in-stats-api/17242
**Category:** Elasticsearch
**Created:** [April 28, 2014, 7:05pm UTC](https://discuss.elastic.co/t/misleading-response-latency-in-stats-api/17242 "2014-04-28T19:05:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)
#### Post date: [April 28, 2014, 7:05pm UTC](https://discuss.elastic.co/t/misleading-response-latency-in-stats-api/17242/1 "2014-04-28T19:05:19Z")

</div>

Hi,

Does ES expose the "total latency" stats - meaning, the latencies that the  
user sees as "took" in responses? The only latency stats I see ES exposing  
in the stats API are the latencies from requests between individual nodes,  
which can often be much shorter than the total latency and thus misleading.  
For example, we had a customer recently whose index was simply poorly  
balanced and one of the nodes was a bottleneck. The ES stats all looked  
fine, but the "took" in the response was not fine - it was much bigger,  
because the response speed was controlled by the slow node, not by the  
average speed of responses between individual nodes, which ES Stats API  
reports, I believe.

Does ES expose the "real"/total latency?

## Thanks, Otis

Performance Monitoring \* Log Analytics \* Search Analytics  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

--  
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/49d743cb-4258-48ef-aeb5-5773ccb0ba3d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/49d743cb-4258-48ef-aeb5-5773ccb0ba3d%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:33am UTC](https://discuss.elastic.co/t/misleading-response-latency-in-stats-api/17242/2 "2017-07-06T01:33:01Z")

</div>


