# Stats about requests/sec and response times

**URL:** https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128
**Category:** Elasticsearch
**Created:** [December 12, 2011, 2:55pm UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128 "2011-12-12T14:55:29Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Florian\_Munz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/florian_munz/32/1506_2.png) [@Florian\_Munz](https://discuss.elastic.co/u/Florian_Munz)
#### Post date: [December 12, 2011, 2:55pm UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128/1 "2011-12-12T14:55:29Z")

</div>

Hi,

I'm looking for a way to graph requests/second and the response times  
for these requests. Is there a way to do this using the stats API  
calls or by configuring the logger?

Cheers,  
Florian

---

<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: [December 12, 2011, 5:20pm UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128/2 "2011-12-12T17:20:03Z")

</div>

Hi,

as far as I can see, there are no stats for this. Same for speed  
rates, such as documents per second (dps = indexing speed).  
Some resource usage development and some document counters could be  
derived from the existing stats and be graphed by rrd tools, though.

Server request/sec stats (or better cluster-wide stats across nodes)  
are always half the truth, as they depend on the total workload, on  
the number of connected clients, but do neglect the network latency  
with the connected client. And, you may be in desire for stats per  
client, per index, per app, whatever. There are some costs of tracing  
and collecting those granularity of stats in ES itself, this could be  
the reason why it's not there.

For my part, I measure those qps and dps stats at the search/indexing  
remote client side, including the overhead of tcp network traffic over  
port 9200 to and from the ES cluster. This is more close to the  
"effective" qps/dps perceivable by the user.

Jörg

On Dec 12, 3:55 pm, Florian Munz [m...@podio.com](mailto:m...@podio.com) wrote:

> Hi,
> 
> I'm looking for a way to graph requests/second and the response times  
> for these requests. Is there a way to do this using the stats API  
> calls or by configuring the logger?
> 
> Cheers,  
> Florian

---

<div class="post-metadata">

### Author: ![Karussell1](https://avatars.discourse-cdn.com/v4/letter/k/50afbb/32.png) [@Karussell1](https://discuss.elastic.co/u/Karussell1)
#### Post date: [December 12, 2011, 8:26pm UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128/3 "2011-12-12T20:26:15Z")

</div>

There is a feature which logs slow queries (can be configured to log  
all I think). But I also would do it myself...

Peter.

On 12 Dez., 15:55, Florian Munz [m...@podio.com](mailto:m...@podio.com) wrote:

> Hi,
> 
> I'm looking for a way to graph requests/second and the response times  
> for these requests. Is there a way to do this using the stats API  
> calls or by configuring the logger?
> 
> Cheers,  
> Florian

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [December 12, 2011, 10:45pm UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128/4 "2011-12-12T22:45:02Z")

</div>

In both node stats and index stats you have search/indexing stats (and many  
more), are they enough?

On Mon, Dec 12, 2011 at 10:26 PM, Karussell [tableyourtime@googlemail.com](mailto:tableyourtime@googlemail.com)wrote:

> There is a feature which logs slow queries (can be configured to log  
> all I think). But I also would do it myself...
> 
> Peter.
> 
> On 12 Dez., 15:55, Florian Munz [m...@podio.com](mailto:m...@podio.com) wrote:
> 
> > Hi,
> > 
> > I'm looking for a way to graph requests/second and the response times  
> > for these requests. Is there a way to do this using the stats API  
> > calls or by configuring the logger?
> > 
> > Cheers,  
> > Florian

---

<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, 3:45am UTC](https://discuss.elastic.co/t/stats-about-requests-sec-and-response-times/6128/5 "2017-07-06T03:45:37Z")

</div>


