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

Custom metrics of replicate endpoints don't prepend "source." to global metrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0, 0.98.22, 2.0.0
    • 2.0.0
    • Replication
    • Reviewed
    • Global custom metrics names follow the "source.metricsName" format.

    Description

      Custom metrics for custom replication endpoints is introduced by HBASE-16448.
      The name of local custom metrics follows the "source.id.metricsName" format, but the name of global custom metrics doesn't follow the "source.metricsName" format.
      Ex:

      // default metrics
      "source.2.shippedOps" : 1234, // peer local
      "source.shippedOps" : 12345, // global
      // custom metrics
      "source.1.failed.start" : 1, // peer local
      "failed.start" : 1, // global
      

      When we consider that default metrics do so, it should be "source.metricsName" like:

      "source.1.failed.start" : 1,
      "source.failed.start" : 1,
      

      Attachments

        1. HBASE-17957.master.001.patch
          5 kB
          Shinya Yoshida
        2. HBASE-17957.master.002.patch
          5 kB
          Shinya Yoshida

        Activity

          People

            lineyshinya Shinya Yoshida
            lineyshinya Shinya Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: