Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15749

Add AMS post processing function to show the metrics 'diff' over time.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.2
    • 2.4.0
    • None
    • None

    Description

      The use case is that, e.g. user wants to know how frequently the containers are allocated over time. Currently, the num of allocated containers is an aggregated value, so it's always a monotonically increasing line chart.
      To show how frequently the containers are allocated, currently we do have a 'rate' option on the UI. But the way that is calculated is ( NumContainers@T2 - NumContainers@T1) / (T2 - T1)(in seconds). This results in decimal values on the UI.
      Here, the use case is to just show the num 'diff' here, instead of dividing it by time interval.

      With this change, I can change the Grafana UI to use bar chart.
      Each bar represents the number of containers allocated between the the time interval (time interval here is the width of the bar)

      Attachments

        Activity

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

          People

            avijayan Aravindan Vijayan
            avijayan Aravindan Vijayan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment