Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18263

Prometheus metrics tag changed unexpectedly.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.1, 3.3.3
    • None
    • metrics

    Description

      Prom web print metrics like below

      fs_namesystem_blocks_total{context="dfs",enabledecpolicies="RS-6-3-1024k",hastate="active",totalsynctimes="10 43 ",hostname="xxx"} 3674006 

      getTotalSyncTimes return String, so totalsynctimes will change to tag.

      It is difficult to show in grafana. We may get wrong panel, though only one metric is set.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              zhengchenyu Chenyu Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 336h
                  336h
                  Remaining:
                  Remaining Estimate - 334h
                  334h
                  Logged:
                  Remaining Estimate - 334h
                  2h