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

Prometheus metrics tag changed unexpectedly.

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zhengchenyu zhengchenyu

            Dates

              Created:
              Updated:

              Time Tracking

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

                Slack

                  Issue deployment