cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raj...@apache.org
Subject [4/5] git commit: updated refs/heads/master to 5c0979f
Date Thu, 06 Apr 2017 06:35:39 GMT
Merge pull request #1944 from shapeblue/4.9-metrics-enhancement

CLOUDSTACK-9783: Improve metrics view performanceThis improves the metrics view feature by
improving the rendering performance
of metrics view tables, by re-implementing the logic at the backend and data
served via APIs. In large environments, the older implementation would
make several API calls that increases both network and database load.

List of APIs introduced for improving the performance that re-implement the frontend logic
at backend:

    listClustersMetrics
    listHostsMetrics
    listInfrastructure
    listStoragePoolsMetrics
    listVMsMetrics
    listVolumesMetrics
    listZonesMetrics

Pinging for review - @abhinandanprateek @DaanHoogland @borisstoyanov @karuturi @rashmidixit

Marvin test results:

=== TestName: test_list_clusters_metrics | Status : SUCCESS ===

=== TestName: test_list_hosts_metrics | Status : SUCCESS ===

=== TestName: test_list_infrastructure_metrics | Status : SUCCESS ===

=== TestName: test_list_pstorage_metrics | Status : SUCCESS ===

=== TestName: test_list_vms_metrics | Status : SUCCESS ===

=== TestName: test_list_volumes_metrics | Status : SUCCESS ===

=== TestName: test_list_zones_metrics | Status : SUCCESS ===

* pr/1944:
  CLOUDSTACK-9783: Improve metrics view performance

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/65488394
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/65488394
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/65488394

Branch: refs/heads/master
Commit: 6548839417013f58d9ed05a6550c74a057039134
Parents: 9bf4281 4022535
Author: Rajani Karuturi <rajani.karuturi@accelerite.com>
Authored: Thu Apr 6 12:04:29 2017 +0530
Committer: Rajani Karuturi <rajani.karuturi@accelerite.com>
Committed: Thu Apr 6 12:04:29 2017 +0530

----------------------------------------------------------------------
 .travis.yml                                     |   1 +
 .../command/admin/cluster/ListClustersCmd.java  |  12 +-
 .../api/command/admin/host/ListHostsCmd.java    |  20 +-
 .../cloudstack/api/response/HostResponse.java   | 159 +++++
 .../cloudstack/api/response/NicResponse.java    |  84 ++-
 .../api/response/StoragePoolResponse.java       |   8 +
 .../cloudstack/api/response/UserVmResponse.java |  24 +
 .../cloudstack/api/response/VolumeResponse.java | 149 ++++-
 .../cloudstack/api/response/ZoneResponse.java   |  88 +++
 client/pom.xml                                  |   5 +
 .../schema/src/com/cloud/dc/dao/ClusterDao.java |   8 +-
 .../src/com/cloud/dc/dao/ClusterDaoImpl.java    |  28 +-
 .../schema/src/com/cloud/dc/dao/HostPodDao.java |   2 +-
 .../src/com/cloud/dc/dao/HostPodDaoImpl.java    |   6 +-
 plugins/metrics/pom.xml                         |  55 ++
 .../cloudstack/metrics/module.properties        |  18 +
 .../metrics/spring-metrics-context.xml          |  27 +
 .../cloudstack/api/ListClustersMetricsCmd.java  |  51 ++
 .../cloudstack/api/ListHostsMetricsCmd.java     |  54 ++
 .../cloudstack/api/ListInfrastructureCmd.java   |  52 ++
 .../api/ListStoragePoolsMetricsCmd.java         |  52 ++
 .../cloudstack/api/ListVMsMetricsCmd.java       |  51 ++
 .../cloudstack/api/ListVolumesMetricsCmd.java   |  51 ++
 .../cloudstack/api/ListZonesMetricsCmd.java     |  52 ++
 .../cloudstack/metrics/MetricsService.java      |  46 ++
 .../cloudstack/metrics/MetricsServiceImpl.java  | 563 +++++++++++++++++
 .../response/ClusterMetricsResponse.java        | 211 +++++++
 .../response/HostMetricsResponse.java           | 204 ++++++
 .../response/InfrastructureResponse.java        | 101 +++
 .../response/StoragePoolMetricsResponse.java    | 105 ++++
 .../cloudstack/response/VmMetricsResponse.java  | 108 ++++
 .../response/VolumeMetricsResponse.java         |  41 ++
 .../response/ZoneMetricsResponse.java           | 206 ++++++
 plugins/pom.xml                                 |   1 +
 .../com/cloud/api/query/dao/HostJoinDao.java    |   2 +
 .../cloud/api/query/dao/HostJoinDaoImpl.java    |  15 +
 .../deploy/DeploymentPlanningManagerImpl.java   |   2 +-
 test/integration/smoke/test_metrics_api.py      | 210 +++++++
 tools/apidoc/gen_toc.py                         |   4 +-
 ui/scripts/metrics.js                           | 626 +++----------------
 ui/scripts/system.js                            | 331 +---------
 ui/scripts/ui/widgets/listView.js               |   9 +-
 42 files changed, 2922 insertions(+), 920 deletions(-)
----------------------------------------------------------------------



Mime
View raw message