You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by zizhong <gi...@git.apache.org> on 2017/03/27 17:46:51 UTC

[GitHub] trafficserver pull request #1609: Adding a stat page for HTTP connection cou...

GitHub user zizhong opened a pull request:

    https://github.com/apache/trafficserver/pull/1609

    Adding a stat page for HTTP connection count

    Adding a stat page for HTTP connection count.
    This is useful to monitor connections between ATS and origin server. The format of the JSON output is as follows:
    ```
    {
    	connectionCountSize: 1,
    	connectionCountList: [{
    		ip: "127.127.127.127",
    		port: 8080,
    		hostname_hash: "07F5F13EFFBE8CD71C778A67A95AE5XX",
    		connection_count: 97
    	}]
    }
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zizhong/trafficserver stat_connection_count

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1609.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1609
    
----
commit c3a9990a146cc0168164a319fcf1a8687addae31
Author: Zizhong Zhang <zi...@linkedin.com>
Date:   2017-03-27T17:32:56Z

    Adding a stat page for HTTP connection count

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1609: Adding a stat page for HTTP connection count

Posted by zizhong <gi...@git.apache.org>.
Github user zizhong commented on the issue:

    https://github.com/apache/trafficserver/pull/1609
  
    @bgaff yep, it's pretty fast. Tested on a PROD box. It is around 1ms.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1609: Adding a stat page for HTTP connection count

Posted by bgaff <gi...@git.apache.org>.
Github user bgaff commented on the issue:

    https://github.com/apache/trafficserver/pull/1609
  
    The only concern I would have is holding the mutex that entire time but given this will only be a http endpoint I think it's fine. @bryancall if you don't have any issues w/ this I'll land it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---