# Apache/nginx template, request for second?

**URL:** <https://forums.percona.com/t/apache-nginx-template-request-for-second/4639>\
**Category:** Percona Monitoring Plugins\
**Created:** [December 31, 2015, 12:35pm UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639 "2015-12-31T12:35:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvaro.chandia](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@alvaro.chandia](https://forums.percona.com/u/alvaro.chandia)\
**Post date:** [December 31, 2015, 12:35pm UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639/1 "2015-12-31T12:35:28Z")

</div>

Hello, first of all, thank you very much for the plugins, they are very useful 😃

I have a question about monitoring templates for nginx and apache, does the data shown in the graphs on request correspond to requests for seconds?

---

<div class="post-metadata">

**Author:** ![weber](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@weber](https://forums.percona.com/u/weber)\
**Post date:** [January 4, 2016, 3:00am UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639/2 "2016-01-04T03:00:41Z")

</div>

Yes, these are Apache/Nginx Requests graphs.

---

<div class="post-metadata">

**Author:** ![alvaro.chandia](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@alvaro.chandia](https://forums.percona.com/u/alvaro.chandia)\
**Post date:** [January 4, 2016, 9:37am UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639/3 "2016-01-04T09:37:22Z")

</div>

> [@weber;43530](#):
>
> Yes, these are Apache/Nginx Requests graphs.

Hi weber, thanks for the reply.

Sorry if the question has not been clear, the English is not my native language 🙂

Is the information displayed in the graph request per second?

The documentation mentions only the amount of request but does not make clear which is the measure of time, are request every 5 minutes, seconds, etc.

---

<div class="post-metadata">

**Author:** ![weber](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@weber](https://forums.percona.com/u/weber)\
**Post date:** [January 4, 2016, 12:55pm UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639/4 "2016-01-04T12:55:10Z")

</div>

Just checked both Apache and Nginx requests are COUNTER type fields. This means that the rate of req/sec is shown on the graph.  
Yeah, it’s not clear in the documentation but for most of the graphs those rules apply:

- for GAUGE metrics - the current state displayed
- for COUNTER/DERIVE metrics - the rate of change

Even Cacti poller interval is 5 min. this is automatically calculated as (LAST - PREV) / 300 to display per second rate.

---

<div class="post-metadata">

**Author:** ![alvaro.chandia](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@alvaro.chandia](https://forums.percona.com/u/alvaro.chandia)\
**Post date:** [January 5, 2016, 7:07am UTC](https://forums.percona.com/t/apache-nginx-template-request-for-second/4639/5 "2016-01-05T07:07:32Z")

</div>

> [@weber;43534](#):
>
> Just checked both Apache and Nginx requests are COUNTER type fields. This means that the rate of req/sec is shown on the graph.  
> Yeah, it’s not clear in the documentation but for most of the graphs those rules apply:
> 
> - for GAUGE metrics - the current state displayed
> - for COUNTER/DERIVE metrics - the rate of change
> 
> Even Cacti poller interval is 5 min. this is automatically calculated as (LAST - PREV) / 300 to display per second rate.

Hi weber, thank you very much for the full reply 🙂
