[
https://issues.apache.org/jira/browse/QPID-7799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16200093#comment-16200093
]
Alex Rudyy commented on QPID-7799:
----------------------------------
After discussion with Keith we agreed to base the solution for periodic dump of
statistics on context variables as implemented by Keith rather than on approach
suggested by me where an introduction of separate fields to keep the statistics
settings would be required. If end-user will find the implementation difficult
to use we can refactor and improve the statistics reporting in the future
versions of Qpid Broker.
Additionally we agreed to implement the following changes in order to finish
the task:
* add configured object operations to set individual context variable and
remove it ({{ConfiguredObject#putContextVariable(String name, Object
value)}},({{ConfiguredObject#removeContextVariable(String name)}} ). They can
be used to enable/disable statistics reporting.
* add documentation about statistics reporting and how to build expressions for
statistics reporting context variables.
* remove statistic reset functionality
* replace {{StatisticsCounter}} with {{AtomicLong}}
The latter will remove the current functionality for evaluation and reporting
of rate, peak value, etc. However, the end users can do it themselves by
periodically calling existing REST API, accumulating the statistics data and
performing evaluation using accumulated statistics data.
> Broker should be able to write a periodic dump of statistics
> ------------------------------------------------------------
>
> Key: QPID-7799
> URL: https://issues.apache.org/jira/browse/QPID-7799
> Project: Qpid
> Issue Type: Improvement
> Components: Java Broker
> Reporter: Keith Wall
> Assignee: Keith Wall
> Fix For: qpid-java-broker-7.0.0
>
> Attachments:
> 0001-QPID-7799-Java-Broker-Improve-statistics-reporting.patch
>
>
> To assist those running a service, the Broker should have the ability to
> write a periodic dump of ConiguredObject statistics to the log file. It
> should be possible to configure the statistics dumped at runtime and be
> configured on a per-category or per-object instance basis. Within a HA
> group, the configuration applied to objects belonging to a virtualhost must
> survive a mastership change.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]