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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 0.98.22, 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Replication
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: