Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9699

Metrics: Add a global setting to enable/disable Metrics view

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 4.7.0, 4.8.0, 4.9.0
    • 4.10.1.0
    • UI
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      The Metrics view for each type of entity basically fires APIs and calculates required values on the client end. For e.g. to display memory usage etc at the zone level, it will fetch all zones. For each zone it will fetch pods->cluster->host->VMs

      For a very large Cloudstack installation this will have a major impact on the performance.
      Ideally, there should be an API which calculates all this in the backend and the UI should simply show the values. However, for the time, introduce a global setting called enable.metrics which will be set to false. This will cause the metrics button not to be shown on any of the pages.

      If the Admin changes this to true, then the button will be visible and Metrics functionality will work as usual.

      Attachments

        1. metrics-enabled.PNG
          138 kB
          Rashmi Dixit
        2. metrics-disabled.PNG
          49 kB
          Rashmi Dixit
        3. enable-metrics-flag.PNG
          27 kB
          Rashmi Dixit

        Issue Links

          Activity

            People

              rashmi.dixit Rashmi Dixit
              rashmi.dixit Rashmi Dixit
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: