[ 
https://issues.apache.org/jira/browse/QPID-8454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159082#comment-17159082
 ] 

Alex Rudyy commented on QPID-8454:
----------------------------------

[~rgodfrey], I like the ideas of defining metric names as 
{{qpid_<category><statistic><suffix>}} and adding annotation meta data for a 
finer tuning of the prometheus name and whether the statistic needs to be 
exposed via Prometheus endpoint. We definitely should add implement it.

> [Broker-J] Expose configured object statistics in prometheus format
> -------------------------------------------------------------------
>
>                 Key: QPID-8454
>                 URL: https://issues.apache.org/jira/browse/QPID-8454
>             Project: Qpid
>          Issue Type: New Feature
>          Components: Broker-J
>            Reporter: Alex Rudyy
>            Priority: Major
>             Fix For: qpid-java-broker-8.0.1, qpid-java-broker-7.1.9
>
>
> The configured object statistics currently can be retrieved using a call to 
> method {{getStatistics()}}, configured object REST API endpoint 
> {{/api/latest/<category>/<path>}} or query API ( 
> {{/api/latest/querybroker/<category>}} or  {{/api/latest/queryvhost/<virtual 
> host node name>/<virtual host name>/<category>}} ). The statistics is 
> returned back to the caller in json format. That works for majority of uses 
> cases. However, when it is required to integrate Qpid Broker-J with 
> Prometheus, the Qpid users are required to implement an intermediate layer 
> where Qpid metrics needs to be converted into a Prometheus format 
> [https://prometheus.io/docs/concepts/data_model/].
> In order to easy the burden of integration Qpid Broker-J with Prometheus, the 
> support for reporting statistics metrics in Prometheus format can be added 
> into Qpid Broker-J. 
> Potentially, we can add an endpoint exposing all Qpid statistics as 
> Prometheus metrics [https://prometheus.io/docs/concepts/metric_types/]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to