You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/28 14:10:00 UTC

[jira] [Commented] (QPID-8454) [Broker-J] Expose configured object statistics in prometheus format

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

ASF GitHub Bot commented on QPID-8454:
--------------------------------------

Dedeepya-T opened a new pull request #56:
URL: https://github.com/apache/qpid-broker-j/pull/56


   The Pull Request adds the Qpid Broker integration with Prometheus
   * a new broker plugin modules qpid-prometheus-exporter is added to collect Qpid broker statistics as Prometheus metrics
   * QpidCollector implements the Prometheus Client Collector interface
   * a new Plugin interface ContentFactory is added into the broker-core
   * an implementation of ContentFactory is for Prometheus metrics
   * a new servlet is added to serve content generated with ContentFactory
   * Prometheus servlets are mapped under /metrics and /metrics/*
   * /metrics serves broker metrics
   * /metrics/<virtual host node name>/<virtual host name> serves Virtual host metrics
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> [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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org