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/26 07:47:29 UTC

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

    [ 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