Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20904

Prometheus metrics http endpoint for monitoring integration

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0, 3.0.0-alpha-4
    • metrics, monitoring
    • None
    • Reviewed
    • Hide
      HBase metrics can be published in JSON and now Prometheus friendly formats via servlets. Any of these servlets can be enabled or disabled by the configuration property 'hbase.http.metrics.servlets' in the 'hbase-default.xml' file.

      The value for the property should be a comma separated list of the servlet aliases which are '{jmx, metrics, prometheus}'.
      The '/jmx', '/metrics', '/prometheus' servlets are enabled by default.

      To get metrics using these servlets access the URL 'http://SERVER_HOSTNAME:SERVER_WEB_UI_PORT/endpoint'. Where endpoint is one of {'/jmx', '/metrics', '/prometheus'}.
      Show
      HBase metrics can be published in JSON and now Prometheus friendly formats via servlets. Any of these servlets can be enabled or disabled by the configuration property 'hbase.http.metrics.servlets' in the 'hbase-default.xml' file. The value for the property should be a comma separated list of the servlet aliases which are '{jmx, metrics, prometheus}'. The '/jmx', '/metrics', '/prometheus' servlets are enabled by default. To get metrics using these servlets access the URL ' http://SERVER_HOSTNAME:SERVER_WEB_UI_PORT/endpoint' . Where endpoint is one of {'/jmx', '/metrics', '/prometheus'}.

    Description

      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

       

      Attachments

        Issue Links

          Activity

            People

              lkovacs Luca Kovacs
              harisekhon Hari Sekhon
              Votes:
              1 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: