[ https://issues.apache.org/jira/browse/HBASE-20904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17158524#comment-17158524 ]
Nick Dimiduk commented on HBASE-20904: -------------------------------------- Apologies for arriving late to the discussion, it appears a fair bit of development has already happened. However, I'm concerned -- why would we build this ourselves when there exists [a tool provided by the prometheus project|https://github.com/prometheus/jmx_exporter] for exporting JMX beans? I have not tried it, but I have had very good success using [a tool for exporting JMX beans over http/json|https://jolokia.org] that appears to function identically. Why not avoid writing all the code and instead document use of the existing agent? > Prometheus /metrics http endpoint for monitoring integration > ------------------------------------------------------------ > > Key: HBASE-20904 > URL: https://issues.apache.org/jira/browse/HBASE-20904 > Project: HBase > Issue Type: New Feature > Components: metrics, monitoring > Reporter: Hari Sekhon > Assignee: Madhusoodan > Priority: Major > > Feature Request to add Prometheus /metrics http endpoint for monitoring > integration: > [https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cscrape_config%3E] > Prometheus metrics format for that endpoint: > [https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md] > -- This message was sent by Atlassian Jira (v8.3.4#803005)