Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add two new metrics to nginx check #665

Merged
merged 2 commits into from
Oct 4, 2013

Conversation

dcrosta
Copy link
Contributor

@dcrosta dcrosta commented Sep 12, 2013

  • nginx.net.conn_opened_per_s, number of new HTTP connections created per second
  • nginx.net.current, total number of current HTTP connections, regardless of their state (sum of reading, writing, waiting)

The first one is of interest to us -- we run a service that relies on re-use of HTTP keep-alive sessions, and the cost of establishing new connections is high. The second seems like an obvious convenience, though it could be recreated in charts in DD web.

* nginx.net.conn_opened_per_s, number of new HTTP connections created
  per second
* nginx.net.current, total number of current HTTP connections,
  regardless of their state (sum of reading, writing, waiting)
@JoeDeVries
Copy link

+1

@remh
Copy link
Contributor

remh commented Oct 4, 2013

Thanks Dan
I think the metric nginx.net.current you added is the same as nginx.net.connections that already exists. Do you agree ?

Can you remove that metric and then i'll merge the PR for the other metric ?

Thanks!

@dcrosta
Copy link
Contributor Author

dcrosta commented Oct 4, 2013

Good catch @remh. Fixed.

remh added a commit that referenced this pull request Oct 4, 2013
@remh remh merged commit caae80b into DataDog:master Oct 4, 2013
@remh
Copy link
Contributor

remh commented Oct 4, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants