You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2011/08/23 14:23:29 UTC

[jira] [Created] (APLO-77) Provide connection aggregation in the REST API

Provide connection aggregation in the REST API
----------------------------------------------

                 Key: APLO-77
                 URL: https://issues.apache.org/jira/browse/APLO-77
             Project: ActiveMQ Apollo
          Issue Type: Improvement
            Reporter: Lionel Cons


In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.

This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.

The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (APLO-77) Provide connection aggregation in the REST API

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-77:
------------------------------

    Component/s: apollo-web
                 apollo-dto
                 apollo-broker

You can access it now under /broker/connection-metrics


> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>          Components: apollo-broker, apollo-dto, apollo-web
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta5
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (APLO-77) Provide connection aggregation in the REST API

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-77:
------------------------------

    Fix Version/s: 1.1

> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>             Fix For: 1.1
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (APLO-77) Provide connection aggregation in the REST API

Posted by "Lionel Cons (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091605#comment-13091605 ] 

Lionel Cons commented on APLO-77:
---------------------------------

Unfortunately, this does not seem to work. I get (with the 187 snapshot):

/broker/connections
{
  'headers' => [
    '*'
  ],
  'page' => 0,
  'page_size' => 100,
  'rows' => [
    {
      'id' => '7',
      'last_read_size' => 0,
      'last_write_size' => 51,
      'local_address' => '/192.168.13.22:6163',
      'protocol' => 'stomp',
      'protocol_version' => '1.1',
      'read_counter' => 181,
      'remote_address' => '/192.168.13.43:60542',
      'state' => 'STARTED',
      'state_since' => '1314337004933',
      'subscription_count' => 1,
      'transport' => 'tcp',
      'user' => 'system',
      'waiting_on' => 'client request',
      'write_counter' => 164
    }
  ],
  'total_pages' => 1,
  'total_rows' => 1
};

but

/broker/connection-metrics
{
  'current_time' => '1314337608699',
  'objects' => 1,
  'read_counter' => 181,
  'subscription_count' => 181,
  'write_counter' => 181
};


> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>          Components: apollo-broker, apollo-dto, apollo-web
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta5
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (APLO-77) Provide connection aggregation in the REST API

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated APLO-77:
------------------------------

    Fix Version/s:     (was: 1.1)
                   1.0-beta5

> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>             Fix For: 1.0-beta5
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (APLO-77) Provide connection aggregation in the REST API

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved APLO-77.
-------------------------------

    Resolution: Fixed
      Assignee: Hiram Chirino

> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>          Components: apollo-broker, apollo-dto, apollo-web
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta5
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (APLO-77) Provide connection aggregation in the REST API

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/APLO-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091821#comment-13091821 ] 

Hiram Chirino commented on APLO-77:
-----------------------------------

Ah good catch.  Latest snapshot should now have that fixed.

> Provide connection aggregation in the REST API
> ----------------------------------------------
>
>                 Key: APLO-77
>                 URL: https://issues.apache.org/jira/browse/APLO-77
>             Project: ActiveMQ Apollo
>          Issue Type: Improvement
>          Components: apollo-broker, apollo-dto, apollo-web
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>             Fix For: 1.0-beta5
>
>
> In the same spirit as the existing queue aggregation (/broker/queue-metrics), it would be useful to have connection aggregation.
> This could be used to get the total number of subscriptions in one go instead of adding the subscription_count of all connections.
> The total read_counter and write_counter could also give overall I/O usage information.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira